Agents

Configure primary and subagent behavior for OpenABCode sessions.

Types

Agents package model, prompt, and permission choices for a role.

  • Primary agents drive user-facing sessions.
  • Subagents handle bounded research or review tasks.
  • All agents should inherit project safety rules.

Built-in

OpenABCode ships with the opencode agent foundation and adds routing-aware defaults.

Usage

Select an agent from the CLI or TUI when a task needs a different operating mode.

openabcode run --agent coder -m anthropic/claude-haiku-4-5 "implement this"