Get from zero to a running feature pipeline using OpenCode and MAPLE.
| Tool | Install |
|---|---|
| OpenCode | npm install -g opencode-ai |
| GitHub CLI | brew install gh |
| Git | pre-installed on macOS/Linux |
| Go 1.22+ | brew install go (only to build from source) |
| Node.js | brew install node (Playwright E2E tests + npx skills) |
| Docker | docker.com/get-started |
Pre-built binary (recommended):
curl -fsSL https://raw.githubusercontent.com/kinncj/maple/main/scripts/install.sh | bashInstalls to ~/.tools/maple/bin/. Add to your shell profile:
export PATH="$HOME/.tools/maple/bin:$PATH"From source:
git clone https://github.com/kinncj/maple.git
cd maple
make build-tui # produces ./maple
export PATH="$PWD:$PATH"Verify: maple --version
OpenCode reads opencode.json in your project root. MAPLE ships a pre-configured one that uses Anthropic and GitHub Copilot providers. Edit it to match your available API keys:
{
"providers": {
"anthropic": { "apiKey": "$ANTHROPIC_API_KEY" },
"github-copilot": {}
}
}For GitHub Copilot, authenticate with:
gh auth login --scopes copilotcd your-project-directory
maple initmaple init copies .opencode/ agents along with skills, hooks, Makefile stubs, and docs structure into the current directory.
The Makefile ships with stubs. Open Makefile and replace the recipe bodies with your stack's commands before running any feature pipeline.
gh auth login
maple labels # create MAPLE phase labels on the repo
maple project # create a GitHub Project v2 boardPress n in the maple dashboard to open the Gherkin requirements wizard, or run maple req directly. The wizard produces a story file at docs/stories/{slug}/Story.md with embedded Gherkin and links it to a GitHub Issue.
Open the project in OpenCode:
opencode .Then run:
/feature "short description of what you want to build"
The orchestrator follows the same 8-phase pipeline as in Claude Code. Agent routing in OpenCode uses the permission.task list in .opencode/agents/orchestrator.md.
OpenCode agents declare their own model in frontmatter. MAPLE's defaults:
| Agent | Model |
|---|---|
orchestrator, architect |
anthropic/claude-opus-4-7 |
| Implementation agents | github-copilot/claude-sonnet-4.5 |
kubernetes, terraform, docker |
copilot/gpt-4.1 |
Change any agent's model by editing the model: field in its .opencode/agents/{name}.md file.
| Command | What it does |
|---|---|
/feature "description" |
Full 8-phase pipeline |
/bugfix "description" |
Reproduce → fix → validate → CHANGELOG |
/validate |
Run full test suite |
/tdd "requirement" |
Single RED → GREEN → REFACTOR cycle |