# list_coding_agents

URL: https://codepanel.ai/docs/mcp-server/list_coding_agents

The CodePanel MCP tool that lists the agent app's coding agents with their model, role, mode ceiling, rules, budget and whether a key reaches the model.

`list_coding_agents` returns the coding agents of the agent app: the named combinations of a model, a role, a mode ceiling and rules that a run uses. Read it first to learn the ids the other agent tools take, and to see which agents still have a key or credits behind their model.

## When to call it

- **Before changing an agent:** `update_coding_agent`, `duplicate_coding_agent` and `remove_coding_agent` take an `id` from this list.
- **Before creating one:** check that the name is free (names are unique per account, ignoring case).
- **To check reach:** an agent whose key was removed stays listed with `model.source: null` instead of disappearing.

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `detail` | boolean | no | Add instructions, the model's facts and timestamps; compact without it |
| `limit` | integer, at most 50 | no | Items per page, default 20 |
| `cursor` | string | no | nextCursor from the previous page |

It only reads: the server marks it `readOnlyHint: true`, so clients that ask before a write can run it without asking.

## What it returns

`agents`, orchestrators first, then workers, testers, fixers and researchers, each by name. Each agent has:

| Field | Meaning |
| --- | --- |
| `id`, `name`, `role` | The id other tools take; `orchestrator`, `worker`, `tester`, `fixer` or `researcher` |
| `provider`, `providerName`, `modelId` | The model it runs |
| `reasoningEffort` | `none` to `max`, or `null` for the model's default |
| `instructions` | Standing instructions, or `null` |
| `modeCeiling` | `ask`, `auto`, `autopilot` or `full_access`: the most autonomous mode a run may use |
| `rulesPreset` | `strict`, `standard` or `open` |
| `budgetUsd` | The default budget for one subtask, in USD, or `null` to leave it to the team |
| `harness` | What runs the agent: `codepanel` (CodePanel's own loop), or the external agent CLI the local runner drives headless, `claude_code`, `codex`, `gemini_cli` or `opencode`, its model calls through CodePanel's model proxy |
| `copiedFromId` | The agent it was duplicated from, or `null` |
| `model` | `source` (`own_key`, `credits` or `null` when nothing reaches the model), `pricing`, `inputUsd`, `outputUsd`, `contextTokens`, `tools`, `effortLevels` |

## The same step without MCP

| Surface | Form |
| --- | --- |
| HTTP API | `GET /autopilot/agents` with the `read` scope |

## What the server tells your agent

The description your agent reads when it lists the tools:

> Use it to pick the codingAgentId for start_task, or before changing an agent. The account's coding agents for the agent app, orchestrators first, then workers, testers, fixers and researchers, each by name. Compact by default: id, name, role, provider, modelId, modeCeiling (ask|auto|autopilot|full_access), rulesPreset (strict|standard|open), budgetUsd (default USD for one subtask; null leaves it to the team), harness (codepanel, or the external agent CLI that runs it: claude_code|codex|gemini_cli|opencode) and source (own_key|credits, or null when no key or credit balance reaches its model now: start_task with it would fail). detail: true adds instructions, reasoningEffort, copiedFromId, timestamps and model (price, context size, effortLevels). Paged: limit (default 20, at most 50) and cursor (nextCursor from the page before); total counts every agent.

## Related

- [`create_coding_agent`](/docs/mcp-server/create_coding_agent): add one.
- [`list_models`](/docs/mcp-server/list_models): the provider and model ids an agent takes.
- [MCP server](/docs/mcp-server): install, sign-in and every other tool.
