GitHub
OpenCastle illustration
Open Source · MIT License

AI agents that build
software together.

OpenCastle turns GitHub Copilot, Cursor, and Claude Code into coordinated multi-agent development teams. One orchestrator. Seventeen specialists. Zero chaos.

Everything you need to orchestrate AI agents at scale.

A complete framework of instructions, skills, agent definitions, workflow templates, and quality gates — battle-tested on a production codebase.

Team Lead Orchestrator

A single coordinator that analyzes, decomposes, delegates, and verifies work across specialist agents — never writes code itself.

17 Specialist Agents

From frontend developer to security expert, each with curated tools, model tiers, and domain-specific skills.

27 On-Demand Skills

Modular knowledge files loaded per task. Keeps context windows lean while enabling deep domain expertise.

8 Workflow Templates

Reproducible execution plans for features, bug fixes, data pipelines, schema changes, security audits, and more.

Quality Gates

Panel majority vote with independent reviewers, deterministic lint/test/build checks, and browser testing at multiple breakpoints.

Self-Improvement

Agents capture lessons learned from retries and failures, then graduate them into permanent instructions.

Specialized agents, intelligent routing.

17 specialist agents, each with its own model tier, tool access, and file partition. The Team Lead orchestrator routes tasks based on complexity scoring.

Team Lead
Architect
Security Expert
Developer
UI/UX Expert
Content Engineer
Database Engineer
Performance Expert
API Designer
Testing Expert
Data Expert
DevOps Expert
Release Manager
Documentation Writer
Researcher
Copywriter
SEO Specialist
Premium
Claude Opus 4.6
Architecture, security, orchestration
Standard
Gemini 3.1 Pro
Features, schemas, UI
Utility
GPT-5.3-Codex
Testing, pipelines, deploy
Economy
GPT-5 mini
Documentation

One command. Any IDE.

Run npx opencastle init and select your IDE. The CLI generates the right file format automatically — Copilot agents, Cursor .mdc rules, or Claude Code commands — plus MCP server configs.

# Install OpenCastle
$ npx opencastle init

# Choose your IDE:
  1) VS Code      — .github/ agents, instructions, skills
  2) Cursor       — .cursorrules & .cursor/rules/*.mdc
  3) Claude Code  — CLAUDE.md & .claude/ commands

# Other commands
$ npx opencastle update  # Update framework, preserve customizations
$ npx opencastle diff    # Preview what update would change
$ npx opencastle eject   # Remove dependency, keep files

Reproducible execution plans for every task type.

8 workflow templates define phases, agent assignments, exit criteria, and file partitions. 8 prompt templates cover common tasks from brainstorming to PR reviews.

Template Pipeline
feature-implementation Brainstorm → Research → Foundation → Integration → Validation → QA Gate
bug-fix Triage & Reproduce → Root Cause Analysis → Fix → Verification
data-pipeline Source Analysis → Scraping → Processing → Validation → Import
security-audit Scope → Automated Checks → Manual Review → Panel Review → Remediation
performance-optimization Baseline Measurement → Analysis → Optimization → Verification
schema-changes Schema Analysis → Implementation → Query Updates → Page Integration → Verification
database-migration Planning → Migration → Type Generation → Code Integration → Rollback Test
refactoring Scope & Baseline → Test Coverage → Refactor → Verification → Panel Review

No code ships without verification.

Multi-layered quality assurance — from automated lint checks to panel reviews with three independent AI reviewers.

01 Deterministic Checks

Lint, type-check, unit tests, and build verification run automatically after every agent output. No false positives.

02 Panel Majority Vote

Three isolated reviewer sub-agents evaluate high-stakes changes. 2/3 majority wins. BLOCK items become fix requests, not stop signals.

03 Browser Testing

Chrome DevTools MCP validates UI changes at three breakpoints: Mobile (375px), Tablet (768px), Desktop (1440px).

04 Self-Review

Every agent is asked: “What edge cases am I missing? What test coverage is incomplete? What assumptions could be wrong?”

Track every delegation, every session, every lesson.

A real-time dashboard shows agent performance, model tier distribution, session timelines, and panel review outcomes.

opencastle.dev/dashboard
OpenCastle Observability Dashboard — showing session metrics, model tier distribution, and recent agent sessions
View live demo →

A complete orchestration framework, out of the box.

52K+ words of curated knowledge, and everything you need to run a coordinated AI development team — from agent definitions to quality gates.

17
Specialist Agents
27
On-Demand Skills
8
Workflow Templates
3
IDE Adapters

MCP servers, ready to connect.

OpenCastle ships with Model Context Protocol server configs for popular services. Agents get direct tool access — no manual wiring required.

Linear Issue tracking & task management
Supabase Database, auth & type generation
Sanity Headless CMS & content queries
Vercel Deployment & environment management
Chrome DevTools Browser testing & visual validation
Slack Notifications & team updates

Ready to orchestrate?

One command to install. One Team Lead to coordinate. Seventeen specialists ready to build.