Auto-detect and trace every token, tool call, and decision.
One command. Pure SQLite. No cloud. No lock-in.
Long-running agents produce complex chains of reasoning, tool calls, and sub-agent handoffs. Without structured traces you lose cost control and the ability to debug or audit what happened.
One lightweight approach that works for whatever agentic code you're running.
Point it at any command and it auto-detects and records the full execution. No code changes required for CLI-based agents.
Built-in pricing for common models plus support for custom rates. Per-agent, per-day, and per-model breakdowns with budget guardrails.
See the full hierarchy when agents spawn sub-agents. Parent/child linking and execution graphs for complex systems.
Run agenttrace dashboard for live stats, searchable runs, full trace drill-down, and export. Or stay in the terminal.
Drop-in TypeScript and Python SDKs for custom code. Optional thin middleware for LangGraph, CrewAI and similar. The wrapper covers everything else.
Everything lives in one agenttrace.db file. Export JSON/CSV. Forward to OpenTelemetry. Webhooks for alerts. Full data ownership.
npm i -g @agenttrace-io/clipip install agenttrace-io
agenttrace wrap your-agent ...agenttrace dashboard or
agenttrace runsAll data stays in agenttrace.db. Open source. Self-hostable. No telemetry.
No accounts. No credit card. No data leaves your machine.
Built for teams that want the simplest possible local truth.
| Capability | AgentTrace | Langfuse | LangSmith |
|---|---|---|---|
| 100% local / zero cloud | ✓ Pure local SQLite | Cloud or heavy self-host | Cloud only |
| CLI zero-config wrapper | ✓ First class | No | No |
| Single-file storage | ✓ agenttrace.db | ClickHouse / Postgres | Cloud |
| Price for core tracing | $0 forever (MIT) | Usage + self-host cost | Paid seats |
Based on public documentation. AgentTrace focuses on simplicity and local ownership.