Skip to main content
The Agent API supports two execution modes — Claude Agent (default) and Standard Chat — each with their own set of available models.

Agent Runtimes — Claude vs Codex

Within the Claude Agent mode (type: "claude"), the API runs your task on one of two agent runtimes, selected automatically from the model id: Selection rule — a model id runs on the Codex runtime when it contains codex, openai/, gpt-, or starts with o1/o3/o4; otherwise it runs on the Claude runtime. Both runtimes are fully managed — they run inside the same sandbox, expose the same task lifecycle and event stream, and are interchangeable from the caller’s perspective. You normally don’t pick the runtime directly; you pick the model and the runtime follows.
Explicit override — pass agent: "claude" or agent: "codex" to force a runtime regardless of the model id (e.g. agent: "codex" with a non-OpenAI model). Omit agent to auto-select from the model id (default: claude). The benchmark endpoint (POST /api/v1/benchmarks/runs) accepts the same agent field.

Claude Agent Models

Used when type: "claude" (the default). Pass these IDs in the model field of your request body. The agent runtime (Claude vs Codex) is auto-selected per the rule above.
If you omit the model field, the API defaults to blackboxai/anthropic/claude-sonnet-4.6.

Example — Single Agent with Model Override


Standard Chat Models

Used when type: "standard". Pass these IDs in the model field.
If you omit the model field in standard mode, the API defaults to mistral/mistral-small.

Example — Standard Chat with Model Override