@oracleot-tools/orchestrate
Shareable Pi package for the orchestrate hub-and-spoke workflow.
Package details
Install @oracleot-tools/orchestrate from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@oracleot-tools/orchestrate- Package
@oracleot-tools/orchestrate- Version
0.1.0- Published
- Jun 25, 2026
- Downloads
- 55/mo · 12/wk
- Author
- oracleot-tools
- License
- unknown
- Types
- extension
- Size
- 59.3 KB
- Dependencies
- 0 dependencies · 5 peers
Pi manifest JSON
{
"extensions": [
"extensions/hub/index.ts",
"extensions/subagent/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@oracleot-tools/orchestrate
Shareable Pi package for the orchestrate hub-and-spoke workflow.
What it includes
/orchestrateand/hubcommands via the bundled hub extensionsubagenttool via the bundled subagent extension- bundled base agents:
orchestratorplannerscoutworker
Install
Use the published npm package for the normal user install path:
pi install npm:@oracleot-tools/orchestrate
Use -l only when the current project should load this package from project-local settings (.pi/settings.json) instead of your user settings:
pi install -l npm:@oracleot-tools/orchestrate
For installed package sources, receive future updates with:
pi update --extensions
# or
pi update --all
Contributor and local workspace usage
Install from the extracted workspace package directory when testing from a checkout:
pi install /absolute/path/to/pi/packages/orchestrate
The repository root is a workspace root only; install the package from packages/orchestrate, not from the repo root.
If you intentionally want a checkout-based override only for the current repo, add -l to the install command. Prefer the published npm source for shareable project settings and end-user docs.
How it works
- The package ships its own bundled/package base agents under
agents/. - Project-local agents discovered from the nearest
.pi/agentsoverride bundled/package agents with the same name when scope allows it. /orchestrateuses the bundled/package or project-localorchestratoragent and disables direct main-session editing while orchestration is active.- In hub mode, obvious mutating main-session
bashcommands are also blocked so file changes keep flowing through delegated subagents. - If the project does not appear to have suitable project-local specialist agents for the repo as a whole, the orchestrator first proposes a durable project-scoped agent set based on the codebase's overall stack and architecture, waits for approval, then delegates agent-file creation to
worker. /orchestratecan be run with or without a task. With a task, bootstrap still happens first when needed; without a task, it performs bootstrap-only agent discovery/proposal for the repo.
Project-local agents
This workspace keeps durable repository specialists in the repo-root .pi/agents/. Those agents remain project-local resources and are not moved into or published with this package.
When you run Pi from packages/orchestrate or another nested workspace path, hub/subagent discovery still walks upward to the nearest .pi/agents/ directory.
In subagent calls, agentScope: "user" still means bundled/package agents only. Use agentScope: "both" or "project" to include project-local agents.