What problem does it solve?
OpenCode agent configuration becomes hard to manage as more specialized agents are created, leading to inconsistent prompts, tool access, and permissions across primary agents and subagents.
Core Features & Use Cases
- Agent Profile Creation: Define reusable primary agents and subagents via Markdown (recommended) or JSONC entries.
- Configurable Capabilities: Configure models, temperature, maxSteps, tool availability, and permission approval flows (allow/ask/deny).
- Operational Guardrails: Limit risky actions (e.g., edit/write/bash) and control which subagents can be invoked through task permissions.
- Practical Example Use Case: Create a restricted code-review subagent that can read and run safe Git inspections while requiring confirmation for any potentially risky commands.
Quick Start
Have the user create a new Markdown agent profile named code-reviewer.md under .opencode/agents/ with a description, the appropriate mode, and a system prompt that fits the intended review workflow.