Repository navigation
Releases
v1.0.2
v1.0.2 is a patch release containing packaging, documentation, and CI fixes. It changes no runtime behavior. The existing v1.0.0 and v1.0.1 tags and GitHub Releases remain unchanged.
Fixed
npm run demono longer fails withERR_MODULE_NOT_FOUND; the example agent imported the SDK with a wrong relative path.- The OpenSSF Scorecard workflow now uses
ossf/scorecard-action@v2.4.4.v2.4.0pulled its image fromgcr.io, which fails.
Changed
agent-debugger-serverandagent-debugger-sdknow include their ownREADME.mdandLICENSEin the package.- The
agent-debugger-serverREADME states that the npm package ships the local API and theagent-debuggerCLI only. The web UI runs from a repository checkout (npm run devornpm run desktop). - Refreshed
demo.gif: cropped to the app, showing the Cause Package from observed evidence through debugger handoff. - All workspace manifests, the lockfile, and runtime version constants now report
1.0.2.
Install
npx agent-debugger-server startTo try the full UI, clone the repository and run npm run desktop.
See CHANGELOG.md in the repository for the full notes.
v1.0.1
v1.0.1 is a patch release containing the npm publish readiness work and the post-release fixes. The existing v1.0.0 tag and GitHub Release remain unchanged.
Fixed
agent-debugger-sdkships compiled JS and declarations via aprepackbuild.agent-debugger-serverships a self-contained compiled server and runs it withouttsx.- Explicit token totals are preserved when mixed with token bucket entries.
- Claude local/web usage submitted through the bulk API can no longer bypass consent.
- Cause Package analysis, usage, privacy, and event string fields are redacted before hashing;
integrity.sha256is verified. - Audio and cached token subsets are no longer double counted in OpenAI, LangChain, and OpenTelemetry adapters.
agent-debugger pipeexits non-zero when any event fails to send.- ISO 8601 timestamps and explicit import
traceIdoverrides are honored. - Usage sources are validated and
manual_importkeeps its source label. - Event names, errors, and source paths are redacted on ingest and in the SDK; SDK redaction no longer mutates prototypes.
- Compare/replay UI races, MCP notification responses, desktop child cleanup, static shell fallback, and cold-start timing were corrected.
Changed
- All workspace manifests and runtime version constants now report
1.0.1.
See CHANGELOG.md in the repository for the full notes.
v1.0.0
Agent Debugger v1.0.0 is a local-first developer tool that turns a failed agent trace into a portable, redacted Cause Package: observed evidence with event IDs, rule-based cause candidates with falsifiers, reproduction steps, and a handoff suggestion for your existing debugger.
Everything runs on 127.0.0.1. There is no account, cloud, upload, or external AI service call.
Included
- Versioned event schema (
schemaVersion: 2) with NDJSON/JSON import and a file-backed local store - Deterministic rule-based Cause Package UI and CLI (
import,analyze,package,compare,usage,privacy) - Portable bundles with a SHA-256 fingerprint and a two-trace Compare view
- Consent-aware AI usage ledger with reported / estimated / unknown labels
- Local stdio MCP server and opt-in Claude Code local adapter
- Browser-based local desktop shell with loopback-only listeners
- Generated docs site, synthetic benchmark harness, security review, and validation kit
Demo GIF · Documentation · Changelog
Important limitations
- Real-user validation has not been executed. Materials are ready in
docs/VALIDATION_KIT.md, but there are no participants, consented real traces, or ground-truth results. No user-time or success-rate claim is made. - Cold start to
/api/healthmeasured 683.01 ms in the published synthetic benchmark, above the 500 ms target. Import, analysis, package export, memory, and web bundle targets were met. - The security review is a self-review, not an external audit.
- Dependency Graph and Renovate activation remain repository-owner UI actions. The Dependency Review workflow is skipped until
DEPENDENCY_GRAPH_ENABLED=trueis set. - npm publishing is approved but requires registry credentials not available in this environment.
npm publish --dry-runpassed foragent-debugger-sdk@1.0.0andagent-debugger-server@1.0.0.
Verification
Required checks were green before merge: verify (Node 20), verify (Node 22), Analyze JavaScript/TypeScript, Detect committed secrets, and CodeQL. Dependency Review was skipped by the explicit variable gate.
v0.2.0 — stdin/file bridge for any language
🌍 Now works with any language, not just TypeScript
Agent Debugger previously required the TypeScript SDK to send traces. With v0.2.0, you can send traces from Python, Go, Ruby, or any language that can print JSON.
New: agent-debugger pipe
Print one JSON object per line and pipe it in:
python3 your_agent.py | agent-debugger pipeOr read from a file:
agent-debugger pipe trace.jsonlSee the README for a full Python example, or check packages/example-agent/demo_pipe.py.
Why this matters
Most agent frameworks (LangChain, AutoGPT, CrewAI, etc.) are Python-first. This removes the biggest barrier to trying Agent Debugger with your existing agent.
Full Changelog: v0.1.0...v0.2.0
v0.1.0 — Initial MVP
🎉 Initial MVP release
Agent Debugger is a local-first developer tool that lets you visualize and replay what your AI agent thought, which tools it called, and in what order it made decisions — Chrome DevTools, but for LLM agents.
Features
- Replay timeline — play, pause, and step through an agent's execution trace
- Trace inspector — click any step to see its input, output, tokens, and cost
- Local server — receives events over HTTP, streams updates live via SSE
- TypeScript SDK (
agent-debugger-sdk) — instrument your agent with a singletrace()call - Demo agent —
npm run demoemits a sample trace so you can try the UI immediately
Quick start
```bash
git clone https://github.com/woxlo1/agent-debugger.git
cd agent-debugger
npm install
npm run dev
```
Open http://localhost:5173, then in a second terminal run npm run demo to see a trace appear live.
What's next (v0.2)
- stdin/file bridge for non-TypeScript agents (Python, Go, etc.)
- Persist traces to disk (SQLite)
- Token/cost rollups and charts
- Trace diff view
Feedback and issues welcome — this is an early MVP and contributions are very welcome.
