Documentation
Trace AI agents, keep their prompts, and test each change before it reaches your users.
Risicare records what your AI agents do, keeps the prompts that they use, and tests a change before it reaches your users. These docs follow that loop.
Start here
Set up takes you from an API key to the first trace. Risicare is in private beta, and access is by invitation.
The loop
| Step | What you do | Section |
|---|---|---|
| 1 | Send traces from your code: LLM calls, tools, agents, sessions | Instrument |
| 2 | Read a run step by step, filter traces, and see the cost | Observe |
| 3 | Keep prompt versions, and move them to production with labels | Prompts |
| 4 | Try a prompt on one case, or compare two versions on a dataset | Playground |
| 5 | See how a release changed behaviour, cost and scores | Releases |
| 6 | Run a dataset through your code, get a verdict against a baseline, and gate a change in CI | Evaluations |
| 7 | Get a message when a metric crosses a threshold | Alerts |
| 8 | Receive events at your own endpoint, for example when an alert fires or a prompt changes | Webhooks |
| 9 | Chart your traces, cost and scores | Dashboards |
Admin covers organizations, projects, API keys, the team and your data. Reference has the SDK references, the REST API and the changelog.
Error codes
The SDK gives an error code to an error span (a cancel or an abort gets none). It can send 23 of the 154 codes of the taxonomy, the same in Python and JavaScript. See Error Taxonomy.
Root-cause diagnosis, fix generation and fix deployment are built and held for the beta. See Held for the beta.
Quick links
Progressive Integration
| Tier | Code | What You Get |
|---|---|---|
| 0 | import risicare + RISICARE_API_KEY + RISICARE_TRACING=true | LLM calls of the supported providers traced |
| 1 | risicare.init(...) | Explicit configuration |
| 2 | @agent() | Agent identity tracking |
| 3 | @session | User session grouping |
| 4 | @trace_think/decide/act | Decision phase tracking |
| 5 | @trace_message/delegate | Full multi-agent support |