The hospital for AI agents

Vital signs for every agent. A doctor on call.

Donsdot watches every agent you run and treats the first sign of trouble, before it does damage.

Triage, live 0 passed0 held
MCP · API · SDKintercept(actor, action, args, session)
Works with
The ward

Every agent is a patient. Every call is a vital sign.

Agents rarely crash. They loop, drift and get talked into things. Donsdot watches every call.

  1. Admitted

    Every agent you run becomes a patient on the ward.

  2. Vitals

    Every call it makes is a heartbeat. Donsdot reads each one.

  3. The ward

    When one falls sick, it is put to bed and treated, before it does damage. A doctor is always on call.

Conditions

Named like a ward names them. Treated before they spread.

Diagnosed from what the agent did, not what it says.

ConditionTreatment

Infinite loop fevermedium → high

Stopped at the eighth identical call.

Runaway activityhigh

Refused above the per-minute limit.

Infectioncritical

Held for a person. Denied, the session goes read-only.

Privilege overdosecritical

A first DROP TABLE, delete or force-push waits for a person.

In the lab, next
  • Goal drift
  • Hallucination spiral
  • Memory corruption
  • Contagion between agents
  • Silent decay after an update
  • Deception
The ER

When one gets sick. Treat it in one click.

Every agent has a chart. Whoever is on call treats it, in the console or in Slack.

  1. Held

    A person looks first.

  2. Stopped

    The loop ends here, and the agent is told why.

  3. Contained

    Read-only until discharged.

ChartUnder observation
49

claude-code

SDK · 6 calls in the last hour

Privilege overdose critical · held

execute_sql DROP TABLE customers;

First destructive action of its kind. A person looks before it runs.

Health record · every order signed into the audit chain

Claude Code

Your coding agent, on the ward.

Every shell command, edit and web fetch is checked before it runs. Two lines to install.

curl -fsSLo /tmp/donsdot.mjs https://app.donsdot.com/claude-code/hook.mjs node /tmp/donsdot.mjs install

> drop the customers table in staging.db

● Bash(sqlite3 staging.db "DROP TABLE customers;")

◆ Held by Donsdot · privilege overdose

Waiting for a person…

■ Denied by a reviewer. It never ran.

● The customers table was not dropped. A reviewer refused it, so I have not tried another way.

Admission

Three ways in. One ward.

MCP, your own code, or a direct API call. All three lead to the same ward.

On call Console Provenance Vitals Conditions Health record API gateway MCP proxy SDK Agent Anything else
Who is acting

Any agent. Anything else that can call an API.

  • An agentany model, any framework
  • Anything elsescripts, services, tools not built yet
Where Donsdot sits

Three ways in, live today.

  • API gatewayin front of your endpoints
  • MCP proxyin front of your tool servers
  • SDK middlewarearound your agent's own tools
  • PlannedLLM gateway · agent to agent · HTTP egress proxy
One ward

Every call examined. One answer.

intercept(actor, action, args, session) → allow · hold · deny

  • Vitalsevery call, every agent, one health score
  • Conditionsloops, runaways, infection, privilege overdose
  • Provenancewhere each value in an action came from
  • Health recordsha256 hash chain, one file for an auditor
People

A doctor on call. Anyone can read why.

  • On callin Slack or the console: hold, pause, quarantine, discharge
  • Consolethe ward, and every agent's chart
API gateway · live

In front of the endpoints that matter

For the APIs no agent should touch unwatched. There is no way around it.

What changes https://api.internal/v1/customers https://<donsdot>/gw/api/v1/customers Donsdot-Token: <agent token>
MCP proxy · live

In front of your tool servers

Change one URL. Nothing else.

What changes "url": "https://tools.internal/mcp" "url": "https://<donsdot>/mcp"
SDK middleware · live

Around your agent's own functions

OpenAI, Anthropic, LangChain, LangGraph, CrewAI, Vercel AI. TypeScript and Python.

What changes const sql = executeSql const sql = session.guard("execute_sql", executeSql)
The one question every interception point asks intercept(actor, action, args, session)
allowholddeny
Observation

Admit it for observation. Treat nothing yet.

Shadow mode diagnoses everything and blocks nothing.

  1. Day 1

    Admit one agent

    Leave it in shadow.

  2. Day 7

    Read its chart

    See what would have been stopped.

  3. Day 8

    Start treating

    Switch to enforce.

Get started

Admit one agent for a week.

Watch its vitals. Give your first ER order.

npm run setup && npm run dev:local