AIToday
Large Language ModelsAI Coding AssistantsOpen-Source AIZenn AI/MLPublished: Nov 21, 2026, 04:00 JST

ashiato stores raw JSONL, lets LLMs search past sessions

Send on LINE
ashiato stores raw JSONL, lets LLMs search past sessions

3 Key Points

  1. What happened

    The author built ashiato, a tool that parses Claude Code, Codex, OpenCode and Cursor session logs line by line into DuckDB, keeping each physical JSONL line as a seq and splitting tool calls into their own rows, under the stated policy "No LLM, anywhere."

  2. Why it matters

    Because ashiato stores the raw record deterministically instead of a session-end summary, abandoned designs, failed attempts and off-topic finds survive; a later LLM can search and reconstruct the context around them when a new problem calls for it.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The design grew out of a narrower idea: making Claude Code logs queryable with SQL. Once the author was also handling Codex, OpenCode and Cursor, the problem looked more general — LLM sessions are not persistent memory, but the work history inside them does not have to be thrown away. The trigger was practical: sessions often end via rate limits, bloated context, stopped workers or a switch to another AI, so a summarize-at-the-end step may never run, and what matters months later cannot be known at save time.

The architecture follows from that. ashiato keeps raw records cheap and precise, normalizes them into the smallest event unit that meaning can still be traced from, and leaves interpretation to whichever LLM is asking the question later. The author separates this from kaiba, which holds vetted conclusions and next actions, and from Skills, which hold standardized behavior, with ashiato allowed to be far larger because it keeps failures, drafts and rejected options.

The stated principle is that storage should be broad and accurate, retrieval narrow, and interpretation left to the LLM of the moment. That is why ashiato ships features like orphans, which mechanically surfaces sessions that left no trace in other stores, and why even salvage only reports suspected missing bookkeeping rather than repairing it automatically.

FAQ
Does ashiato summarize sessions with an LLM before saving them?
No. Its README states the policy "No LLM, anywhere." Parsing and storage are deterministic: the same file read produces the same rows in DuckDB, and network access is avoided by default.
How fine-grained is the stored data?
Each physical JSONL line becomes an event with a seq number, and tool calls inside one line are normalized into separate rows. In OpenCode, near-token-level text deltas are merged back into a single text chunk.
Does ashiato write into shared team memory?
No. ashiato surfaces candidates, such as repeated re-derivations across sessions via nominate and missing bookkeeping after a crash via salvage, and a human or orchestrator decides whether anything is recorded in kaiba.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleUS tech giants shift AI race to agentic action, led by Amazon and Google