---
title: "Report agent availability as the daemon sees it"
method: GET
path: "/api/doctor/agents"
tags: ["daemon"]
---

# Report agent availability as the daemon sees it

`GET /api/doctor/agents`

## Request

- The document declares no server URL.
- Auth: none declared

## Query parameters

- `repo` string: Repository root whose .roborev.toml supplies ACP agents, overrides, and hooks
- `agent` string[]: Agent names to resolve exactly as the daemon would (repeatable)

## Response `200`

OK

- DoctorAgentsOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `agents` Diagnosis[], required: Every agent the daemon knows
    - `available` boolean, required
    - `command` string
    - `error` string
    - `name` string, required
    - `path` string
    - `unknown` boolean
  - `hook_tools` Diagnosis[], required: CLI tools that configured kata and beads hooks run, resolved on the daemon PATH
    - `available` boolean, required
    - `command` string
    - `error` string
    - `name` string, required
    - `path` string
    - `unknown` boolean
  - `panels` DoctorPanel[], required: Review panels selected for this repository, resolved the way the daemon resolves them when queueing a panel review
    - `error` string: Why queueing this panel would be rejected
    - `experiment` string: ID of the review experiment whose experimental arm runs this panel; empty for the default configuration
    - `members` DoctorPanelMember[], required
      - `agent` string, required
      - `name` string, required
    - `name` string, required
    - `synthesis` Diagnosis, required
      - `available` boolean, required
      - `command` string
      - `error` string
      - `name` string, required
      - `path` string
      - `unknown` boolean
    - `used_for` string[], required: Which reviews select this panel: post_commit, manual, or both
  - `panels_error` string: Why the review experiment configuration could not be applied; panels were not checked
  - `path_env` string, required: PATH environment variable of the daemon process
  - `repo_config_error` string: Why the repository config could not be loaded; results use global config only
  - `requested` Diagnosis[], required: The requested agent names, resolved by the daemon; unknown names report an error
    - `available` boolean, required
    - `command` string
    - `error` string
    - `name` string, required
    - `path` string
    - `unknown` boolean

## Other responses

- `default`: Error

## Changes

- **2026-10-03** `fd83a515f14e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/doctor/agents/get.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) - [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) - [OpenAPI document](https://skmtc.dev/kenn-io/apis/roborev/revisions/5803a85073e3?raw)
