freshcrate
Skin:/
Home > AI Agents > traceroot

traceroot

TraceRoot - open-source observability and self-healing layer for AI agents. YC S25

Why this rank:Strong adoptionRecent releaseHealthy release cadence

Description

TraceRoot - open-source observability and self-healing layer for AI agents. YC S25

README

TraceRoot Logo

TraceRoot is an open-source observability platform for AI agents — Capture traces, debug with AI that sees your source code and Github history.

Y Combinator License X (Twitter) Discord Documentation PyPI SDK Downloads

Features

Agentic Debugging - Root Cause Analysis

Feature Description
Tracing Capture LLM calls, agent actions, and tool usage via OpenTelemetry-compatible SDK. Intelligently surfaces the traces that matter — noise filtered, signal prioritized.
Agentic Debugging AI that sees all your traces, connects to a sandbox with your production source code, identifies the exact failing line, and correlates the failure with your GitHub commits, PRs, and issues. BYOK support for any model provider.

Why TraceRoot?

  • Traces alone don't scale.

    As AI agent systems grow more complex, manually sifting through every trace is unsustainable. TraceRoot selectively screens your traces — filtering noise and surfacing only the ones that actually need attention, so you spend time fixing problems, not hunting for them.

  • Debugging AI agent systems is painful.

    Root-causing failures across agent hallucinations, tool call instabilities, and version changes is hard. TraceRoot's AI connects to a sandbox running your production source code, identifies the exact failing line, and cross-references your GitHub history — commits, PRs, open issues and creates PR to fix it.

  • Fully open source, no vendor lock-in.

    Both the observability platform and the AI debugging layer are open source. BYOK support for any model provider — OpenAI, Anthropic, Gemini, xAI, DeepSeek, OpenRouter, Kimi, GLM and more.

Documentation

Full documentation available at traceroot.ai/docs.

Getting Started

TraceRoot Cloud

The fastest way to get started. Ample storages and LLM tokens for testing, no credit card needed. Sign up here!

Self-Hosting

  • Developer mode: Run TraceRoot locally to contribute.

    # Get a copy of the latest repo
    git clone https://github.com/traceroot-ai/traceroot.git
    cd traceroot
    
    # Hosted the infras in docker and app itself locally
    make dev

    For more details, see CONTRIBUTING.md.

  • Local docker mode: Run TraceRoot locally to test.

    # Get a copy of the latest repo
    git clone https://github.com/traceroot-ai/traceroot.git
    cd traceroot
    
    # Hosted everything in docker
    make prod
  • Terraform (AWS): Run TraceRoot on k8s with Helm and Terraform. This is for production hosting. Still in experimental stage.

Integrations

Model Providers

Integration Supports Description
OpenAI Python, JS/TS Automated instrumentation of Chat Completions and Responses API.
Anthropic Python, JS/TS Automated instrumentation of the Messages API.
Google Gemini Python Automated instrumentation via the Google GenAI SDK.

Agent Frameworks

Integration Supports Description
LangChain & LangGraph Python, JS/TS Automated instrumentation by passing callback handler to LangChain application.
LangChain DeepAgents Python, JS/TS Automated instrumentation by passing callback handler to DeepAgents pipeline.
CrewAI Python Automated instrumentation of multi-agent collaborative workflows and task executions.
AutoGen Python Automated instrumentation of multi-agent conversations, agent loops, and tool calls.
LlamaIndex Python Automated instrumentation of RAG pipelines, document ingestion, retrieval, and LLM synthesis.
Mastra JS/TS Automated instrumentation via the TraceRoot OTLP exporter.

Don't see your framework or provider? Request an integration.

SDK

Language Repository
Python traceroot-py
TypeScript traceroot-ts

Python SDK Quickstart

pip install traceroot openai
import traceroot
from traceroot import Integration, observe
from openai import OpenAI

traceroot.initialize(integrations=[Integration.OPENAI])
client = OpenAI()

@observe(name="my_agent", type="agent")
def my_agent(query: str) -> str:
    response = client.chat.completions.create(
        model="gpt-4o",
        messages=[{"role": "user", "content": query}],
    )
    return response.choices[0].message.content

if __name__ == "__main__":
    my_agent("What's the weather in SF?")

TypeScript SDK Quickstart

npm install @traceroot-ai/traceroot openai
import OpenAI from 'openai';
import { TraceRoot, observe } from '@traceroot-ai/traceroot';

TraceRoot.initialize({ instrumentModules: { openAI: OpenAI } });
const openai = new OpenAI();

const myAgent = observe({ name: 'my_agent', type: 'agent' }, async (query: string) => {
  const response = await openai.chat.completions.create({
    model: 'gpt-4o',
    messages: [{ role: 'user', content: query }],
  });
  return response.choices[0].message.content;
});

async function main() {
  try {
    await myAgent("What's the weather in SF?");
  } finally {
    await TraceRoot.shutdown();
  }
}

main().catch(console.error);

Security & Privacy

Your data security and privacy are our top priorities. Learn more in our Security and Privacy documentation.

Community

Special Thanks for pi-mono project, which powers the foundation of our agentic debugging runtime!

Contributing 🤝: If you're interested in contributing, you can check out our guide here. All types of help are appreciated :)

Support 💬: If you need any type of support, we're typically most responsive on our Discord channel, but feel free to email us founders@traceroot.ai too!

License

This project is licensed under Apache 2.0 with additional Enterprise features.

Contributors

Release History

VersionChangesUrgencyDate
v1.3.2This release adds a public demo workspace to TraceRoot Cloud that every user joins as a viewer, with recorded Agent investigations they can read without spending inference. Signals can now be listed, resolved and reopened through the public API. The viewer role is read-only end to end, billing finds the plan item by price rather than position, and deleting a project no longer restores consumed free quota. Docker Compose moves to maintained object-storage images after the upstream ones were removHigh10/21/2026
v1.3.1This release draws widget and dashboard reads as live cards in the agent chat panel, and stops the agent leaking sandbox containers on the Docker host. Detector scan quota now counts only runs that reached the model, legacy embedding calls record their token usage, and the trace list pages stably when traces share a start time. The docs gain a generated REST API reference, an Authentication page, and a consistent template across every integration page. ### New Features - **Widget and dashboardHigh10/17/2026
v1.3.0This release adds native support for TypeSafe's Jev: calls to the decision model arrive as DECISION spans, and model, tokens and cost flow through for them the same way they do for LLM spans. Detectors now screen traces on gpt-6-luna by default, every page sends a Content-Security-Policy, and API responses carry HSTS, nosniff and no-store headers. Dashboards and the trace list stop counting offline-evaluation traces as production traffic, and the main list pages keep their page, search and scrolHigh10/15/2026
v1.2.2This release adds a sign-up fan-out for the hosted service: a welcome email with one-click opt-out and an optional Slack post for each new account, both off unless configured and never run on self-hosted installs. The in-app agent now describes spans with the real fields and `span_kind` values, so the alerts it creates match. The ClickHouse migration image is rebuilt against patched Go modules, and the docs gain nine pages across tracing, integrations, BYOK, evals and the CLI. ### New FeatureHigh10/13/2026
v1.2.1This release reorders the alert form around the data it describes and shows the measure's unit on the threshold. It fixes a 500 on rejected requests carrying non-finite numbers, adds the standard browser security headers to every response, corrects impossible durations like "1m 60s", and clears the critical Dependabot alerts, including the Next.js one. The docs gain an Alerts section. ### New Features **Alert form: scope, condition, notify** - The form read "Metric, Conditions, Notifications",High10/11/2026
v1.2.0This release introduces Signals: detector hits are grouped into recurring problems, each with one root-cause analysis, one digest announcement, and a status you can resolve, dismiss or reopen. Alerts that breached while Slack was unconfigured are now re-paged once it is, the live trace stream no longer 500s on timezone-aware timestamps, and PostHog gains server-side onboarding events and docs pageviews. ### New Features **Signals: recurring problems instead of individual findings** - Every detHigh10/8/2026
v1.1.4This release refreshes the bring-your-own-key model catalogs with the current OpenAI, Anthropic and xAI lineups and their prices, which also moves each provider's default model. The app now sends page-leave events to PostHog, and the README gets a demo video and reworked onboarding. ### New Features **Current models in the BYOK catalogs** - OpenAI gains `gpt-6-sol`, `gpt-6-luna` and `gpt-6.1-sol`, and the dropdown now lists the GPT-6 family newest-first; `gpt-6.1-sol` caches at 5% of input ratHigh10/6/2026
v1.1.3This release lets dashboards break errors down by exception type, with a matching filter in the trace list and a type chip in the trace view. The alert form gains the no-data mode that the API already accepted, and a dependency sweep clears every open Dependabot alert, including a critical PyJWT one. It ships one ClickHouse migration. ### New Features **Errors by type** - The exception class name left every SDK as a span event, but ingest read span attributes only, so `exception.type` was dropHigh10/4/2026
v1.1.2This release brings evaluation data into the in-app assistant. Chat can now read an evaluation run's summary and browse a project's datasets and versions, using the same reads the CLI calls. It also fixes two data-quality bugs: cache-write tokens from the Pi extension were dropped at ingest, and PostHog lost a visitor's anonymous ID on every page load. ### New Features **Evaluation runs and datasets in chat** - The assistant binds `get_evaluation_run` and the four dataset reads (`list_datasetsHigh9/29/2026
v1.1.1## What's Changed * feat(examples): run agent-eval on Claude or Jev, and check answers against tool results by @lqiu03 in https://github.com/traceroot-ai/traceroot/pull/2275 * docs(vercel-ai): fix setup for AI SDK 7, which needs @ai-sdk/otel by @lqiu03 in https://github.com/traceroot-ai/traceroot/pull/2289 * feat(evaluations): publish the dataset reads and expose them as registry tools by @dark-sorceror in https://github.com/traceroot-ai/traceroot/pull/2262 * feat(evaluations): read an evaluHigh9/25/2026
v1.1.0## What's Changed * feat(sql): add curated read-only ClickHouse views and client/config by @dark-sorceror in https://github.com/traceroot-ai/traceroot/pull/1355 * perf(sql): let the caller's time window reach the public view bodies by @dark-sorceror in https://github.com/traceroot-ai/traceroot/pull/2174 * feat(sql): add public sql schema contract by @dark-sorceror in https://github.com/traceroot-ai/traceroot/pull/1348 * feat(sql): add allowlist sql validator by @dark-sorceror in https://github.cHigh9/22/2026
v1.0.0## What's Changed * ci: resolve the app version from vX.Y.Z tags only by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/2213 * ci(tools): publish the tool registry on merge instead of on a release by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/2214 **Full Changelog**: https://github.com/traceroot-ai/traceroot/compare/v0.7.7...v1.0.0High9/16/2026
tools-v0.2.0`@traceroot-ai/tools` 0.2.0 — the tool registry the CLI and the in-app agent share, generated from the public OpenAPI schema. ## New operations - **Creates** (user credential only): `create_workspace`, `create_project`, `create_detector`, `create_dashboard`, `create_widget`. Idempotent on the resource's natural name where one exists; widgets are strict. Every entry carries policy metadata (approval class, minimum role, tenancy). - **Dashboards**: `list_dashboards`, `get_dashboard`. - **Alerts*High9/14/2026
v0.4.0## What's Changed * Fix/dashboard filter value control by @lqiu03 in https://github.com/traceroot-ai/traceroot/pull/1883 * fix(detectors): evaluate every trigger field at the trace list's grain by @lqiu03 in https://github.com/traceroot-ai/traceroot/pull/1887 * feat(detectors): whitelist trigger fields and operators at the write path by @lqiu03 in https://github.com/traceroot-ai/traceroot/pull/1885 * feat(detectors): build the filter editor on the shared filter controls by @lqiu03 in https://gitMedium8/16/2026
v0.3.9## What's Changed * fix(worker): stop one malformed span from discarding a whole ingest batch by @ka1kqi in https://github.com/traceroot-ai/traceroot/pull/1745 * perf(db): add source to the spans no-I/O projection so source-filtered reads use it by @ka1kqi in https://github.com/traceroot-ai/traceroot/pull/1791 * fix(ui): restore the persisted date range after retention resolves by @Gujiassh in https://github.com/traceroot-ai/traceroot/pull/1823 * feat(clickhouse): add a queryable metadata_map coHigh8/12/2026
v0.3.8## What's Changed * docs(pi-agent-sdk): add TypeScript example for Pi Coding Agent SDK by @lqiu03 in https://github.com/traceroot-ai/traceroot/pull/1547 * example(pi-agent-sdk): migrate to pi 0.80.x ModelRuntime API by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/1623 * feat/ add pi (coding agent) sdk integration in docs overview + in-app onboading by @lqiu03 in https://github.com/traceroot-ai/traceroot/pull/1331 * Feat/retention access window gate by @shirleyai-co in https://githHigh7/31/2026
v0.3.7## What's Changed * fix(pricing): price fast-mode and dot-notation Anthropic model ids by @ka1kqi in https://github.com/traceroot-ai/traceroot/pull/1593 * docs(byok): sync Default Models table with SYSTEM_MODELS by @Satyam296 in https://github.com/traceroot-ai/traceroot/pull/1437 * feat(onboarding): surface read-only traceroot-cli in getting started by @dark-sorceror in https://github.com/traceroot-ai/traceroot/pull/1362 * fix(trace-view): stop rendering tool/shell output as audio (false media dHigh7/23/2026
v0.3.5## What's Changed * feat: add Grok 4.5 to BYOK model catalog by @lqiu03 in https://github.com/traceroot-ai/traceroot/pull/1495 * Feat/GPT 5.6 Sol/Terra/Luna in TraceRoot byok by @lqiu03 in https://github.com/traceroot-ai/traceroot/pull/1497 * feat(notifications): render detector digest email in shared branded card by @ka1kqi in https://github.com/traceroot-ai/traceroot/pull/1509 * fix(traces): stabilize sibling span ordering by @Gujiassh in https://github.com/traceroot-ai/traceroot/pull/1171 * fHigh7/17/2026
v0.3.2## What's Changed * ci: auto-announce releases to Discord with full notes by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/1395 * ci: let the Discord webhook control the announcer's name + avatar by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/1396 * ci: normalize release-notes heading sizes in the Discord embed by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/1397 * ci: prefix the Discord embed title with the repo name by @XinweiHe in https://github.coHigh7/5/2026
v0.3.0## What's Changed * Support a `start_release.sh` script for release [1/n] by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/553 * fix: add default model IDs for xAI, zAI and Moonshot by @Raulgooo in https://github.com/traceroot-ai/traceroot/pull/554 * feat: Confirmation dialog box for API deletion by @prakharsingh-74 in https://github.com/traceroot-ai/traceroot/pull/566 * Fixed the User self deleting issue from organisation by @DivineAvi in https://github.com/traceroot-ai/traceroot/High6/23/2026
v0.2.0## What's Changed * [AgentOps][Python SDK] Simplify sdk user experience by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/367 * [AgentOps] feat(auth): add signup flow and validation by @shirleyai-co in https://github.com/traceroot-ai/traceroot/pull/376 * [AgentOps] Support moving traces from s3 to clickhouse [1/n] by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/380 * [AgentOps][UI] General Styling improvement [1/n] by @XinweiHe in https://github.com/traceroot-ai/tMedium3/21/2026
v0.1.5## What's Changed * fix: fix aws search logs for limit exceeded by @zechengz in https://github.com/traceroot-ai/traceroot/pull/299 * feat: optimize speed for extracting logs and allow get aws limit exceed trace logs by @zechengz in https://github.com/traceroot-ai/traceroot/pull/300 * feat: add trace grouping by @zechengz in https://github.com/traceroot-ai/traceroot/pull/301 * feat: save user_id to the chat by @zechengz in https://github.com/traceroot-ai/traceroot/pull/302 * feat: add agent tab bLow11/26/2025
v0.1.4## What's Changed * [Docs] Improvement for Docs based on customer feedbacks by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/256 * Update Sign up page link [1/n] by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/257 * Update the prod url [1/n] by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/258 * [Sync] Clerk Auth Synced from Internal Repo by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/259 * [Refactor] Remove AWS cognito code [1/n] by @XiLow10/21/2025
v0.1.3## What's Changed * logic update for the generate button by @sidgaikwad in https://github.com/traceroot-ai/traceroot/pull/177 * url changed to the cal.com traceroot on contact button link by @sidgaikwad in https://github.com/traceroot-ai/traceroot/pull/165 * Fix/autumn disabled in local by @sidgaikwad in https://github.com/traceroot-ai/traceroot/pull/161 * [UI] Temporarily remove the landing page by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/178 * [UI] Change from "Contact" butLow10/7/2025
v0.1.2## What's Changed * Update release script and package version by @zechengz in https://github.com/traceroot-ai/traceroot/pull/149 * [Docs] Update TypeScript Docs [2/n] by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/150 * Feat: Tool Abstraction Type by @JasonHonKL in https://github.com/traceroot-ai/traceroot/pull/92 * Agent tools minor updates by @zechengz in https://github.com/traceroot-ai/traceroot/pull/151 * Improve agent title system message by @zechengz in https://github.com/Low9/17/2025
v0.1.1## What's Changed * Add a script for release [3/n] by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/38 * Support docker compose [1/n] by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/40 * Improve README.md formatting, grammar, and clarity by @Mritunjay2103 in https://github.com/traceroot-ai/traceroot/pull/41 * Modify UI by @zechengz in https://github.com/traceroot-ai/traceroot/pull/53 * Refactor: Refactor ee/agent.py by @JasonHonKL in https://github.com/traceroot-ai/Low9/7/2025
v0.1.0## What's Changed * feat: Minor UI update by @zechengz in https://github.com/traceroot-ai/traceroot/pull/1 * Update README logo [1/n] by @XinweiHe in https://github.com/traceroot-ai/traceroot/pull/2 * Refactor Agent, Fix Agent Bug, and Fix UI bug by @zechengz in https://github.com/traceroot-ai/traceroot/pull/3 * Update discord links by @ShabiShett07 in https://github.com/traceroot-ai/traceroot/pull/4 * Add unit tests, workflows and format fix by @zechengz in https://github.com/traceroot-ai/traceLow8/8/2025

Dependencies & License Audit

Loading dependencies...

Similar Packages

logfireAI observability platform for production LLM and agent systems.v5.3.0
clawtraceMake your OpenClaw agents better, cheaper, and faster.main@2026-08-15
mainframeAI-native development environment for orchestrating agentsv2.12.4
20xSelf-improving Agent orchestrator for all knowledge workv0.0.182
langwatchThe platform for LLM evaluations and AI agent testinglangwatch-3.21.0

More in AI Agents

claude-memA Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future ses
AIGC-Interview-Book【三年面试五年模拟】AIGC算法工程师面试秘籍。涵盖AIGC、LLM大模型、AI Agent、传统深度学习、自动驾驶、机器学习、计算机视觉、自然语言处理、强化学习、大数据挖掘、具身智能、元宇宙、AGI等AI行业面试笔试干货经验与核心知识。
letta-codeThe memory-first coding agent
nano-banana-pro-prompts-recommend-skillAI skill for OpenClaw & Claude Code — recommend from 10000+ Nano Banana Pro (Gemini) image prompts. Smart search by use case, content remix, sample images.