Traccia Documentation
Observe, evaluate, govern, and enforce policy on your AI agents in production.
Traccia is an AI agent control plane for observability, evaluation, governance, and runtime policy enforcement. Instrument once with the open-source OpenTelemetry SDK, then send traces to your own stack or to the hosted Traccia platform.
Enforce, not just observe. The same spans that show you what your agents did also power cost attribution, evaluations, policy checks, and audit evidence.
The Platform
Traccia is organized around four pillars that build on one another.
Visibility
Full traces of every agent run, with sessions, tool calls, prompts, and errors captured from Python and TypeScript.
Intelligence
Accurate cost attribution under sampling, plus prompts, datasets, scorers, and experiments to prove quality before you promote.
Control
Spend limits, retry caps, and custom rules enforced at the agent boundary so a policy decision blocks the run instead of logging it after the fact.
Certification
An AI system registry, reviews, incidents, and audit-ready evidence exports generated from the traces you already collect.
Choose Your Path
The SDK is open source and works standalone. The platform adds the dashboard, evaluations, enforcement, and governance surfaces.
How It Works
Traccia sits between your application and your backend, enriching traces with AI-specific metadata and routing them wherever you choose.
Your Own Backend
Jaeger, Grafana Tempo, Zipkin, or any OTLP-compatible collector. No account required.
Local Setup GuideQuick Example
Install the SDK, then add tracing to any function with the @observe() decorator. Platform users can add @govern() to enforce policies before a run starts.
pip install tracciafrom traccia import observe, init
# Initialize Tracciainit()
@observe()def my_agent(query: str) -> str: """Your agent logic here.""" response = call_llm(query) return response
# All LLM calls are automatically tracedresult = my_agent("What is the weather today?")What You Get
Full Trace Visibility
See every step of agent execution, from prompts to tool calls.
Cost Attribution
Track token usage and costs per agent, model, and tool.
Policy Enforcement
Spend limits, retry caps, and custom rules applied at the agent boundary.
Governance Hub
AI system registry, reviews, incidents, and evidence exports.
Team Collaboration
Org-level visibility with role-based access and workspaces.
Auto-Instrumentation
Automatic tracing for OpenAI, Anthropic, and FastAPI.
OpenTelemetry Native
Export to any OTLP-compatible backend, with no framework lock-in.
PII Redaction
Optional pattern masking before spans leave your process.
Next Steps
Platform Getting Started
Create a project, send your first traces, and explore the dashboard.
Policies And Enforcement
Define spend limits and rules that block agents before they run.
Evaluations And Experiments
Score outputs against datasets and compare versions before you promote.
Governance Hub
Registry, reviews, incidents, and compliance evidence.
Learn Core Concepts
Understand traces, spans, and how Traccia works.
Framework Integrations
Integrate Traccia with LangChain, CrewAI, and OpenAI Agents SDK.
© 2026 Traccia.