> ## Documentation Index
> Fetch the complete documentation index at: https://docs.median.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Agents

> Use Median with AI coding agents.

Every command accepts an `--agent` flag. This identifies which agent performed the action and tracks activity in the dashboard.

## Supported agents

| Agent       | Identifier    |
| ----------- | ------------- |
| Claude Code | `claude-code` |
| Codex       | `codex`       |
| Cursor      | `cursor`      |
| Copilot     | `copilot`     |
| Windsurf    | `windsurf`    |
| Gemini      | `gemini`      |
| Cline       | `cline`       |

Any string works as an agent name. Unrecognized agents get a default icon.

## Workflow

No repository-specific task command hooks are required.

## Auto-setup

Use the `AGENTS.md` and `CLAUDE.md` files in the project directory for agent guidance.

## JSON output

For agents that need structured data:
No structured command output is required.
