doctor
Probes each ACP agent with a real read-only round trip, reporting whether it spawns, handshakes, and answers with a conformance status.
Instructions
Probe each agent (or one named agent) with a real read-only ACP round trip and report conformance.
The trustworthy health check for ACP agents: whether each spawns, handshakes, and answers. Each report
is ok / no_answer / model_unavailable / handshake_failed / auth_required / not_installed / error.
auth_required means the agent is installed but holds no credential yet; sign it in once with login.
model_unavailable means spawn + handshake succeeded (the agent is reachable) but the harness/provider
rejected the model on the turn (a model/provider config issue, e.g. a Claude Code on AWS Bedrock / Vertex),
so it is NOT reported as a broken agent. Slower than capabilities (it makes a real call per agent); run it
to see which of the roster actually drive on this machine. connect_only runs the lighter handshake-only
check (spawn + handshake, no prompt) and reports reachable / handshake_failed / auth_required /
not_installed plus each agent's advertised models -- it shows whether Rutherford can
talk to and configure an agent even when a model call would fail for a reason outside ACP (an auth /
entitlement / quota issue, e.g. Grok without a SuperGrok subscription).
When an agent (codex / claude_code / pi) launches a separate npm ACP adapter shim and that shim is not
installed but its underlying CLI is (you have codex/claude/pi), the report adds an install_hint
with the exact npm i -g <package> command instead of a flat not_installed -- run that, or
setup install_adapters=true, to set the adapter up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| timeout_s | No | ||
| connect_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |