What is OpenAgents Control?
OpenAgents Control (OAC) is an open-source agent framework built on OpenCode. It sits in the Coding-Agent Harnesses & Runtimes category of the AI Coding tools and is open-source, written in TypeScript and licensed MIT. To get started: install with the developer profile.
Overview
OpenAgents Control (OAC) is an open-source agent framework built on OpenCode. It adds a set of main agents, specialist subagents, slash commands and a context system to OpenCode so that coding work follows a fixed loop: the agent discovers your project's patterns, proposes a plan, waits for you to approve it, then implements it step by step with validation. The README states that agents always request approval before writing or editing files, running bash commands or delegating to subagents.
The centre of the project is its context system. You describe your stack, an example API endpoint, an example component, naming conventions, code standards and security requirements once through the /add-context wizard, and the answers are stored as small markdown files under .opencode/context/. A ContextScout subagent finds the relevant files before code is generated, and because the files live in the repo a team can commit them so every member's agents follow the same standards. The project calls its file-size discipline MVI (Minimal Viable Information): context files are kept short and loaded lazily rather than loading the whole codebase.
Three main agents cover different jobs: OpenAgent for general tasks, questions and learning the system; OpenCoder for production development and multi-file refactoring, with a discover, propose, approve, execute, validate and ship flow; and SystemBuilder, an interactive wizard that generates custom orchestrators, subagents, context files, workflows and commands for a domain. They delegate to subagents such as TaskManager, CoderAgent, TestEngineer, CodeReviewer, BuildAgent, DocWriter and ExternalScout, which fetches live documentation for external libraries. Every agent is a markdown file you can edit, including the model it uses, and OAC works with any model OpenCode supports. A Claude Code plugin version is also published, marked beta in the README. The project is MIT-licensed.
What it does
- Approval gates: agents propose a plan and ask before writing files, running bash commands or delegating to subagents
- Context system: the /add-context wizard records your stack, example code, naming conventions and standards as markdown files that agents load before generating code
- Three main agents (OpenAgent, OpenCoder, SystemBuilder) plus auto-delegated subagents for task breakdown, coding, tests, code review, builds, docs and live external documentation
- Agents are plain markdown files: edit workflows, constraints or the per-agent model in the frontmatter without compiling anything
- Team-shareable patterns: commit .opencode/context/ to the repo so every developer's agents use the same standards
- Model-agnostic through OpenCode, with a beta Claude Code plugin that ships seven subagents and a six-stage approval workflow
Getting started
OAC needs the OpenCode CLI, Bash 3.2+ and Git; the installer sets up OpenCode if it is missing. On Windows the README recommends Git Bash or WSL.
Install with the developer profile
curl -fsSL https://raw.githubusercontent.com/darrenhinde/OpenAgentsControl/main/install.sh | bash -s developerOr run the installer interactively
The interactive installer asks whether to install locally into the project's .opencode/ folder (recommended for teams) or globally into ~/.config/opencode/.
curl -fsSL https://raw.githubusercontent.com/darrenhinde/OpenAgentsControl/main/install.sh -o install.sh
bash install.shStart an agent
OpenAgent is the starting point. It analyses the request, proposes a plan for you to approve, then executes with validation and delegates to specialists when needed. Use OpenCoder for larger production work.
opencode --agent OpenAgent
> "Create a user authentication system"Teach it your patterns
Inside OpenCode, run the context wizard and answer its six questions about your stack, example code, naming conventions, standards and security rules. Rerun it with --update as the project changes.
/add-contextKeep OAC updated
Add --install-dir PATH if you installed to a custom location.
curl -fsSL https://raw.githubusercontent.com/darrenhinde/OpenAgentsControl/main/update.sh | bashCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Generate features that follow a team's existing API, component and naming conventions instead of generic code that needs rework
- Keep a human review step in front of every file edit and shell command an AI coding agent makes
- Share one set of coding standards across a team by committing the agents' context files to the repository
- Build a domain-specific agent system with its own orchestrator, subagents and commands using SystemBuilder
How OpenAgents Control compares
OpenAgents Control alongside other open-source coding-agent harnesses & runtimes tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| CC Switch | ★ 158k | A cross-platform desktop app that manages provider configuration for eight coding-agent CLIs from one place, with a local failover proxy, MCP and skill management, and spend tracking. |
| Oh My OpenAgent | ★ 71.2k | Opinionated agent bundle for OpenCode and Codex CLI that ships preconfigured sub-agents, lifecycle hooks and built-in MCP servers behind a single ultrawork command. |
| herdr | ★ 53.7k | A single-binary terminal multiplexer built for coding agents: persistent sessions across local and SSH machines, per-pane working/blocked/idle status, and a socket API agents drive themselves. |
| oh-my-claudecode | ★ 41.1k | A plugin and CLI that adds multi-agent orchestration to Claude Code: staged autopilot workflows, parallel tmux workers, and advisors that route a second opinion to Codex, Gemini, Grok or Cursor. |
| DSH Go | ★ 35.2k | A native Android client for DeepSeek Harness that runs the agent on the phone in a built-in Linux environment or drives DSH on your computer or server over SSH, with plugins and phone control. |
| AionUi | ★ 34.6k | An open-source desktop workspace that pairs a built-in agent engine with dozens of external CLI agents, adding scheduled runs, MCP tools and remote access from a WebUI or chat apps. |
| cc-connect | ★ 16.5k | A Go daemon that bridges local coding agents — Claude Code, Codex, Cursor Agent, Gemini CLI, OpenCode, Kimi CLI and more — to Feishu, DingTalk, Slack, Telegram, Discord, LINE and WeCom, so you drive them from chat. |
| OpenAgents Control | ★ 5k | Plan-first OpenCode agents that learn your coding patterns and ask before they act |
