Trellis

Learn from Agent Sessions

Don’t solve the same bug twice.

Your agent conversations hold decisions nobody wrote down. Import the sessions you choose, pull out findings with a link back to the exchange, and search them the next time the question comes up.

Import the coding-agent session files or databases you select, from thirteen tools (Aider, Claude Code, Cline, Codex, Copilot sessions, Cursor, Gemini CLI, Hermes Agent, OpenClaw, OpenCode, Pi, Roo Code and Session export), into a private store. Nothing reaches the shared graph until you choose individual items, preview exactly what will be copied, and confirm. Import needs supported private storage on your machine, and is included on every plan: Free includes Claude Code, Codex and Cursor sessions, and the paid plans include every tool.

Sessions S-017 and S-031

Find the decision three weeks later

Session S-017 Activity feed skips a record between pages

  1. Engineer

    Two activities have the same creation time. Page one returns one of them, but the next page skips the other. Why?

  2. Agent

    The cursor only remembers the timestamp. A filter for later timestamps excludes every remaining activity at that same time. You need a stable tie-breaker.

  3. Engineer

    Use the activity ID after creation time. Both values travel in the cursor, and both appear in the next-page comparison.

  4. Agent

    Then test a page boundary between two records with the same timestamp. That should expose the current skip.

Three weeks later

Session S-031 Same feed, a new report of missing items

  1. Search your sessions

    stable tie-breaker → S-017, message 13 · finding D-017

  2. Engineer

    The earlier finding says the cursor must carry both fields. Today’s query sorts by both, but its filter still compares only the timestamp.

  WHERE project_id = :project_id-   AND created_at > :cursor_created_at+   AND (created_at, id) > (:cursor_created_at, :cursor_id)  ORDER BY created_at ASC, id ASC

Synthetic sessions and code. Checking today’s query is the engineer’s step; the finding points back to the conversation, not to a file.

Your controls

You decide what goes in and what comes out

  • Sessions

    Point Trellis at the session files or databases you choose. One database can hold many sessions.

  • Processing

    Finding extraction and search indexing are optional, per operation and per field, on a local or cloud model you’ve configured.

  • Publishing

    Select findings and excerpts, preview exactly what will be copied, then confirm the copy into your graph.

Findings you publish are copied into your graph. On a shared team graph, teammates can read the published copies. An AI agent you connect through AI Context can also search your saved sessions, so consider its model provider.

What gets published with a finding
Finding
D-017: use creation time and activity ID in both order and cursor.
Excerpt
S-017, messages 14–15: the intended comparison and the boundary test.

Try it

Start with sessions you already have.

Bring a few saved sessions from a problem your team already solved.