ORGCODE is an opinionated multi-agent workflow plugin for OpenCode. It adds three specialized agents and a task tracker to your OpenCode project:
- Manager — plans, assigns, and orchestrates the workflow.
- Senior — implements features using TDD.
- Techlead — reviews the senior's output.
-
Make sure you have a project folder with OpenCode already initialized.
-
Create or open your
opencode.jsonfile in the project root. -
Add
orgcode-aito thepluginarray:{ "$schema": "https://opencode.ai/config.json", "plugin": ["orgcode-ai"] } -
Save the file and restart OpenCode.
-
OpenCode will automatically download and install the ORGCODE plugin from npm.
-
In your OpenCode session, type
/orgcodeto start the workflow.
No npm install, no cloning, no manual setup is required.
ORGCODE is published on npm. OpenCode auto-installs npm plugins, so you do not need to clone this repository or run any install command yourself.
Open opencode.json in your project root and add "orgcode" to the plugin array:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["orgcode-ai"]
}Quit and restart OpenCode. The plugin will be downloaded and installed automatically.
Type / in the OpenCode prompt. You should see /orgcode and /orgcode_yolo in the command list.
Run one full task cycle at a time and ask for confirmation before continuing:
/orgcode
Run continuously until all tasks are done or an error occurs:
/orgcode_yolo
Run only specific tasks:
/orgcode_yolo feat-001 feat-002
Missing or already-done tasks are skipped automatically.
Before running /orgcode, create at least one task in the .orgcode/tasks/ folder.
Tasks are Markdown files with a TOML frontmatter block:
+++
[task]
id = "feat-001"
title = "Add user authentication"
status = "todo"
assignee = "senior"
priority = "high"
+++
# Add user authentication
Implement email/password authentication.Allowed values:
status:todo,in_progress,in_review,doneassignee:manager,senior,techleadpriority:low,medium,high
Agents manage tasks through the orgcode_task custom tool. Do not edit task files directly unless you have to.
- Manager lists tasks and picks the next
todoone. - Manager assigns it to the senior agent.
- Senior implements the feature using TDD.
- Manager assigns it to the techlead agent.
- Techlead reviews and either approves or lists issues.
- If issues are found, the task goes back to the senior.
- Once approved, the manager marks the task as
doneand moves to the next one.
These commands are for contributors working on the ORGCODE plugin itself:
vp install
vp test
vp check
vp packMIT