{"id":47738518,"url":"https://github.com/monkilabs/opencastle","last_synced_at":"2026-04-06T11:00:34.609Z","repository":{"id":341108679,"uuid":"1167299084","full_name":"monkilabs/opencastle","owner":"monkilabs","description":"Multi agens orchestration setup for Github Copilot, Cursor, Claude Code, OpenCode, Windsurf, Codex and Antigravity.","archived":false,"fork":false,"pushed_at":"2026-04-02T08:27:21.000Z","size":14562,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-03T07:56:45.822Z","etag":null,"topics":["ai","ai-agents","ai-agents-automation","ai-agents-cli","ai-agents-framework","ai-agents-mcp","ai-coding-agent","ai-coding-assistant","ai-coding-tools","claude-ai","copilot","copilot-coding-agent","cursor-ai","multi-agent","multi-agent-system","orchestration","orchestration-framework","orchestration-systems","vibe-coding","vibecoding"],"latest_commit_sha":null,"homepage":"http://www.opencastle.dev/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monkilabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"ko_fi":"A0A61V4992"}},"created_at":"2026-02-26T06:28:10.000Z","updated_at":"2026-04-02T08:27:20.000Z","dependencies_parsed_at":"2026-03-18T12:07:54.857Z","dependency_job_id":null,"html_url":"https://github.com/monkilabs/opencastle","commit_stats":null,"previous_names":["etylsarin/opencastle","monkilabs/opencastle"],"tags_count":76,"template":false,"template_full_name":null,"purl":"pkg:github/monkilabs/opencastle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkilabs%2Fopencastle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkilabs%2Fopencastle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkilabs%2Fopencastle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkilabs%2Fopencastle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monkilabs","download_url":"https://codeload.github.com/monkilabs/opencastle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkilabs%2Fopencastle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31469743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-agents","ai-agents-automation","ai-agents-cli","ai-agents-framework","ai-agents-mcp","ai-coding-agent","ai-coding-assistant","ai-coding-tools","claude-ai","copilot","copilot-coding-agent","cursor-ai","multi-agent","multi-agent-system","orchestration","orchestration-framework","orchestration-systems","vibe-coding","vibecoding"],"created_at":"2026-04-02T23:11:36.851Z","updated_at":"2026-04-06T11:00:34.602Z","avatar_url":"https://github.com/monkilabs.png","language":"TypeScript","funding_links":["https://ko-fi.com/A0A61V4992"],"categories":["Harnesses \u0026 orchestration"],"sub_categories":["Orchestrators \u0026 autonomous loops"],"readme":"# OpenCastle\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"opencastle-logo.png\" alt=\"OpenCastle\" width=\"480\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eTurn your AI coding assistant into a multi-agent team.\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/monkilabs/opencastle/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/monkilabs/opencastle?style=flat\" alt=\"GitHub stars\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/opencastle\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/opencastle.svg?v=1\" alt=\"npm version\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/monkilabs/opencastle/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/monkilabs/opencastle/actions/workflows/ci.yml/badge.svg\" alt=\"CI\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/opencastle\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/opencastle.svg?v=1\" alt=\"downloads\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.opencastle.dev/\"\u003eWebsite\u003c/a\u003e \u0026middot;\n  \u003ca href=\"https://www.opencastle.dev/docs/\"\u003eDocs\u003c/a\u003e \u0026middot;\n  \u003ca href=\"#quick-start\"\u003eQuick Start\u003c/a\u003e \u0026middot;\n  \u003ca href=\"ARCHITECTURE.md\"\u003eArchitecture\u003c/a\u003e \u0026middot;\n  \u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nWorks with **[GitHub Copilot](https://github.com/features/copilot)**, **[Cursor](https://www.cursor.com/)**, **[Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview)**, **[OpenCode](https://opencode.ai/)**, **[Windsurf](https://windsurf.com/)**, **[Codex CLI](https://github.com/openai/codex)**, and **[Antigravity](https://developers.google.com/)**.\n\nOne command sets up specialized agents that decompose tasks, work in parallel, and verify each other's output — interactively through IDE chat or automated via the Convoy Engine.\n\nUse it live in your IDE. Run it overnight with the CLI.\n\n\u003cbr\u003e\n\n## Quick Start\n\n```bash\nnpx opencastle init\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"opencastle-init.gif\" alt=\"npx opencastle init\" width=\"720\" /\u003e\n\u003c/p\u003e\n\nThe CLI asks about your IDEs and stack. It installs agents, skills, and MCP servers tailored to your project.\n\nYou can select multiple IDEs and tools — the output is adapted for each one.\n\n\u003cbr\u003e\n\n### What gets generated\n\n| IDE | Output |\n|-----|--------|\n| **VS Code** | `.github/` — agents, skills, workflows, prompts |\n| **Cursor** | `.cursorrules` + `.cursor/rules/` |\n| **Claude Code** | `CLAUDE.md` + `.claude/` |\n| **OpenCode** | `AGENTS.md` + `.opencode/` + `opencode.json` |\n| **Windsurf** | `.windsurfrules` + `.windsurf/rules/` |\n| **Codex CLI** | `AGENTS.md` + `.codex/` |\n| **Antigravity** | `GEMINI.md` + `.gemini/` |\n\nMCP servers are auto-configured for your stack in each IDE's native format.\n\n\u003cbr\u003e\n\n### Project CLI\n\n| Command | Description |\n|---------|-------------|\n| `opencastle init` | Set up agents in your project |\n| `opencastle update` | Update framework files (keeps your customizations) |\n| `opencastle eject` | Remove the dependency, keep all files |\n| `opencastle destroy` | Remove ALL OpenCastle files (reverse of init) |\n| `opencastle skills` | Skill refinement and failure tracking |\n| `opencastle package` | Package orchestrator as a plugin for IDE marketplaces |\n\n### Convoy CLI\n\n| Command | Description |\n|---------|-------------|\n| `opencastle start` | Go from idea to convoy spec in one command (PRD → validate → convoy → validate → fix) |\n| `opencastle plan` | Run a single prompt template step (generate PRD, convoy spec, or validate) |\n| `opencastle validate` | Validate a convoy YAML spec file without executing it |\n| `opencastle run` | Run the Convoy Engine (deterministic, crash-recoverable orchestrator) |\n| `opencastle dispute` | Manage convoy dispute resolution |\n\n### Observability CLI\n\n| Command | Description |\n|---------|-------------|\n| `opencastle dashboard` | Open the observability dashboard |\n| `opencastle doctor` | Validate your setup and surface issues |\n| `opencastle agents` | Manage persistent agent identities |\n| `opencastle baselines` | Manage visual regression baselines |\n| `opencastle log` | Append a structured event to the observability log |\n| `opencastle lesson` | Append a structured lesson to LESSONS-LEARNED.md |\n| `opencastle artifacts` | Manage filesystem artifact storage (prune old convoy artifacts) |\n| `opencastle insights` | Analyze convoy execution history and generate recommendations |\n\nAdd `--dry-run` to any command to preview what it would change without writing files.\n\n📖 [Full CLI documentation →](https://www.opencastle.dev/docs/cli)\n\n\u003cbr\u003e\n\n## What's Inside\n\n**Specialist Agents.** Developer, UI/UX, Database, Security, Testing, Reviewer, and more.\n\n**On-Demand Skills.** Loaded on demand to keep context windows lean. Auto-selected during init based on your stack. All 51 skills and plugins scored 100% on the [tessl Skill Evaluator](https://tessl.io/registry?q=opencastle).\n\n**Workflow Templates.** Features, bug fixes, data pipelines, security audits — reproducible execution templates.\n\n**Quality gates.** Fast review after every step. Panel majority vote for high-stakes changes. Lint, test, build checks.\n\n**Cost-aware routing.** Picks the right model tier (Premium → Quality → Standard → Fast → Economy) based on task complexity.\n\n**Self-improving.** Agents capture lessons and graduate them into permanent instructions.\n\n**Hybrid by design.** Use OpenCastle interactively through IDE chat for hands-on development, or run automated batch jobs overnight via the Convoy Engine.\n\n\u003cbr\u003e\n\n## Dashboard\n\n```bash\nnpx opencastle dashboard\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"dashboard-screenshot.png\" alt=\"OpenCastle Dashboard\" width=\"800\" /\u003e\n\u003c/p\u003e\n\nVisualizes real agent data from your project — sessions, success rates, model usage, execution logs, and panel reviews.\n\nReads from the same NDJSON logs your agents already write. No setup needed.\n\n📖 [Dashboard CLI documentation →](https://www.opencastle.dev/docs/cli#dashboard)\n\n\u003cbr\u003e\n\n## Doctor\n\n```bash\nnpx opencastle doctor\n```\n\nRuns multiple health checks — manifest, configs, skills, observability logs, IDE settings, MCP setup, and environment variables. Useful in CI or after upgrading.\n\n📖 [Doctor CLI documentation →](https://www.opencastle.dev/docs/cli#doctor)\n\n\u003cbr\u003e\n## Convoy Engine\n\nA deterministic, crash-recoverable orchestrator inspired by Steve Yegge's [Gas Town](https://github.com/steveyegge/gastown). Define tasks in YAML, run overnight, resume after crashes.\n\n```bash\nnpx opencastle run convoy.yml\n```\n\n```yaml\n# convoy.yml\nname: \"Overnight feature batch\"\nversion: 1\nadapter: claude\nbranch: feat/reviews\n\ntasks:\n  - id: migrate-db\n    agent: database-engineer\n    prompt: \"Create a reviews table migration.\"\n    files: [\"db/migrations/\"]\n\n  - id: build-component\n    agent: ui-ux-expert\n    prompt: \"Build a ReviewCard component.\"\n    files: [\"src/components/reviews/\"]\n\n  - id: wire-page\n    agent: developer\n    prompt: \"Add reviews to the place detail page.\"\n    depends_on: [migrate-db, build-component]\n    files: [\"src/pages/places/\"]\n\ngates:\n  - npm run lint\n  - npm run test\n```\n\n- **Crash-safe** — SQLite WAL persistence survives crashes, power loss, OOM kills. Resume with `--resume`.\n- **Isolated** — each worker runs in its own git worktree. Changes merge back in dependency order.\n- **Observable** — real-time dashboard auto-starts during execution.\n- **Multi-runtime** — mix Copilot, Claude Code, Cursor, OpenCode, Windsurf, Codex, and Antigravity in the same convoy.\n\nGenerate a validated convoy spec from a plain text description — no YAML by hand:\n\n```bash\nnpx opencastle start --text \"Add user reviews to the place detail page\"\n```\n\nThe start command runs 7 steps automatically: generate PRD → validate PRD → auto-fix PRD if needed → assess complexity → generate convoy spec → validate spec → auto-fix spec if needed. For lower-level control, use `opencastle plan` to run individual steps.\n\n📖 [Full Convoy Engine documentation →](https://www.opencastle.dev/docs/cli#run)\n\n\u003cbr\u003e\n\n## Architecture\n\nSee **[ARCHITECTURE.md](ARCHITECTURE.md)** for the full diagram, workflow templates, and quality gates.\n\n\u003cbr\u003e\n\n## Contributing\n\n1. Fork the repo\n2. Create a branch — `feat/your-feature` or `fix/your-fix`\n3. Make changes and ensure `npm run build:cli` passes\n4. Open a PR\n\nFor large changes, [open an issue](https://github.com/monkilabs/opencastle/issues) first.\n\n\u003cbr\u003e\n\n## Support\n\nOpenCastle is free and open-source.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://ko-fi.com/A0A61V4992\" target=\"_blank\"\u003e\u003cimg height=\"36\" style=\"border:0px;height:36px;\" src=\"https://storage.ko-fi.com/cdn/kofi4.png?v=6\" border=\"0\" alt=\"Buy Me a Coffee at ko-fi.com\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nFor corporate sponsorship inquiries, open a [GitHub Discussion](https://github.com/monkilabs/opencastle/discussions).\n\n\u003cbr\u003e\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkilabs%2Fopencastle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonkilabs%2Fopencastle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkilabs%2Fopencastle/lists"}