Skip to content

A local viewer for agent sessions

See what the model saw at every request.

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/estela
  • Node.js 24 or later
  • Binds localhost by default
  • Reads logs, never writes them
  • GPL-3.0-only
Model sawCompaction · 190k → 42kSample session · Input tokens per requestSubagent lane

What it answers

A log tells you what happened. Estela shows what the model was working with.

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.

What did the compaction remove?

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.

Where did the tokens and the money go?

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.

What did each subagent do?

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

A real report, not a screenshot.

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.

Open the demo in a new tab
npx @rivus/estela build → demo/index.html

The report is a desktop tool. Open it on a wider screen, or in a new tab here.

One command

Run it, then pick a session.

It starts a server on localhost:7392, opens the browser, and indexes the sessions of the supported agents. A path opens that session directly.

npx @rivus/estela
Session browser for this machine.
npx @rivus/estela <path>
Loads that session, then opens its workspace.
npx @rivus/estela --pick
Searchable session list in the terminal.
npx @rivus/estela build <path>
Writes the report of one session to one index.html.
npx @rivus/estela mcp
MCP server over stdio: seven read-only tools over every session.

Take a session elsewhere

Export, or ask from another agent.

ATIF v1.8

One trajectory for Harbor datasets and evaluation. Each step names the canonical events it came from.

npx @rivus/estela export-atif <path>

OTLP/JSON

One ExportTraceServiceRequest whose spans carry the OpenTelemetry GenAI attributes, for Langfuse, LangSmith, and Phoenix.

npx @rivus/estela export-otlp <path>

MCP

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 mcp

Supported agents

Twelve agents, found where they keep their sessions.

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.

  • Antigravity CLI
    ~/.gemini/antigravity-cli/brain/<conversation-id>/.system_generated/logs/transcript_full.jsonl
    $ANTIGRAVITY_GEMINI_DIR
  • Claude Code
    ~/.claude/projects/
    $CLAUDE_CONFIG_DIR
  • Codex
    ~/.codex/sessions/**/rollout-*.jsonl~/.codex/archived_sessions/**/rollout-*.jsonl
    $CODEX_HOME
  • DeepSeek Harness
    ~/.dsh/sessions/<cwd>/<session-id>/session.v4.jsonl.zstd
    $DSH_HOME
  • DimCode
    ~/.dimcode/v2/dimcode.sqlite
    $DIMCODE_HOME
  • Gemini CLI
    ~/.gemini/tmp/**/chats/*.jsonl
    $GEMINI_CLI_HOME
  • Grok
    ~/.grok/sessions/<cwd>/<session-id>/
    $GROK_HOME
  • Kimi Code
    ~/.kimi-code/sessions/<work-dir>/<session-id>/agents/main/wire.jsonl
    $KIMI_CODE_HOME
  • OpenCode
    ~/.local/share/opencode/opencode.db
    $XDG_DATA_HOME
  • Pi
    ~/.pi/agent/sessions/<cwd>/<time>_<id>.jsonl
    $PI_CODING_AGENT_DIR
  • Qoder CLI
    ~/.qoder/projects/<cwd>/<session-id>.jsonl
    $QODER_CONFIG_DIR
  • ZCode
    ~/.zcode/cli/db/db.sqlite
    $ZCODE_STORAGE_DIR
  • Grok records token usage per turn, so a Grok session has one request per turn.

Privacy

Your sessions stay on your machine.

  1. 01

    Local only

    Everything runs on this machine. The server binds localhost, and nothing is sent anywhere.

  2. 02

    Read-only

    Session files are read, never written. URLs carry opaque trace ids, never paths.

  3. 03

    Redacted

    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.

  4. 04

    Reports are always redacted

    Session text and file contents remain in a report, so read it before you share it.

  5. 05

    A disposable index

    Titles, paths, numbers, and your prompts for search, stored unredacted in a 0600 cache file. Delete it any time, or run with --no-index.

Estela· GPL-3.0-onlyEstela is Spanish for a wake: the trail a ship leaves on the water. A session log is the trail an agent leaves behind, and Estela reads it.