opencode-workbenchBranch sandboxes for parallel OpenCode development
1
58
10 in 7 days
24.0
Multi-signal model
5 months ago
2026-02-27
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-workbench@0.3.2"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-workbench@0.3.2"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-workbenchopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
Chinese version: README.zh-CN.md
opencode-workbench is built for concurrent delivery: it maps git worktrees to OpenCode sessions so multiple tasks can run in parallel with clear routing, ownership, and integration flow.
Why Teams Use Workbench
- Run many tasks concurrently across isolated branches/worktrees without collisions.
- Fan out parallel task execution from one supervisor workflow with deterministic routing.
- Keep per-session execution safe while maintaining high overall concurrency.
- Track branch/fork/PR metadata per binding to coordinate fast parallel delivery.
- Enforce supervisor/worker boundaries for reliable, scalable multi-task execution.
Installation
Add the plugin to your OpenCode config file opencode.json:
- Unix/macOS:
~/.config/opencode/opencode.json - Windows:
%USERPROFILE%\\.config\\opencode\\opencode.json(for example:C:\\Users\\<your-user>\\.config\\opencode\\opencode.json)
{
"plugin": ["opencode-workbench"]
}
Optional version pin:
{
"plugin": ["opencode-workbench@0.3.2"]
}
Quick Start with Natural Language
Example prompts:
1. Use workbench for parallel work. Task list: 1. ** 2. **
2. Use workbench for high-concurrency parallel work, use gh, and take the workflow all the way through PR creation and merge without follow-up confirmation. Task list: 1. ** 2. **
OpenCode Studio Experience
Workbench includes OpenCode Studio integration so concurrent branch/task orchestration is visible at a glance:
Learn more: opencode-studio
Session binding overview in Studio (worktree, branch, session linkage).
Metadata visibility (fork/upstream/PR) for faster coordination.
Better supervisor control when dispatching and reviewing multiple child sessions.
For teams running multi-branch development daily, OpenCode Studio is the recommended control center to monitor workers, keep routing clean, and reduce context switching.
Details
Detailed action contracts, parameter-level behavior, scope/session targeting rules, and governance guidance are documented in DETAIL.md.
License
MIT