TraceRoot is an open-source AI agent improvement platform designed to help developers turn agent failures in production into testable improvements. Backed by Y Combinator, its core idea is: agents pass tests, but production reveals the gaps—wrong answers can look like successful runs, tool loops waste time and tokens, prompt and model changes introduce regressions, and manual spot-checking struggles to catch them. TraceRoot detects these failures through observability, production monitoring, and evaluation, and uses a coding agent to turn them into fixes.
Main capabilities include:
- Trace every model call, tool call, and response, recording inputs, outputs, latency, and cost.
- Define good behavior and automatically flag production runs that fall short.
- Cluster evaluation outputs at scale into improvement signals. A background coding agent investigates traces and connected GitHub code in a Daytona sandbox, recommending changes down to the specific commit, file, and line.
- Run evaluations against datasets and compare versions to measure improvements and catch regressions.
- Receive alerts via Slack, then use the coding agent and offline evaluations to apply and verify changes.
How to use:
- Install the TraceRoot CLI via npm: npm install -g traceroot-cli, then run traceroot login.
- Provides Python and JavaScript/TypeScript SDKs, supports OpenTelemetry-compatible tracing, and integrates frameworks such as LangGraph, Vercel AI SDK, and CrewAI.
- You can start by sending traces from your application, then add detectors and evaluations as needed.
- Supports TraceRoot Cloud or self-hosting with Docker. Code outside the ee directory is licensed under Apache 2.0, while the enterprise directory uses a separate enterprise license.
Use cases:
- Suitable for teams that need to monitor and improve AI agent performance in production.
- Suitable for developers who want to turn production failures into testable improvements.
- Suitable for projects that build agents with Python or JS/TS and need observability and evaluation capabilities.
Limitations and notes:
- The free plan includes 50,000 events per month, 15-day retention, 30 chat runs per month, 30 RCA runs, 100 detector runs, and supports Slack alerts and BYOK or hosted LLM.
- Paid plans offer more events, longer retention, and higher limits; specific pricing and features are subject to the official pricing page.
- The platform supports bringing your own model API key or using hosted models.
- Enterprise-grade security, with data protection meeting industry-leading standards.
- For specific integration details and the latest features, please refer to the official documentation.