Platform Getting Started
PlatformConnect your agents to the Traccia Platform for full observability.
The Traccia Platform provides a complete observability solution for AI agents in production. Get a powerful dashboard, policy guardrails, cost attribution, and team collaboration—all built with agents as first-class citizens.
Traccia Dashboard
Overview, trace explorer, and execution timelines in the app (app.traccia.ai).
Policy Guardrails
Set spend limits, retry caps, and custom rules for agent behavior.
Cost Attribution
Track costs by agent, model, team, and environment.
Team Collaboration
Org-level visibility with role-based access control.
1Create Your Account
Sign up for a free Traccia account to get your API key:
Sign Up FreeFree tier includes 3 agents and 10,000 traces/month. No credit card required.
2Install the SDK
Install the Traccia SDK via pip:
pip install tracciaTraccia automatically integrates with OpenAI, Anthropic, and other providers if they're already installed in your environment. No extra plugins needed!
3Configure Your API Key
The SDK uses the Traccia platform by default (https://api.traccia.ai/v2/traces). You only need to set your API key.
Set your API key as an environment variable:
export TRACCIA_API_KEY="your-api-key-here"Or add it to your traccia.toml config file:
[tracing]api_key = "your-api-key-here"# endpoint is optional - defaults to https://api.traccia.ai/v2/traces
# Optional: set metadata for attributionservice_name = "my-research-agent"
[runtime]# Optional: set agent/project metadataagent_id = "support-bot"project_id = "customer-service"tenant_id = "your-org"Keep your API key secure
Third-party OpenTelemetry clients
TRACCIA_* config. Claude Code, the OTel Collector, and other native OTel exporters can use HTTP or gRPC — see Platform OTLP Ingestion.4Instrument Your Agent
Initialize Traccia and add the @observe() decorator to your agent functions:
from traccia import init, observefrom openai import OpenAI
# Initialize Traccia with API key and agent metadatainit( api_key="your-api-key-here", # Or reads from env/config agent_id="support-bot", project_id="customer-service")
client = OpenAI()
@observe()def support_agent(customer_query: str) -> str: """Handle customer support queries.""" # LLM call is automatically traced response = client.chat.completions.create( model="gpt-4", messages=[ {"role": "system", "content": "You are a helpful support agent."}, {"role": "user", "content": customer_query} ] ) return response.choices[0].message.content
# This execution will appear in your Traccia dashboardresult = support_agent("How do I reset my password?")5View in Dashboard
Once your agent runs, traces will appear in your Traccia dashboard within seconds. You'll see:
Why Use Traccia Platform?
Agents as First-Class Citizens
Unlike generic observability tools, Traccia is built specifically for AI agents. Every feature is designed around agent workflows, not just REST APIs.
Production-Ready Governance
Set policies that prevent runaway costs, detect anomalies, and ensure compliance. Get alerted before problems become incidents.
Agent Lifecycle Management
Track agents from development to production. See who owns each agent, when it was last active, and how it's performing over time.
Next Steps
© 2026 Traccia.