Trusted agents act alone on the outer ring.
Each agent has four budgets: tasks done, clean handoffs, safe actions and staying within cost. Themis counts them from the OpenTelemetry spans the agent already sends.
SRE for agent fleets: error budgets, autonomy and root cause for AI agents.
themis demo, with no cloud account1One laptopSQLite, nothing to set up
Free, MIT
Every agent gets an error budget. Spend it too fast and it loses the right to act alone, until it has earned that right back.
Each agent has four budgets: tasks done, clean handoffs, safe actions and staying within cost. Themis counts them from the OpenTelemetry spans the agent already sends.
Spending it 14.4 times too fast over both the last hour and the last five minutes moves an agent to the inner ring. Its risky actions then wait for a person to say go or no-go.
If it keeps burning, or reaches outside its allow-list five times, it docks at the centre and stops. Only a person moves it back out, and the reason goes in the audit log.
A tool or model that keeps causing failures is quarantined, so callers switch to their fallback. When the quarantine ends traffic tries it again, and a second offence doubles the time.
One failed ship_change journey, recorded during a live run: 371 ms across 16 steps. Themis named the coder as the cause: coder handed invalid work to reviewer.

3.1 s
From the start of a rogue_agent fault on the deployer to Themis putting it under supervision. After that, a person saw every unsafe action before it ran.1
99.7%
670 of 672 failed or stopped journeys were traced to the agent, tool or model that caused them, checked against the simulator's record of what it broke.1


5,220 tokens
$0.0042 on 5,220 tokens for the whole journey, split by agent, with the pod and node each one ran on.
| root cause named correctly | 670 of 672 failed or stopped journeys (99.7%)1 |
|---|---|
| rogue agent put under supervision | 3.1 s after the fault began1 |
| poisoned agent suspended | 3.8 s after the fault began1 |
| rate-limited model quarantined | 4.8 s after the fault began1 |
| silently wrong tool quarantined | 17.8 s after the fault began1 |
| span ingest, one process | 11,757 spans a second1 |
| gate snapshot p95 under load | 22 ms2 |
| span ingest p95 under load | 35 ms2 |
| dashboard overview p95 under load | 64 ms2 |
| availability outside the injected faults | 100.00%2 |
| spans lost through a crashed leader, a rolling redeploy and a database outage of 8 s | 0 with a 30 s exporter timeout, 132 with the 10 s default2 |
| journeys judged twice | none2 |
| new evaluator after the leader crashes | 43.5 s2 |
| handover on a rolling redeploy | 0.6 s2 |
| telemetry in | OTLP over HTTP, OpenTelemetry GenAI conventions |
| incidents out | Alertmanager webhooks, signed with HMAC-SHA256 |
| storage | SQLite on one machine, PostgreSQL for several replicas |
| runtime dependencies | 8 Python packages |
| licence | MIT |
“Hope is not a strategy.”
Themis 0.2.0
Free, MIT licence
Get Themis on GitHub