Agents
OpenCode
The same tools over MCP, connected with one command. Plugin hooks are coming.
OpenCode is an open source coding agent that works with many providers. Relief does not compete with it: an OpenCode user keeps OpenCode and gains what Relief adds.
Connect it in one command
frontier connect opencodeRelief shows what it will add, asks [y/N] (or takes --yes), keeps a backup and writes one entry for the Relief MCP server into OpenCode's user config, opencode.json in ~/.config/opencode (or in $XDG_CONFIG_HOME/opencode).
- It follows your file. If the file already uses the flat
mcp.<name>layout, the entry goes there. If it usesmcp.servers, it goes there. An empty or new file getsmcp.servers. - A backup first, next to the file, named with
.frontier-backup-and the time. - Ownership is marked. The entry carries a marker so
frontier disconnect opencoderemoves only what Relief added, and Relief refuses to overwrite afrontierentry you wrote yourself. - Comments are refused. If the file has comments (
opencode.jsonc), Relief stops and says so instead of rewriting your comments away. - It never reads a login file.
frontier disconnect opencodeConnect, then disconnect, gives your file back as it was.
What works
The same tools as the other hosts, listed on MCP tools: a second opinion from a different family, a delegated task, handoffs and redaction. The folder you ask about still needs frontier trust once.
What does not exist yet
Coming Plugin hooks. The plan is a small plugin that calls frontier hook the way the Claude Code hooks do, so the baton and the critic reach OpenCode users too. Nothing like that is built, and without it OpenCode has no baton.
You can also run Relief alongside OpenCode in another terminal, or call it from scripts. See Headless and scripts.