freshcrate
Skin:/
Home > AI Agents > traceroot

traceroot

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

Why this rank:Strong adoptionRelease freshnessHealthy 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
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.v4.35.0
clawtraceMake your OpenClaw agents better, cheaper, and faster.main@2026-05-01
uix-ai-agent🤖 Generate UI & UX flows for web and mobile apps using natural language prompts with UIX AI Agent, your intelligent design assistant.main@2026-06-07
20xSelf-improving Agent orchestrator for all knowledge workv0.0.94
agent-sdk🤖 Build transparent, message-first agents with efficient tool calls, planning, and multi-agent handoffs using the lightweight agent-sdk for Node.js.main@2026-06-06

More in AI Agents

@blockrun/franklinFranklin — The AI agent with a wallet. Spends USDC autonomously to get real work done. Pay per action, no subscriptions.
hermes-agentThe agent that grows with you
awesome-copilotCommunity-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.
e2bE2B SDK that give agents cloud environments