Integration
OpenCode jobs from a web panel, each on its own branch
OpenCode is an open-source coding agent with a terminal UI and web and app clients of its own. DuoWave runs it another way: as a job. You write the task in a web panel, and OpenCode works in a copy of your project, on a branch of its own, over the Agent Client Protocol. You read the journal when you want to; your files stay as they were.
Updated
What OpenCode is
OpenCode calls itself “the open source coding agent”; its code is under MIT. It works with many model providers: API keys, Sign in with ChatGPT, GitHub Copilot, cloud accounts, and models at home through Ollama or LM Studio. OpenCode also sells model access of its own: Go for $10 a month and Go Plus for $40, or pay per token through OpenCode Console (prices on 17 November 2026).
One thing changed in 2026: OpenCode no longer has a built-in sign-in with a Claude Pro or Max subscription. For Claude models, use an API key — or run Claude Code itself, which DuoWave does too.
It speaks ACP with one command: opencode acp.
Sources: GitHub: anomalyco/opencode, OpenCode documentation: Providers, OpenCode, OpenCode documentation: Console: pay per request, GitHub: anomalyco/opencode, pull request 18186, OpenCode documentation: ACP
What DuoWave adds
- A job from a panel. Works → New work: folder, task, Start.
- A copy and a branch per job (
duowave/…). Your branch and files don’t change; the job’s branch lands in your folder. - A live journal. What OpenCode says and thinks, its plan, the files it changes (before and after), the commands it runs. Only errors, search, download.
- Add on the way, Stop.
- Folder rules answer its questions. When OpenCode asks, DuoWave answers by the folder’s rules: commands only if the folder allows them, files only inside the copy, never “allow always”. By default OpenCode hardly asks — see below.
- Spending. Every run is a deal. If OpenCode reports its cost, you see the agent’s estimate; if not, “price unknown”.
- One panel, several agents. OpenCode, Claude Code and Factory Droid side by side; pick one per folder or per job.
- From your phone. The panel is a web page: at home, in the phone’s browser; away, through a tunnel of your own. How.
Sources: DuoWave, release 0.15.0
Make OpenCode ask
Out of the box, OpenCode allows everything: its base rule is “allow any action”, and it asks only before reading .env files. So it runs its commands without asking, and the folder’s allowed commands never come into play. DuoWave marks such an agent in the panel.
To have DuoWave decide, tell OpenCode to ask before shell commands. Add a rule to its config, opencode.jsonc:
{
"permissions": [
{ "action": "shell", "resource": "*", "effect": "ask" }
]
}Now each command comes to DuoWave as a question, and the folder’s rules answer it. Later rules win in OpenCode, so you can still allow a few commands there yourself.
Sources: OpenCode documentation
OpenCode has a web and an app of its own
opencode serve runs OpenCode as a server, and opencode pair prints a one-time link and a QR code for the OpenCode app; pair --remote makes the link reachable from anywhere. That is the way to drive an OpenCode session live from a browser or a phone.
DuoWave is for something else: tasks handed over as jobs, each on its own branch, under one set of rules and one spending log, with other agents next to OpenCode.
Sources: OpenCode documentation
A job, start to finish
You keep a small command-line tool, invoice-cli, and want a CSV export.
- Works → New work. Folder:
invoice-cli. Agent: OpenCode. What to do: “Add--format csvtoinvoice list. Keep the table as the default. Add tests.” - Start: a copy, the branch
duowave/csv-export, and OpenCode in it over ACP. - The journal shows its plan: read
src/commands/list.ts, add a formatter, write tests. With the rule above, OpenCode asks to runnpm test— allowed in the folder, so DuoWave says yes, once. It asks to runcurl— not allowed, so DuoWave says no. - The tests pass, the run ends, and Spending shows its deal.
- In your folder:
git diff main...duowave/csv-export.
Connect
- 01
Install OpenCode and connect a provider in it, in a terminal:
curl -fsSL https://opencode.ai/v2/install | bash. - 02
In DuoWave, MagicPlace → Agents → OpenCode. Install the card; it downloads and runs nothing.
- 03
Works → Work folders. OpenCode appears next to Claude Code: found, its version, signed in.
- 04
Pick OpenCode for a folder or for one job.
- 05
Works → New work. Task, Start. No DuoWave yet? Download it: it is free and open source.
Sources: OpenCode documentation
Questions
Does DuoWave install OpenCode?
No. The card says how; you install it and sign in yourself.
Can I use my Claude subscription with OpenCode here?
Not through OpenCode: since March 2026 it has no built-in Claude Pro or Max sign-in. In DuoWave, pick Claude Code for that folder instead.
Does it use my OpenCode config?
DuoWave starts your own opencode program in the job’s copy, so its settings apply — its permission rules too. The questions it asks go to DuoWave, which answers by the folder’s rules; what OpenCode allows by itself, it does without asking.
Does DuoWave wait out a usage limit for OpenCode?
No: that wait is for Claude Code. If an OpenCode run stops on a provider’s limit, the journal shows it, and you start the job again.
Is it free?
DuoWave is free and open source, and so is OpenCode. You pay your model provider.
Sources
Checked on 17 November 2026.
- GitHub: anomalyco/opencode — the open source coding agent; MIT
- OpenCode documentation: Intro and install
- OpenCode documentation: ACP — `opencode acp`
- OpenCode documentation: Providers
- OpenCode: Go — $10 and $40 a month
- OpenCode documentation: Console: pay per request
- GitHub: anomalyco/opencode, pull request 18186 — the built-in Anthropic sign-in removed, 19 March 2026
- OpenCode documentation: Permissions — the base policy allows every action; `.env` reads ask
- OpenCode documentation: Web and pairing — `opencode serve`, `opencode pair`, `--remote`
- DuoWave, release 0.15.0: changelog — Works in work folders; Spending: dollars and tokens by model
DuoWave
One small program between your things and any AI
DuoWave is a free, open-source AI assistant. Say what you need — it builds small apps, automates your routine and reports back when it's done.
DuoWave is an independent project. It is not affiliated with or endorsed by any speaker maker or AI company. Product names belong to their owners.