[November 05, 2026]
OpenCode
Define role-specific agents: in a shared repo
Give each agent its own prompt and tool access instead of restating the role every session. Commit the setting so every clone matches.
────────────────────────────────────────────────────────
Define role-specific agents: in a shared repo
Tip: A reviewer is not a writer
Give each agent its own prompt and tool access instead of restating the role every session. Commit the setting so every clone matches.
{ "agents": { "reviewer": { "prompt": "Report only. Do not edit." } } }
Gotcha: One god-agent (in a shared repo)
A single agent that can commit, push, and talk to prod MCP will eventually do all three. A laptop-only tweak will look like a model regression on CI.
{ "tools": "*" }
Source: https://opencode.ai/docs/agents
────────────────────────────────────────────────────────
<-- back to posts