opencode-agent-orchestration-kit 1.0.41 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +110 -9
- package/docs/commands.md +2 -0
- package/docs/comparison.md +137 -0
- package/docs/distribution/awesome-opencode-submission.md +51 -0
- package/docs/installation.md +20 -0
- package/docs/models.md +10 -2
- package/docs/releases/v1.0.42.md +51 -0
- package/package.json +24 -1
- package/scripts/benchmark-tool-paths.mjs +1 -1
- package/scripts/package-smoke.test.mjs +2 -2
- package/scripts/version.test.mjs +2 -2
- package/docker/open-design/data/app.sqlite +0 -0
- package/docker/open-design/data/app.sqlite-shm +0 -0
- package/docker/open-design/data/app.sqlite-wal +0 -0
- package/docker/open-design/opencode-auth/log/2026-05-02T105802.log +0 -17
- package/docker/open-design/opencode-auth/log/2026-05-04T102127.log +0 -16
- package/docker/open-design/opencode-auth/opencode.db +0 -0
- package/docker/open-design/opencode-auth/opencode.db-shm +0 -0
- package/docker/open-design/opencode-auth/opencode.db-wal +0 -0
package/README.md
CHANGED
|
@@ -7,14 +7,24 @@
|
|
|
7
7
|
<a href="https://github.com/sponsors/jcarlosrodicio"><img src="https://img.shields.io/badge/Sponsor-GitHub%20Sponsors-ea4aaa?logo=githubsponsors&logoColor=white" alt="Sponsor on GitHub"></a>
|
|
8
8
|
</p>
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
**An open-source multi-agent orchestration harness for OpenCode.**
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
OpenCode Agent Orchestration Kit (OAK) turns OpenCode into a structured
|
|
13
|
+
software-engineering team of specialized agents for research, design,
|
|
14
|
+
specification, implementation, review, and validation. It keeps OpenCode agent
|
|
15
|
+
orchestration local, inspectable, version-controlled, and reproducible.
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
Unlike systems designed primarily around large parallel worker pools, OAK
|
|
18
|
+
focuses on bounded engineering workflows with durable state, explicit
|
|
19
|
+
handoffs, independent review, validation evidence, and optional human approval
|
|
20
|
+
gates. It is model-agnostic within OpenCode: each role can use the default
|
|
21
|
+
model or an explicit provider/model available in the user's OpenCode setup.
|
|
22
|
+
|
|
23
|
+
**Apache-2.0 · Local-first · OpenCode-native · Model-agnostic**
|
|
15
24
|
|
|
16
25
|
> [!NOTE]
|
|
17
|
-
> This
|
|
26
|
+
> This software-engineering agent harness is not a hosted platform, a fully
|
|
27
|
+
> autonomous software factory, or a replacement for engineering judgment.
|
|
18
28
|
|
|
19
29
|
## Why this exists
|
|
20
30
|
|
|
@@ -61,6 +71,28 @@ The goal is not to force every request through a heavy process. Small, clear, lo
|
|
|
61
71
|
| Optional token visibility | TUI plugin for lead and subagent token usage when OpenCode exposes session trees |
|
|
62
72
|
| Versioned documentation | Agent, command, evidence, and validation contracts stored alongside the configuration |
|
|
63
73
|
|
|
74
|
+
### Bounded autonomous execution
|
|
75
|
+
|
|
76
|
+
OAK supports explicitly requested autonomous local work without turning it
|
|
77
|
+
into unlimited or unattended execution:
|
|
78
|
+
|
|
79
|
+
- `/loop` requires an approved task contract before writes, allows at most
|
|
80
|
+
three iterations per invocation within a task-specific one-to-six iteration
|
|
81
|
+
budget, and can resume from durable state. Worktrees are explicit opt-in.
|
|
82
|
+
- `/autonomous` is local-checkout-only, uses a task-specific one-to-six
|
|
83
|
+
iteration budget, runs deterministic validation in every iteration, and
|
|
84
|
+
stops as soon as an independent `reviewer` approves the result.
|
|
85
|
+
- Both workflows use a schema-versioned JSON snapshot, append-only JSONL
|
|
86
|
+
history, an exclusive lock, contract hashing, idempotent action IDs, and
|
|
87
|
+
explicit recovery for interrupted writes.
|
|
88
|
+
|
|
89
|
+
The `/autonomous` contract prohibits network access, worktrees, parallel
|
|
90
|
+
execution, scheduling, write-enabled connectors, commits, pushes, merges,
|
|
91
|
+
deployments, releases, and publication. Sensitive or expanded scope stops for
|
|
92
|
+
human review. See the [`/loop`](opencode/commands/loop.md) and
|
|
93
|
+
[`/autonomous`](opencode/commands/autonomous.md) contracts for the exact
|
|
94
|
+
boundaries.
|
|
95
|
+
|
|
64
96
|
## Built around
|
|
65
97
|
|
|
66
98
|
This kit builds on and integrates with the following projects:
|
|
@@ -93,6 +125,51 @@ This kit may not be the right fit if you:
|
|
|
93
125
|
- Need autonomous parallel execution across many repositories or worktrees.
|
|
94
126
|
- Expect every request to be fully automated without human oversight.
|
|
95
127
|
|
|
128
|
+
## How OAK compares
|
|
129
|
+
|
|
130
|
+
OpenCode orchestration projects optimize for different operating models. This
|
|
131
|
+
summary describes their documented emphasis; it is not a universal ranking.
|
|
132
|
+
|
|
133
|
+
| Approach | Documented emphasis | Consider it when |
|
|
134
|
+
|---|---|---|
|
|
135
|
+
| **OAK** | Versioned software-engineering workflows, specialized phase roles, durable bounded loops, independent review, and local safety contracts | You want research → specification → implementation → review with explicit scope and evidence |
|
|
136
|
+
| [`opencode-orchestrator`](https://github.com/agnusdei1207/opencode-orchestrator) | A persisted mission runtime with Commander, Planner, Worker, and Reviewer roles, local memory, and configurable agent concurrency | You want runtime-governed mission execution and a larger concurrent worker pool |
|
|
137
|
+
| [`oh-my-openagent`](https://github.com/code-yeongyu/oh-my-openagent) | A broad multi-model agent harness with specialized agents, integrated tools, background agents, and opt-in parallel Team Mode | You want an extensive agent/tool ecosystem and optional parallel teams |
|
|
138
|
+
| [`opencode-agent-tree`](https://github.com/beremaran/opencode-agent-tree) | A plugin that makes an orchestrator decompose and delegate every request, with hands-on tools blocked and configurable delegation depth | You want enforced delegation trees and parallel fan-out of independent subtasks |
|
|
139
|
+
|
|
140
|
+
### Choose OAK when
|
|
141
|
+
|
|
142
|
+
- You want OpenCode to behave like a structured engineering team.
|
|
143
|
+
- You want research, specification, implementation, validation, and independent review to remain distinct.
|
|
144
|
+
- You need durable, resumable workflows with explicit scope and acceptance criteria.
|
|
145
|
+
- You prefer bounded autonomy and inspectable local contracts over unconstrained agent loops.
|
|
146
|
+
|
|
147
|
+
### Consider another orchestration approach when
|
|
148
|
+
|
|
149
|
+
- Your primary goal is maximizing parallel worker throughput.
|
|
150
|
+
- You need autonomous execution across many worktrees or repositories.
|
|
151
|
+
- You need a hosted orchestration or control-plane product.
|
|
152
|
+
- You want an unattended software factory rather than bounded engineering workflows.
|
|
153
|
+
|
|
154
|
+
See [OpenCode Agent Orchestration Approaches](docs/comparison.md) for the
|
|
155
|
+
comparison method, architectural distinctions, limitations, and source links.
|
|
156
|
+
|
|
157
|
+
## Engineering quality
|
|
158
|
+
|
|
159
|
+
OAK's reproducibility and safety claims are backed by checked repository
|
|
160
|
+
artifacts rather than a maturity label:
|
|
161
|
+
|
|
162
|
+
- 1,000+ automated unit and script tests across the package and shipped harness.
|
|
163
|
+
- Mechanical validation of agent, command, workflow, evidence, and routing contracts.
|
|
164
|
+
- Type checking plus dependency vulnerability, integrity, and signature audits.
|
|
165
|
+
- Isolated installation and exact-package smoke tests for the `oak` and `oc-switch` CLIs.
|
|
166
|
+
- Compatibility checks across the declared OpenCode and Node.js boundaries.
|
|
167
|
+
- Durable-state recovery, corruption, idempotency, and adversarial fixtures.
|
|
168
|
+
- Public/private configuration boundary checks and release-provenance validation.
|
|
169
|
+
|
|
170
|
+
The [Validation](#validation) section explains the normal and release-grade
|
|
171
|
+
checks and their limits.
|
|
172
|
+
|
|
96
173
|
## How it works
|
|
97
174
|
|
|
98
175
|
Free-form requests start with the `lead` agent.
|
|
@@ -316,7 +393,14 @@ From this checkout, run:
|
|
|
316
393
|
npm run oc-switch
|
|
317
394
|
```
|
|
318
395
|
|
|
319
|
-
To install the command globally
|
|
396
|
+
To install the command globally from the published npm package:
|
|
397
|
+
|
|
398
|
+
```bash
|
|
399
|
+
npm install --global opencode-agent-orchestration-kit
|
|
400
|
+
oc-switch
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
To install the current cloned checkout instead:
|
|
320
404
|
|
|
321
405
|
```bash
|
|
322
406
|
npm install --global .
|
|
@@ -327,7 +411,7 @@ After a tagged release is published, you can install the same CLI directly
|
|
|
327
411
|
from GitHub without keeping a checkout:
|
|
328
412
|
|
|
329
413
|
```bash
|
|
330
|
-
npm install --global "git+https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit.git#v1.0.
|
|
414
|
+
npm install --global "git+https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit.git#v1.0.42"
|
|
331
415
|
oc-switch
|
|
332
416
|
```
|
|
333
417
|
|
|
@@ -382,9 +466,24 @@ Try one of these commands:
|
|
|
382
466
|
/feature Add a small settings page with a saved theme preference
|
|
383
467
|
```
|
|
384
468
|
|
|
385
|
-
## Install
|
|
469
|
+
## Install from npm or a checkout
|
|
470
|
+
|
|
471
|
+
The published package can be installed directly from npm:
|
|
472
|
+
|
|
473
|
+
```bash
|
|
474
|
+
npm install --global opencode-agent-orchestration-kit
|
|
475
|
+
oak version
|
|
476
|
+
oak install --dry-run
|
|
477
|
+
oak install
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
The npm install only places the `oak` and `oc-switch` commands on `PATH`. It
|
|
481
|
+
has no install lifecycle script and does not modify OpenCode configuration
|
|
482
|
+
until `oak install` is explicitly run. Previewing first preserves the same
|
|
483
|
+
ownership, collision, and rollback rules as the shell wrappers.
|
|
386
484
|
|
|
387
|
-
|
|
485
|
+
From a cloned checkout, preview and install the harness into your OpenCode
|
|
486
|
+
configuration directory:
|
|
388
487
|
|
|
389
488
|
```bash
|
|
390
489
|
./install.sh --dry-run
|
|
@@ -741,7 +840,7 @@ Validate only the canonical identity and current release note with:
|
|
|
741
840
|
|
|
742
841
|
```bash
|
|
743
842
|
npm run check:version
|
|
744
|
-
node scripts/version.mjs --check-tag v1.0.
|
|
843
|
+
node scripts/version.mjs --check-tag v1.0.42
|
|
745
844
|
```
|
|
746
845
|
|
|
747
846
|
Tag validation compares an explicitly supplied tag with the package identity.
|
|
@@ -919,6 +1018,7 @@ Detailed guides are available in [`docs/`](docs/):
|
|
|
919
1018
|
- [Agents](docs/agents.md)
|
|
920
1019
|
- [Commands](docs/commands.md)
|
|
921
1020
|
- [Workflows](docs/workflows.md)
|
|
1021
|
+
- [Comparison with other OpenCode orchestration approaches](docs/comparison.md)
|
|
922
1022
|
- [Models](docs/models.md)
|
|
923
1023
|
- [Open Design](docs/open-design.md)
|
|
924
1024
|
- [Docker Open Design](docs/docker-open-design.md)
|
|
@@ -929,6 +1029,7 @@ Detailed guides are available in [`docs/`](docs/):
|
|
|
929
1029
|
- [Reproducible use cases](docs/use-cases/README.md)
|
|
930
1030
|
- [Troubleshooting](docs/troubleshooting.md)
|
|
931
1031
|
- [Synology notes](docs/synology.md)
|
|
1032
|
+
- [Awesome OpenCode submission draft](docs/distribution/awesome-opencode-submission.md)
|
|
932
1033
|
|
|
933
1034
|
## Compatibility and scope
|
|
934
1035
|
|
package/docs/commands.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
- `/feature`: full feature orchestration.
|
|
4
4
|
- `/plan`: research, implementation-ready spec, and reviewer pass with no implementation.
|
|
5
5
|
- `/scope`: research plus scoped spec, no implementation.
|
|
6
|
+
- `/loop`: explicitly approved, resumable developer-review loop with durable state and bounded iterations.
|
|
7
|
+
- `/autonomous`: explicitly requested local-only developer-review cycle with deterministic validation and a one-to-six iteration budget.
|
|
6
8
|
- `/mvp-spec`: strict MVP spec with small tasks and clear out of scope.
|
|
7
9
|
- `/design`: design via PRODUCT.md/DESIGN.md, optional Impeccable, and Open Design.
|
|
8
10
|
- `/research`: direct researcher task.
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# OpenCode Agent Orchestration Approaches
|
|
2
|
+
|
|
3
|
+
OpenCode supports several forms of multi-agent orchestration. Some projects
|
|
4
|
+
provide versioned engineering workflows, some add an autonomous mission
|
|
5
|
+
runtime, and others enforce delegation or optimize parallel agent execution.
|
|
6
|
+
The right choice depends on the control model a team needs.
|
|
7
|
+
|
|
8
|
+
This comparison was reviewed against public project documentation on
|
|
9
|
+
2026-08-28. These projects evolve quickly; follow the linked sources before
|
|
10
|
+
making a current feature decision.
|
|
11
|
+
|
|
12
|
+
## What OAK is
|
|
13
|
+
|
|
14
|
+
OpenCode Agent Orchestration Kit (OAK) is an open-source OpenCode orchestrator
|
|
15
|
+
implemented as a local, inspectable configuration and workflow kit. It turns
|
|
16
|
+
OpenCode into a software-engineering team with specialized research, design,
|
|
17
|
+
specification, implementation, validation, and review roles.
|
|
18
|
+
|
|
19
|
+
OAK's primary abstraction is the engineering workflow. Phase contracts define
|
|
20
|
+
who can act, what evidence is required, when a human decision is needed, and
|
|
21
|
+
which agent has completion authority. The configuration, commands, skills,
|
|
22
|
+
contracts, and durable state remain local and version-controlled.
|
|
23
|
+
|
|
24
|
+
## What OAK is not
|
|
25
|
+
|
|
26
|
+
OAK is not a hosted control plane, a general-purpose agent cloud, or an
|
|
27
|
+
unattended software factory. It does not claim arbitrary parallel worker
|
|
28
|
+
execution, implicit worktree orchestration, multi-repository autonomy,
|
|
29
|
+
automatic merging, or unattended deployment.
|
|
30
|
+
|
|
31
|
+
Its bounded workflows deliberately constrain execution:
|
|
32
|
+
|
|
33
|
+
- `/loop` requires a human-approved contract before writes and allows a
|
|
34
|
+
worktree only through explicit opt-in.
|
|
35
|
+
- `/autonomous` is local-checkout-only and prohibits worktrees, parallelism,
|
|
36
|
+
network access, write-enabled connectors, commits, pushes, merges,
|
|
37
|
+
deployments, releases, and publication.
|
|
38
|
+
- Both use finite iteration budgets, deterministic validation, durable state,
|
|
39
|
+
and reviewer-only completion.
|
|
40
|
+
|
|
41
|
+
## Comparison table
|
|
42
|
+
|
|
43
|
+
| Project | Delivery form | Primary orchestration pattern | State and completion | Documented concurrency emphasis |
|
|
44
|
+
|---|---|---|---|---|
|
|
45
|
+
| **OAK** | Versioned OpenCode configuration, commands, skills, contracts, and CLI tools | Explicit software-engineering phases and handoffs | Schema-versioned loop state, append-only history, locks, contract hashes, recovery, and independent reviewer closure | Bounded loops are sequential; `/loop` permits only explicit worktree opt-in and `/autonomous` prohibits worktrees and parallelism |
|
|
46
|
+
| [`agnusdei1207/opencode-orchestrator`](https://github.com/agnusdei1207/opencode-orchestrator) | OpenCode plugin and local runtime | Commander → Planner → Worker → Reviewer mission loop | Persisted missions under `.opencode/`, verification gates, a mission ledger, and local-first memory | Configurable concurrency for planner, worker, and reviewer roles; Rust tooling includes parallel execution primitives |
|
|
47
|
+
| [`code-yeongyu/oh-my-openagent`](https://github.com/code-yeongyu/oh-my-openagent) | Multi-edition agent harness and plugin ecosystem | Main orchestrator delegates to planning, implementation, research, and review specialists | Plans and continuation mechanisms vary by mode; the project documents session recovery and persistent objectives | Background agents and opt-in Team Mode run specialized members in parallel |
|
|
48
|
+
| [`beremaran/opencode-agent-tree`](https://github.com/beremaran/opencode-agent-tree) | OpenCode plugin | An orchestrator-only agent decomposes every request and delegates all hands-on work through a configurable tree | The orchestrator reviews subagent reports and delegates corrections; its hands-on tools are denied by configuration | Its directive encourages parallel fan-out for independent subtasks and supports configurable orchestration depth |
|
|
49
|
+
|
|
50
|
+
The rows describe documented architecture, not feature parity. For example,
|
|
51
|
+
OAK's durable loop contract and `opencode-orchestrator`'s mission runtime both
|
|
52
|
+
persist state, but they assign control and completion authority differently.
|
|
53
|
+
|
|
54
|
+
## OAK vs autonomous mission runtimes
|
|
55
|
+
|
|
56
|
+
An autonomous mission runtime owns the continuing execution loop. It can
|
|
57
|
+
schedule or re-invoke roles until the runtime decides that verification is
|
|
58
|
+
sufficient or escalation is required. This is useful when mission throughput
|
|
59
|
+
and runtime control are primary requirements.
|
|
60
|
+
|
|
61
|
+
OAK instead makes the approved workflow contract the control boundary. Its
|
|
62
|
+
bounded cycles use explicit iteration budgets and stop conditions, and only an
|
|
63
|
+
independent reviewer can close the work. Use this approach when reproducible
|
|
64
|
+
scope, evidence, and human-visible authority matter more than keeping a
|
|
65
|
+
mission running unattended.
|
|
66
|
+
|
|
67
|
+
## OAK vs delegation trees
|
|
68
|
+
|
|
69
|
+
A delegation-tree plugin focuses on ensuring that an orchestrator decomposes
|
|
70
|
+
work and never implements it directly. Deeper trees and parallel fan-out can
|
|
71
|
+
increase specialization or throughput.
|
|
72
|
+
|
|
73
|
+
OAK can delegate among specialized roles, but its central concern is the
|
|
74
|
+
meaning of each engineering phase: what the researcher must establish, what
|
|
75
|
+
the specifier must make testable, what the developer may change, and what the
|
|
76
|
+
reviewer must independently verify. Choose a delegation tree when enforced
|
|
77
|
+
task decomposition is the primary requirement; choose OAK when explicit phase
|
|
78
|
+
contracts and workflow evidence are the primary requirement.
|
|
79
|
+
|
|
80
|
+
## OAK vs large agent frameworks
|
|
81
|
+
|
|
82
|
+
Larger coding-agent frameworks may bundle broad tool suites, model routing,
|
|
83
|
+
background agents, hooks, compatibility layers, and interactive team modes.
|
|
84
|
+
That breadth is useful when one integrated agent environment is the goal.
|
|
85
|
+
|
|
86
|
+
OAK keeps the core OpenCode multi-agent workflow smaller and inspectable. It
|
|
87
|
+
uses OpenCode's model/provider configuration and treats design tools,
|
|
88
|
+
methodology plugins, and observability as optional integrations. The tradeoff
|
|
89
|
+
is deliberate: OAK does not attempt to match every runtime or tool feature of
|
|
90
|
+
a larger framework.
|
|
91
|
+
|
|
92
|
+
## Workflow orchestration vs worker-pool orchestration
|
|
93
|
+
|
|
94
|
+
Workflow orchestration organizes responsibility and evidence across stages:
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
research -> specification -> implementation -> validation -> independent review
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Worker-pool orchestration organizes execution capacity:
|
|
101
|
+
|
|
102
|
+
```text
|
|
103
|
+
decompose -> dispatch independent workers -> collect results -> integrate
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
The models can coexist, but they optimize different constraints. OAK focuses
|
|
107
|
+
on the first model and limits parallel and unattended execution in its bounded
|
|
108
|
+
flows to preserve explicit scope, review authority, and reproducibility.
|
|
109
|
+
|
|
110
|
+
## Choosing an OpenCode orchestration approach
|
|
111
|
+
|
|
112
|
+
Choose OAK when:
|
|
113
|
+
|
|
114
|
+
- You want multi-agent orchestration for OpenCode to follow explicit
|
|
115
|
+
software-engineering contracts.
|
|
116
|
+
- You need research, specification, implementation, and independent review to
|
|
117
|
+
remain separate and auditable.
|
|
118
|
+
- You need durable and resumable local state with finite execution budgets.
|
|
119
|
+
- You want configuration and evidence to remain inspectable and
|
|
120
|
+
version-controlled.
|
|
121
|
+
|
|
122
|
+
Consider a runtime-oriented or delegation-oriented approach when:
|
|
123
|
+
|
|
124
|
+
- Maximum parallel worker throughput is the main objective.
|
|
125
|
+
- You need autonomous execution across many worktrees or repositories.
|
|
126
|
+
- You want a broad bundled tool/model ecosystem or a hosted control plane.
|
|
127
|
+
- You intentionally want an unattended mission runtime rather than bounded
|
|
128
|
+
coding agent orchestration.
|
|
129
|
+
|
|
130
|
+
## Sources
|
|
131
|
+
|
|
132
|
+
- [OAK README](../README.md), [`/loop` contract](../opencode/commands/loop.md),
|
|
133
|
+
and [`/autonomous` contract](../opencode/commands/autonomous.md)
|
|
134
|
+
- [`opencode-orchestrator` README](https://github.com/agnusdei1207/opencode-orchestrator#readme)
|
|
135
|
+
- [`oh-my-openagent` README](https://github.com/code-yeongyu/oh-my-openagent#readme)
|
|
136
|
+
and [orchestration guide](https://github.com/code-yeongyu/oh-my-openagent/blob/dev/docs/guide/orchestration.md)
|
|
137
|
+
- [`opencode-agent-tree` README](https://github.com/beremaran/opencode-agent-tree#readme)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Awesome OpenCode submission draft
|
|
2
|
+
|
|
3
|
+
Target: [`awesome-opencode/awesome-opencode`](https://github.com/awesome-opencode/awesome-opencode)
|
|
4
|
+
|
|
5
|
+
The target's current contribution guide uses one YAML file per entry. OAK is a
|
|
6
|
+
collection of specialized agents and commands rather than a single OpenCode
|
|
7
|
+
plugin, so the recommended category is **Agents**.
|
|
8
|
+
|
|
9
|
+
## Proposed project title
|
|
10
|
+
|
|
11
|
+
OpenCode Agent Orchestration Kit (OAK)
|
|
12
|
+
|
|
13
|
+
## One-line description
|
|
14
|
+
|
|
15
|
+
Open-source multi-agent orchestration harness for reproducible OpenCode software-engineering workflows.
|
|
16
|
+
|
|
17
|
+
## Recommended category and file
|
|
18
|
+
|
|
19
|
+
`data/agents/opencode-agent-orchestration-kit.yaml`
|
|
20
|
+
|
|
21
|
+
## Proposed entry
|
|
22
|
+
|
|
23
|
+
```yaml
|
|
24
|
+
name: OpenCode Agent Orchestration Kit (OAK)
|
|
25
|
+
repo: https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit
|
|
26
|
+
tagline: Open-source multi-agent orchestration harness for reproducible OpenCode engineering workflows.
|
|
27
|
+
description: Local, inspectable OpenCode agent orchestration with specialized research, design, specification, implementation, and review roles; durable workflow state; validation evidence; and bounded autonomous execution.
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Why it fits
|
|
31
|
+
|
|
32
|
+
OAK is directly related to OpenCode and provides a maintained, public,
|
|
33
|
+
Apache-2.0 software-engineering agent harness. It packages specialized agents,
|
|
34
|
+
commands, workflow contracts, local lifecycle tools, durable bounded loops,
|
|
35
|
+
and validation evidence. The repository README already states that the project
|
|
36
|
+
is not affiliated with OpenCode or its optional integrations.
|
|
37
|
+
|
|
38
|
+
## Concise pull-request body
|
|
39
|
+
|
|
40
|
+
```text
|
|
41
|
+
Add OpenCode Agent Orchestration Kit (OAK) to Agent Collections.
|
|
42
|
+
|
|
43
|
+
OAK is an Apache-2.0, local-first multi-agent orchestration harness for OpenCode. It provides specialized engineering roles, explicit workflow contracts, durable bounded execution, independent review, and reproducible validation evidence.
|
|
44
|
+
|
|
45
|
+
Repository: https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Before submitting, re-check the target repository's
|
|
49
|
+
[`contributing.md`](https://github.com/awesome-opencode/awesome-opencode/blob/main/contributing.md)
|
|
50
|
+
and confirm the generated entry is not already present. This repository does
|
|
51
|
+
not open or modify the external pull request automatically.
|
package/docs/installation.md
CHANGED
|
@@ -4,6 +4,26 @@ Prerequisites include Node.js `^22.9.0 || ^24.0.0` and npm. See the
|
|
|
4
4
|
[compatibility matrix](compatibility.md) for supported OpenCode versions,
|
|
5
5
|
platform status, exact integration pins, and evidence.
|
|
6
6
|
|
|
7
|
+
## Install the published CLI package
|
|
8
|
+
|
|
9
|
+
The npm package exposes the dependency-free `oak` lifecycle CLI and the
|
|
10
|
+
`oc-switch` model selector:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install --global opencode-agent-orchestration-kit
|
|
14
|
+
oak version
|
|
15
|
+
oak install --dry-run
|
|
16
|
+
oak install
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
`npm install` does not mutate OpenCode configuration: the package declares no
|
|
20
|
+
`preinstall`, `install`, or `postinstall` lifecycle script. `oak install`
|
|
21
|
+
remains an explicit operation with the ownership, collision, backup, and
|
|
22
|
+
rollback rules documented below.
|
|
23
|
+
|
|
24
|
+
Installing from a cloned checkout remains supported through `./install.sh` or
|
|
25
|
+
`npm install --global .` followed by `oak install`.
|
|
26
|
+
|
|
7
27
|
## Test without a global install
|
|
8
28
|
|
|
9
29
|
```bash
|
package/docs/models.md
CHANGED
|
@@ -16,7 +16,15 @@ export OPENCODE_REVIEWER_MODEL="openai/gpt-5.5"
|
|
|
16
16
|
|
|
17
17
|
## Interactive switching
|
|
18
18
|
|
|
19
|
-
Run `npm run oc-switch` from a checkout, or install the CLI globally
|
|
19
|
+
Run `npm run oc-switch` from a checkout, or install the published CLI globally
|
|
20
|
+
with npm:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install --global opencode-agent-orchestration-kit
|
|
24
|
+
oc-switch
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
To install the current checkout instead:
|
|
20
28
|
|
|
21
29
|
```bash
|
|
22
30
|
npm install --global .
|
|
@@ -26,7 +34,7 @@ oc-switch
|
|
|
26
34
|
Once a release tag exists, a checkout is optional:
|
|
27
35
|
|
|
28
36
|
```bash
|
|
29
|
-
npm install --global "git+https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit.git#v1.0.
|
|
37
|
+
npm install --global "git+https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit.git#v1.0.42"
|
|
30
38
|
oc-switch
|
|
31
39
|
```
|
|
32
40
|
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# v1.0.42 - Safe lifecycle and canonical release identity
|
|
2
|
+
|
|
3
|
+
This patch release makes the package easier to find, evaluate, and install as
|
|
4
|
+
an open-source multi-agent orchestration harness for OpenCode. It clarifies the
|
|
5
|
+
bounded-autonomy model and public safety guarantees without changing runtime
|
|
6
|
+
behavior.
|
|
7
|
+
|
|
8
|
+
## Highlights
|
|
9
|
+
|
|
10
|
+
- Clarify OAK's category, engineering workflow, bounded autonomous execution,
|
|
11
|
+
and intended audience in the README and command documentation.
|
|
12
|
+
- Add a factual comparison of prominent OpenCode orchestration approaches,
|
|
13
|
+
including the tradeoffs that distinguish OAK.
|
|
14
|
+
- Add npm and GitHub discovery metadata plus direct published-package install
|
|
15
|
+
instructions for the `oak` and `oc-switch` CLIs.
|
|
16
|
+
- Add a repository-ready Awesome OpenCode submission draft.
|
|
17
|
+
- Document the repository's validation and supply-chain quality signals.
|
|
18
|
+
|
|
19
|
+
## Installation or upgrade
|
|
20
|
+
|
|
21
|
+
Install or upgrade the published CLI package:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install --global opencode-agent-orchestration-kit@1.0.42
|
|
25
|
+
oak version
|
|
26
|
+
oak install --dry-run
|
|
27
|
+
oak install
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
The npm installation exposes the CLIs but does not mutate OpenCode
|
|
31
|
+
configuration. `oak install` remains a separate, explicit operation.
|
|
32
|
+
|
|
33
|
+
## Migration
|
|
34
|
+
|
|
35
|
+
No migration is required. This release changes public documentation and
|
|
36
|
+
package metadata only; existing harness configuration and runtime behavior
|
|
37
|
+
remain compatible.
|
|
38
|
+
|
|
39
|
+
## Validation performed
|
|
40
|
+
|
|
41
|
+
The full 1,068-test unit and script suite, contract check, type checking,
|
|
42
|
+
dependency vulnerability and signature audits, isolated installation smoke,
|
|
43
|
+
exact-package smoke, clean archive inspection, and release provenance checks
|
|
44
|
+
passed.
|
|
45
|
+
|
|
46
|
+
## Public safety boundary
|
|
47
|
+
|
|
48
|
+
The public release excludes private OpenCode and Pi configuration, local
|
|
49
|
+
providers and MCP wiring, credentials, authentication files, raw transcripts,
|
|
50
|
+
private evidence, absolute machine paths, and runtime state. Pi uses its own
|
|
51
|
+
native model catalog and is not included in this OpenCode package.
|
package/package.json
CHANGED
|
@@ -1,7 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-agent-orchestration-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.42",
|
|
4
4
|
"private": false,
|
|
5
|
+
"description": "Open-source multi-agent orchestration harness for OpenCode with specialized agents, durable workflows, review gates, and reproducible software-engineering processes.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"opencode",
|
|
8
|
+
"opencode-orchestrator",
|
|
9
|
+
"agent-orchestration",
|
|
10
|
+
"multi-agent",
|
|
11
|
+
"multi-agent-orchestration",
|
|
12
|
+
"coding-agents",
|
|
13
|
+
"coding-agent-orchestration",
|
|
14
|
+
"ai-agents",
|
|
15
|
+
"agent-harness",
|
|
16
|
+
"agentic-development",
|
|
17
|
+
"developer-tools"
|
|
18
|
+
],
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit.git"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit#readme",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit/issues"
|
|
26
|
+
},
|
|
27
|
+
"author": "jcarlosrodicio",
|
|
5
28
|
"license": "Apache-2.0",
|
|
6
29
|
"type": "module",
|
|
7
30
|
"bin": {
|
|
@@ -143,7 +143,7 @@ async function benchmarkFixture(fixture, iterations, temporaryRoot) {
|
|
|
143
143
|
const result = await createInstallationManager({
|
|
144
144
|
sourceRoot: fixture.sourceRoot,
|
|
145
145
|
repositoryRoot: fixture.root,
|
|
146
|
-
versionProvider: () => "1.0.
|
|
146
|
+
versionProvider: () => "1.0.42",
|
|
147
147
|
}).run("install", { targetRoot });
|
|
148
148
|
if (result.exitCode !== 0) throw invalid(`installation benchmark failed for ${fixture.id}`);
|
|
149
149
|
} finally {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
|
|
18
18
|
const ROOT = path.dirname(path.dirname(fileURLToPath(import.meta.url)));
|
|
19
19
|
const HASH = "a".repeat(64);
|
|
20
|
-
const BASENAME = "opencode-agent-orchestration-kit-1.0.
|
|
20
|
+
const BASENAME = "opencode-agent-orchestration-kit-1.0.42.tgz";
|
|
21
21
|
const REQUIRED = [
|
|
22
22
|
"package/package.json",
|
|
23
23
|
"package/supply-chain.json",
|
|
@@ -210,7 +210,7 @@ test("smokeTarball validates both archive listings before extraction", async ()
|
|
|
210
210
|
await assert.rejects(
|
|
211
211
|
smokeTarball({
|
|
212
212
|
repositoryRoot: ROOT,
|
|
213
|
-
tarball: "/public/opencode-agent-orchestration-kit-1.0.
|
|
213
|
+
tarball: "/public/opencode-agent-orchestration-kit-1.0.42.tgz",
|
|
214
214
|
captureTarball(_source, destination) {
|
|
215
215
|
fs.writeFileSync(destination, "fixture");
|
|
216
216
|
return { size: 1 };
|
package/scripts/version.test.mjs
CHANGED
|
@@ -109,7 +109,7 @@ test("[V004] direct version entrypoints are exact and mutation-free", (t) => {
|
|
|
109
109
|
for (const args of [["scripts/version.mjs"], ["scripts/manage-installation.mjs", "--version"]]) {
|
|
110
110
|
const result = run(process.execPath, args, { HOME: home });
|
|
111
111
|
assert.equal(result.status, 0, result.stderr);
|
|
112
|
-
assert.equal(result.stdout, "opencode-agent-orchestration-kit 1.0.
|
|
112
|
+
assert.equal(result.stdout, "opencode-agent-orchestration-kit 1.0.42\n");
|
|
113
113
|
assert.equal(fs.existsSync(target), false);
|
|
114
114
|
}
|
|
115
115
|
});
|
|
@@ -118,7 +118,7 @@ test("[V005] all lifecycle wrappers expose the canonical version", () => {
|
|
|
118
118
|
for (const wrapper of ["install.sh", "upgrade.sh", "doctor.sh", "uninstall.sh", "rollback.sh"]) {
|
|
119
119
|
const result = run(path.join(REPOSITORY_ROOT, wrapper), ["--version"]);
|
|
120
120
|
assert.equal(result.status, 0, `${wrapper}: ${result.stderr}`);
|
|
121
|
-
assert.equal(result.stdout, "opencode-agent-orchestration-kit 1.0.
|
|
121
|
+
assert.equal(result.stdout, "opencode-agent-orchestration-kit 1.0.42\n", wrapper);
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
124
|
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
INFO 2026-05-02T10:58:02 +270ms service=default version=1.14.31 args=["models"] process_role=main run_id=a2a78294-b4d4-488d-99c7-9b9e1f6ba68f opencode
|
|
2
|
-
INFO 2026-05-02T10:58:02 +0ms service=db path=/home/opencode/.local/share/opencode/opencode.db opening database
|
|
3
|
-
INFO 2026-05-02T10:58:02 +5ms service=db count=14 mode=bundled applying migrations
|
|
4
|
-
INFO 2026-05-02T10:58:02 +11ms service=json-migration storage directory does not exist, skipping migration
|
|
5
|
-
INFO 2026-05-02T10:58:02 +1ms service=default directory=/app/open-design creating instance
|
|
6
|
-
INFO 2026-05-02T10:58:02 +3ms service=project directory=/app/open-design fromDirectory
|
|
7
|
-
INFO 2026-05-02T10:58:02 +56ms service=file init
|
|
8
|
-
INFO 2026-05-02T10:58:02 +41ms service=provider status=started state
|
|
9
|
-
INFO 2026-05-02T10:58:02 +8ms service=config path=/home/opencode/.config/opencode/config.json loading
|
|
10
|
-
INFO 2026-05-02T10:58:02 +1ms service=config path=/home/opencode/.config/opencode/opencode.json loading
|
|
11
|
-
INFO 2026-05-02T10:58:02 +5ms service=config path=/home/opencode/.config/opencode/opencode.jsonc loading
|
|
12
|
-
INFO 2026-05-02T10:58:02 +3ms service=config path=/home/opencode/.config/opencode/opencode.json loading
|
|
13
|
-
INFO 2026-05-02T10:58:02 +1ms service=config path=/home/opencode/.config/opencode/opencode.jsonc loading
|
|
14
|
-
ERROR 2026-05-02T10:58:02 +13ms service=default name=PlatformError message=Unknown: FileSystem.writeFile (/home/opencode/.config/opencode/.gitignore) cause=Error: EROFS: read-only file system, open '/home/opencode/.config/opencode/.gitignore' stack=Error
|
|
15
|
-
at LA (/$bunfs/root/chunk-2jj9v4nh.js:71:4213)
|
|
16
|
-
at <anonymous> (/$bunfs/root/chunk-jtzgjw2e.js:709:10709)
|
|
17
|
-
at processTicksAndRejections (native:7:39) fatal
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
INFO 2026-05-04T10:21:27 +675ms service=default version=1.14.31 args=["models"] process_role=main run_id=094c93b3-d70c-4527-8e21-87d24f443d76 opencode
|
|
2
|
-
INFO 2026-05-04T10:21:27 +2ms service=default directory=/app/open-design creating instance
|
|
3
|
-
INFO 2026-05-04T10:21:27 +13ms service=project directory=/app/open-design fromDirectory
|
|
4
|
-
INFO 2026-05-04T10:21:28 +980ms service=db path=/home/opencode/.local/share/opencode/opencode.db opening database
|
|
5
|
-
INFO 2026-05-04T10:21:28 +209ms service=db count=14 mode=bundled applying migrations
|
|
6
|
-
INFO 2026-05-04T10:21:28 +124ms service=file init
|
|
7
|
-
INFO 2026-05-04T10:21:29 +393ms service=provider status=started state
|
|
8
|
-
INFO 2026-05-04T10:21:29 +24ms service=config path=/home/opencode/.config/opencode/config.json loading
|
|
9
|
-
INFO 2026-05-04T10:21:29 +20ms service=config path=/home/opencode/.config/opencode/opencode.json loading
|
|
10
|
-
INFO 2026-05-04T10:21:29 +42ms service=config path=/home/opencode/.config/opencode/opencode.jsonc loading
|
|
11
|
-
INFO 2026-05-04T10:21:29 +204ms service=config path=/home/opencode/.config/opencode/opencode.json loading
|
|
12
|
-
INFO 2026-05-04T10:21:29 +46ms service=config path=/home/opencode/.config/opencode/opencode.jsonc loading
|
|
13
|
-
ERROR 2026-05-04T10:21:29 +119ms service=default name=PlatformError message=Unknown: FileSystem.writeFile (/home/opencode/.config/opencode/.gitignore) cause=Error: EROFS: read-only file system, open '/home/opencode/.config/opencode/.gitignore' stack=Error
|
|
14
|
-
at LA (/$bunfs/root/chunk-2jj9v4nh.js:71:4213)
|
|
15
|
-
at <anonymous> (/$bunfs/root/chunk-jtzgjw2e.js:709:10709)
|
|
16
|
-
at processTicksAndRejections (native:7:39) fatal
|
|
Binary file
|
|
Binary file
|
|
File without changes
|