# Supported Agent Types

This page provides a quick reference for all built-in agent types. For detailed information about agent types and how to create custom types, see [Agent Types](./concepts/agent_types.md).

## Built-in Agent Types

Built-in plugins provide the following agent types:

| Type | Command | Description |
|------|---------|-------------|
| `claude` | `claude` | [Claude Code](https://claude.ai/claude-code) - Anthropic's agentic coding tool. Includes session resumption support. |
| `codex` | `codex` | [Codex CLI](https://github.com/openai/codex) - OpenAI's coding assistant. |

## External Plugin Agent Types

The following agent types require installing an external plugin:

| Type | Command | Description | Plugin |
|------|---------|-------------|--------|
| `opencode` | `opencode` | [OpenCode](https://github.com/sst/opencode) - An open-source AI coding assistant. | `mngr-opencode` |

## Using Agent Types

Create an agent with a specific type (AGENT_TYPE is the second positional argument):

```bash
mngr create my-agent claude     # named "my-agent", type "claude"
mngr create my-agent codex      # named "my-agent", type "codex"
mngr create my-agent opencode   # named "my-agent", type "opencode"
```

Or use the `--agent-type` option:

```bash
mngr create my-agent --agent-type claude
```

Any command in your PATH can also be used as an agent type:

```bash
mngr create my-agent ./my-script
mngr create my-agent python my_agent.py
```

## Custom Agent Types

You can define custom agent types in your config to bundle commonly-used flags or share configuration:

```bash
mngr config edit
```

```toml
[agent_types.my_claude]
parent_type = "claude"
cli_args = "--env CLAUDE_MODEL=opus"
permissions = ["github"]  # [future] not yet enforced
```

For more details, see [Agent Types](./concepts/agent_types.md).
