AgentOS comes with a built-in tracing provider that routes traces to your database. Every run produces a trace tree: spans for the LLM call, each tool, hook, retrieval, and team delegation. These can be stored inDocumentation Index
Fetch the complete documentation index at: https://docs.agno.com/llms.txt
Use this file to discover all available pages before exploring further.
agno_traces and agno_spans in the same db you use for sessions.
Multi-database tracing
Traces are high-volume and write-heavy. For production deployments, you’ll often want them in a separate database from sessions and memory. Traces generally have a different cost profile, different retention and different access patterns:What gets captured
| Span | Attributes |
|---|---|
| Run | agent_id, user_id, session_id, model, latency, status |
| LLM call | Model, prompt tokens, completion tokens, temperature, tool calls returned |
| Tool | Tool name, arguments, result, duration, exception (if any) |
| Pre/post hook | Hook name, duration, modified input/output |
| Retrieval | Query, vector store, k, returned docs, scores |
| Team delegation | Member name, mode, sub-run trace |