An intelligent, multi-agent CLI framework for software engineering automation.
This repository provides the installer, templates, and documentation. The actual framework lives in opencode-core.
curl -fsSL https://apiad.github.io/opencode/install.sh | bashThe installer supports two modes:
| Mode | Description | Use Case |
|---|---|---|
--mode=copy |
Copy framework files into your project | Self-contained, no external dependencies |
--mode=link |
Link to opencode-core as a git submodule | Auto-updates with the framework |
# Interactive mode (prompts for mode selection)
curl -fsSL https://apiad.github.io/opencode/install.sh | bash
# Explicit copy mode
curl -fsSL https://apiad.github.io/opencode/install.sh | bash -s -- --mode=copy
# Explicit link mode
curl -fsSL https://apiad.github.io/opencode/install.sh | bash -s -- --mode=linkRun --help for all options.
OpenCode uses a two-repository architecture:
| Repository | Purpose |
|---|---|
| opencode (this repo) | Installer, templates, documentation |
| opencode-core | Framework runtime, agents, commands |
When you install OpenCode, the script pulls templates from this repository and links them with the core framework.
- Disciplined Workflows — Agents follow structured phases: discovery → planning → execution → verification
- Test-Commit-Revert (TCR) — Built-in TDD discipline for all code changes
- Evidence-Based — Every claim cites specific sources
- Configurable — Customize agents, commands, and style guidelines
- User Guide — Getting started and usage
- Developer Guide — Contributing and development
- Deployment — Installation modes and hosting
- Updating — Keeping your installation up-to-date
MIT License - see LICENSE file for details.