What did the model see at this request?
Pick any request and Estela rebuilds the context it received: system prompt, tools, messages, and the events a compaction removed. A slot the log never recorded is marked unavailable. Nothing is estimated.
A local viewer for agent sessions
Estela brings the agent sessions on your machine into one local interface: a request timeline, an event ledger, and token counts for each session, and for each request the context the model received.
npx @rivus/estelaWhat it answers
Pick any request and Estela rebuilds the context it received: system prompt, tools, messages, and the events a compaction removed. A slot the log never recorded is marked unavailable. Nothing is estimated.
A compaction is a dashed rule with the token count before and after. Model saw lists the events it dropped, and Compare shows what entered and left the context between any two requests of a lane.
The timeline draws one bar per request, its height the input tokens, with markers for prompts, failed tool calls, and compactions. Each request, turn, subagent, and session shows the list price of its recorded tokens; a request the log cannot price is marked unavailable.
Every subagent gets its own lane in the timeline. The ledger groups events by turn, or by agent with one header per agent.
Live demo
This is the file the build command writes from the bundled demo trace: one redacted index.html that opens with no server. Click a request to see what the model saw.
The report is a desktop tool. Open it on a wider screen, or in a new tab here.
One command
It starts a server on localhost:7392, opens the browser, and indexes the sessions of the supported agents. A path opens that session directly.
Take a session elsewhere
One trajectory for Harbor datasets and evaluation. Each step names the canonical events it came from.
npx @rivus/estela export-atif <path>One ExportTraceServiceRequest whose spans carry the OpenTelemetry GenAI attributes, for Langfuse, LangSmith, and Phoenix.
npx @rivus/estela export-otlp <path>Seven read-only tools over stdio, so an agent can find an earlier session and read what its model saw at a request.
npx @rivus/estela mcpSupported agents
Each agent's home override applies. A folder that does not exist shows 0 sessions and the path it checked; a file that cannot be parsed is listed with the file, line, and reason.
~/ .gemini/ antigravity-cli/ brain/ <conversation-id>/ .system_generated/ logs/ transcript_full.jsonl$ANTIGRAVITY_GEMINI_DIR~/ .claude/ projects/$CLAUDE_CONFIG_DIR~/ .codex/ sessions/ **/ rollout-*.jsonl~/ .codex/ archived_sessions/ **/ rollout-*.jsonl$CODEX_HOME~/ .dsh/ sessions/ <cwd>/ <session-id>/ session.v4.jsonl.zstd$DSH_HOME~/ .dimcode/ v2/ dimcode.sqlite$DIMCODE_HOME~/ .gemini/ tmp/ **/ chats/ *.jsonl$GEMINI_CLI_HOME~/ .grok/ sessions/ <cwd>/ <session-id>/$GROK_HOME~/ .kimi-code/ sessions/ <work-dir>/ <session-id>/ agents/ main/ wire.jsonl$KIMI_CODE_HOME~/ .local/ share/ opencode/ opencode.db$XDG_DATA_HOME~/ .pi/ agent/ sessions/ <cwd>/ <time>_<id>.jsonl$PI_CODING_AGENT_DIR~/ .qoder/ projects/ <cwd>/ <session-id>.jsonl$QODER_CONFIG_DIR~/ .zcode/ cli/ db/ db.sqlite$ZCODE_STORAGE_DIRPrivacy
Everything runs on this machine. The server binds localhost, and nothing is sent anywhere.
Session files are read, never written. URLs carry opaque trace ids, never paths.
The local server replaces the home directory with ~, and a fixed set of token shapes and the values of labelled credentials such as PASSWORD= with placeholders. Other secrets pass through.
Session text and file contents remain in a report, so read it before you share it.
Titles, paths, numbers, and your prompts for search, stored unredacted in a 0600 cache file. Delete it any time, or run with --no-index.
Docs and source
npx @rivus/estela