explaingit

ssreeni1/tracebase

Analysis updated 2026-05-18

75JavaScriptAudience · developerComplexity · 2/5LicenseSetup · easy

TLDR

A local tool that imports Codex and Claude Code session logs, encrypts them, and shows a searchable dashboard for debugging what an AI agent actually did.

Mindmap

mindmap
  root((Tracebase))
    What it does
      Imports agent transcripts
      Encrypts data locally
      Local dashboard
    Tech stack
      Node.js
      JavaScript
      MCP server
    Use cases
      Debug agent runs
      Compare run quality
      Redacted exports
    Audience
      Developers
      Agent builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Debug a Claude Code or Codex session by browsing its captured events on a local dashboard.

USE CASE 2

Check whether an agent run actually executed tests or got stuck in a loop.

USE CASE 3

Export a redacted trace bundle to safely share an incident with a teammate.

USE CASE 4

Compare two agent runs to see which one used fewer tokens or had fewer failures.

What is it built with?

Node.jsJavaScriptMCP

How does it compare?

ssreeni1/tracebaseopenclaw/docsjoeseesun/qiaomu-userscripts
Stars757477
LanguageJavaScriptJavaScriptJavaScript
Last pushed2026-07-09
MaintenanceActive
Setup difficultyeasyhardeasy
Complexity2/54/52/5
Audiencedeveloperops devopsgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires Node.js 24 or newer.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Tracebase is a tool that captures and inspects logs from AI coding agent sessions, specifically Codex and Claude Code, so a developer can see exactly what an agent run did after the fact. It runs entirely on your own computer: there is no network interception, no hidden capture of the model's private reasoning, and no remote service involved. The tool imports the JSONL transcript files that Codex and Claude Code already write locally, encrypts the raw event data at rest using AES 256 encryption, builds a searchable local index, and serves a dashboard on your machine so you can browse sessions, individual events, and summaries. It can also accept live events sent to it while an agent is running, if you opt into that. Tracebase is built to answer practical questions about an agent run: whether tests actually executed, where the agent got stuck or looped, how many tokens and how much cost were used, which files and tools were touched, whether an exported bundle is safe to share with someone else, and whether one run improved on a previous one. It flags things like repeated searches, repeated commands, and unusually large outputs as signs that the agent may have wasted context without making progress, while acknowledging that some expensive steps, like full UI testing, are sometimes genuinely necessary. By default, everything is stored under a local folder, bound to localhost only, with raw data encrypted and export bundles redacted unless you explicitly ask for a raw export. Hidden model reasoning is never captured unless the underlying provider exposes it itself. Installation is done through npm: installing the tracebase-local package globally gives you commands to initialize, import existing transcripts, and start the local dashboard, which then opens in a browser at a local address. Additional commands support comparing runs, generating summaries, checking capture health, and running an MCP server for integration with other tools. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Walk me through installing tracebase-local and importing my existing Claude Code session logs.
Prompt 2
Help me write a script that uses tracebase run-compare to track agent quality over time.
Prompt 3
Explain what context-waste detection means in Tracebase and how to reduce it in my own agent runs.
Prompt 4
Show me how to set up tracebase mcp so another tool can query my local trace data.

Frequently asked questions

What is tracebase?

A local tool that imports Codex and Claude Code session logs, encrypts them, and shows a searchable dashboard for debugging what an AI agent actually did.

What language is tracebase written in?

Mainly JavaScript. The stack also includes Node.js, JavaScript, MCP.

What license does tracebase use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is tracebase to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is tracebase for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.