Skip to content

rkz91/coco


Coco

Coco: The Universal AI Agent Orchestration Framework

Transform your AI coding assistant into a high-performance engineering team, backed by an advisory board of 389 world-class minds.

Free | MIT License | 90-Second Onboarding


License: MIT Version Skills Commands Personas CI


     Install        Superintelligence        Core Architecture        Skills        Systems        Demos  


/SI-Decide --debate: a routed expert panel argues in reacting rounds before an attributed verdict

A real /SI-Decide --debate run — Coco routes an expert panel, deliberates in reacting rounds, and returns an attributed verdict with named dissent.

One developer writing single prompts? That was last year.

Coco turns your AI coding session into an entire engineering department. It spawns specialized agents, runs parallel code tasks, coordinates complex review panels, persists phase state across resets, and enforces deterministic verification gates before code is committed.

git clone https://github.com/rkz91/coco.git && cd coco && bash install.sh
90 seconds. That's all it takes to wire Coco's workspace engine into your IDE.

Core Feature: Coco Superintelligence

A Cross-Team Advisory Board of 389 World-Class Minds

Coco's signature differentiator is Superintelligence. It allows you to summon custom, real-world expert panels directly inside your coding sessions to guide architectural, engineering, risk, finance, and business decisions:

/SI-Decide "Should we migrate our database to pgvector?"
/SI-AI-Decide "Which embedding model gives the best cost/performance?"
/SI-Eng-Pre-Mortem "Review our zero-downtime cache migration strategy"
/SI-GRC-Review "Check this customer onboarding flow for GDPR compliance"
  • 389 Expert Personas: Organized across 9 specialized departments:
    • Engineering (70 experts): Experts in software architecture, cloud systems, systems coding, compilers, and infrastructure.
    • AI (59 experts): Neural network research, LLM optimization, safety, alignment, and vector database engineering.
    • Product and Design (56 experts): Design systems, UX design, product strategy, and growth loops.
    • Finance (47 experts): Valuation, corporate finance, macroeconomic modeling, and fintech infrastructure.
    • Trading (46 experts): Quantitative analysis, market microstructure, derivatives pricing, and crypto liquidity.
    • Risk and Compliance / GRC (30 experts): GDPR, HIPAA, SOC2 compliance, security auditing, and international regulations.
    • Strategy (29 experts): Platform economics, business models, competitive analysis, and strategic growth.
    • Data and Analytics (29 experts): Data engineering, pipeline optimization, predictive modeling, and analytics stacks.
    • Sales / GTM / Marketing (23 experts): Product-market fit, sales operations, growth marketing, and enterprise GTM.
  • 242 Generated Slash Commands: Comprises 17 Cross-Team Meta Commands (like /SI-Decide or /SI-Tradeoff routing across multiple domains) and 225 Per-Team Commands (25 per team, such as /SI-AI-Decide or /SI-Eng-Pre-Mortem).
  • Cross-Team Meta-Orchestration: For complex queries spanning domains ("build and sell an AI audit tool"), a Stage-A local router uses nomic-embed to score the prompt against team registries and cells, greedily picking a proportional 16-32 person panel.
  • Citable and Grounded: Every stance is verified from public sources and carries a direct evidence URL. Personas are validated against a strict anti-fabrication gate.

The Selection Algorithm (Two-Stage Routing + Approval)

The Meta-Orchestrator uses a staged algorithm to avoid loading massive file systems at runtime — two routing stages (team/cell, then scoped personas) followed by an approval-and-execution step:

  1. Stage A: Team and Cell Routing (Cheap): Reads the meta-registry (superintelligence/registry.json) and scans only the team descriptions and cell definitions. It scores team relevance using keyword and domain overlap, selecting the top 1-4 teams. If a single team dominates, it delegates to that team's normal orchestrator.
  2. Stage B: Scoped Persona Selection (Scoped): Loads compact persona records (slugs, cells, domains, stances, conflict mappings) for only the selected teams. It allocates the 16-32 panel budget proportionally to team relevance, runs the greedy scorer (0.40·domain + 0.30·cell-coverage + 0.30·conflict-pairing), and applies a cross-team tension pass to pair opposing viewpoints (e.g., security vs. growth).
  3. Stage C: Approval and Execution: Presents the roster grouped by team with a one-line selection rationale. The executing action verb consumes the approved roster, and the resulting output includes full line-by-line attribution (e.g., "Aswath Damodaran (Finance): ...").

Persona Build and Validation Pipeline

The 389-persona roster was compiled using a systematic multi-tier workflow:

  • Generation: Evaluated Local Qwen 3.6 (via LM Studio) -> GPT-5-Nano (via QB Gateway) -> Gemini 3.5 Flash -> Claude Research Agents (web search). Claude research agents proved to be the quality winner for resolving historical data and cited Signal.
  • Validation Gate: Run via validate_persona.py, enforcing that every persona must have at least 4 live, non-404 cited evidence URLs, a valid home team, no fabricated quotes, and at least 2 verified signals within the last 12 months (or archetype persistent signals for historical figures).

The Coco Asset Library

A standard installation equips your workspace with a lightweight set of tools, while full activation unlocks up to 864 total assets to orchestrate any software engineering workflow:

146

Skills
63 Core + 83 Bundle

277

Slash Commands
35 Core + 242 Bundle

34

Specialized Agents
10 Core + 24 Bundle

389

Expert Personas
Superintelligence Board

15

Cross-IDE Rules
Cursor MDC Rules
Core Installation: 123 active assets (63 Skills, 35 Commands, 10 Agents, 15 Rules)
Orchestration Bundles: +68 GSD skills · +24 GSD agents · +6 Brain skills · +9 Superintelligence skills · +242 SI commands · 3 Workflows

Three Pillars of Coco

1. Autonomous Team Execution

/team:ship initiates a fully coordinated build pipeline consisting of 6 development stages and 7 hard verification gates. Specialized agents act in their specific domains (Research, Architecture, Plan, Review, Build, QA). Crucially, code changes must clear the Test Evidence Protocol (independent re-runs, strict coverage metrics, and skip-prevention) before opening a pull request.

2. Disk-Persistent State

AI chat contexts are fragile and wipe on /clear. Coco solves this with 68 disk-backed orchestration skills that persist phase state, decisions, and progress logs across resets. Includes atomic git commits for every successful step, allowing you to review history, roll back bad design paths, or resume long-running migrations from any checkpoint.

3. Vendor-Neutral Portability

Coco compiles its rules, templates, and agent definitions into pure Markdown and YAML frontmatter. Using native IDE adapters, the same skill library is injected into Claude Code, Cursor, Codex CLI, or any AGENTS.md compatible environment. Keep your workflows, scripts, and commands even if you switch your AI editor in the future.


Skills Catalog Deep-Dive

Coco comes loaded with 146 skills. These are not basic prompt templates, but fully realized agent instructions containing state management, verification logic, and error handlers:

Visual Design and Styling Systems

  • ui-ux-pro-max: Generates modern visual presets containing 50+ styling tokens, 21 color palettes, font pairings, and responsive charts.
  • axiom-liquid-glass: Implements high-end glassmorphism visual styling specifications using HSL tailored colors, backdrop filters, and subtle border shadows.
  • swiftui-liquid-glass: Tailors the visual glassmorphic design system specifically for Apple SwiftUI layouts.
  • web-design-guidelines: Enforces strict layout grids, typography scales, responsive query setups, and color harmony constraints.
  • tailwind-patterns: A library of production-ready, accessible Tailwind CSS layout patterns (navigation, tables, carousels, cards).

Enterprise Engineering and Architecture

  • c4-architecture: Guides the creation of system architecture diagrams following the C4 model (Context, Container, Component, Code).
  • api-design-principles: Enforces RESTful and gRPC API standards, focusing on clean resource naming, status code mappings, and error shapes.
  • arb-review: Prepares codebases and designs for Architecture Review Board audits, assessing scalability, security, and portability.
  • vercel-react-best-practices: Enforces Next.js App Router rules, React Server Components boundaries, and optimized hook placement.
  • subagent-driven-development: Instructs the primary AI on how to delegate complex engineering tasks to sandboxed, specialized subagents.

Document and Spreadsheet Processing

  • xlsx: Creates and formats data-dense Excel spreadsheets locally using Python openpyxl scripts.
  • pdf: Generates structured PDFs (reports, specs, invoices) with custom tables and headers.
  • docx: Assembles word documents with standard paragraph, heading, and table styling.
  • doc-sync: Automates synchronization between code implementations and project documentation (PRDs, readmes, APIs).

Operations, Safety, and Disaster Recovery

  • dr-plan: Generates disaster recovery specifications containing RTO/RPO targets, failover steps, and data integrity verification.
  • recovery-plan: Formulates active incident response plans to restore services after database corruption or server failure.
  • using-git-worktrees: Sets up parallel, isolated development branches on the local disk using git worktrees.
  • finishing-a-development-branch: Automates the PR prep process: cleans local branch, squashes commits, runs lint, updates changelogs, and opens PR.

Product Management and Communication

  • prd-mastery: Generates deep Product Requirement Documents containing user stories, scope limits, metrics, and risk mitigations.
  • stakeholder-comms: Generates clear, non-technical progress summaries and release notes tailored to stakeholders.
  • nfr-tracker: Audits and tracks Non-Functional Requirements (latency, cost, throughput, security) against defined SLAs.
  • brainstorming: Conducts structured brainstorming sessions (SCAMPER, First Principles, Mind Mapping) and outputs formatted markdown tables.

System Bundles Deep-Dive

System bundles are opt-in packages that extend the workspace engine with specialized databases, pipelines, and persona rosters:

1. GSD (Get Shit Done) Bundle

An orchestration engine consisting of 68 skills and 24 agents that manages the lifecycle of complex codebases.

  • State Database: Uses a disk-backed JSON/YAML phase database that records active goals, decisions, milestones, and blockages.
  • Workstreams: Spins up parallel workspaces (isolated git checkouts) to test refactors or debug features in sandbox environments without polluting main.
  • Forensics: Performs post-mortem audits when a phase fails. Scans commit histories, state files, and agent logs to generate structured root-cause reports.
  • Autonomous Mode: Bypasses confirmation steps, allowing parallel waves of subagents to execute plan milestones end-to-end.

2. Brain Bundle

A local knowledge graph engine consisting of 6 skills that connects email, chat, code, and documentation.

  • Local SQLite Store: Indexes code entities (classes, components), business decisions, project terms, and stakeholder feedback.
  • Wiki Generator: Automatically builds local, hyperlinked wiki articles for every recorded entity in the project.
  • Mail Sync: Ingests and links project email threads directly to related code files.

3. Team Bundle

A workspace multi-agent pipeline engine.

  • Development Loop: Spawns specialized subagents (Research, Architect, QA) to execute changes, review diffs, and write unit tests.
  • Deterministic Gates: Intercepts merges and commits to run lints, import audits, reference checks, and verification suites.

YOLO Mode: True Autonomy

/coco yolo

Bypass approval gates and let the team run unattended.
Activates autonomous multi-stage execution. Pipelines transition from phase to phase without requesting manual user confirmations. Combine with /gsd-autonomous and --systems gsd to run code migrations or test sweeps overnight. Easily revert to safety using /coco careful or /coco normal.


Before Coco vs. After Coco

Scenario Standard AI Assistant (Claude Code / Cursor / Codex) Coco-Orchestrated Workspace
Feature Development Generates a single component, misses side-effects, requires manual guidance. Scans repo, designs interface, plans phases, executes parallel build agents, tests, and verifies.
Code Auditing Suggests basic syntax fixes; misses architectural constraints. Applies a 7-category audit (TDZ errors, import mismatches, dead code, CSS regressions, and mock leaks).
System Debugging Repeats similar suggestions; loses track of prior attempts. Systematic isolation loop (Reproduce → Isolate → Hypothesize → Fix → Verify) with saved checkpoints.
Website Cloning Outputs a generic layout with broken assets. Extracts exact design tokens (colors, radii, spacing, type scale) into a production-ready template.
Context Resets Forgets active plan; starts over from scratch. Reads workspace state from disk and resumes the active phase immediately.

High-Impact Command Demos

Website Re-engineering

/clone-website https://stripe.com

Extracts colors, typography, spacing, shadows, and SVG assets directly from a live URL into a single-file, responsive HTML template.

Code-Integrity Verification

/code-verification

Audits fresh code against 7 bug vectors before execution, preventing broken references, imports, and mock leakage.

Systematic Debugging

/systematic-debugging

Drives a methodical root-cause isolation workflow. Records hypotheses and findings, preserving progress across API limits.

Spec & PRD Generation

/prd-generator

Generates a comprehensive, 13-section Product Requirement Document (User Stories, Metrics, Risks, Architecture).

Design Token Extraction

/ui-ux-pro-max

Generates visual presets: 50+ modern styling tokens, 21 color palettes, font pairings, and charts configured for your stack.

Personal Knowledge Base

bash install.sh --systems brain
/brain-init && /brain-update

Builds a local, SQLite-backed entity graph of your project. Automatically indexes decisions, terms, and file relations.


Power Features Overview

CoCo Conversational Router

/coco

A central dashboard that automatically routes queries like "what's blocking?", "summarize files," or "run tests" to the correct sub-command.

Multimodal Memory

/media-memory

Local embedding database (Gemini Embedding + ChromaDB) that indexes, searches, and associates diagrams, audio, and docs with your code.

Scheduled & Loop Agents

# Host-native scheduling (e.g. Claude Code) pointed at any Coco command:
/schedule run /team:review every Monday
/loop 5m /team:verify

Coco does not ship its own scheduler. Where your host CLI provides scheduling or looping (such as Claude Code's /schedule and /loop), point it at any Coco command — /team:review, /team:verify, /code-verification — to run reviews or watches unattended.

Email Triage Suite

/email:summary
/email:today

Reads your active Outlook instance (Legacy AppleScript or New Outlook MIME cache) to fetch, search, thread, and draft replies to project mail.

Workspace Branching

/gsd-workstreams create feature-a
/gsd-new-workspace

Branch development workstreams within the same repository. Spin up isolated, sandboxed clones with separate project state.

AGENTS.md Compiler

bash adapters/codex/install.sh

Compiles all active rules, skills, and command definitions into a standard AGENTS.md file recognized by Aider, Cline, and Continue.


How Coco Works

flowchart LR
  U["You<br/>(Slash command, plain English)"] --> AI["Your AI Assistant<br/>(Claude Code, Cursor, etc.)"]
  AI --> A["IDE Adapter"]
  A --> S["Coco Assets<br/>skills · agents · commands · rules"]
  S -. Read at runtime .-> AI
  AI --> Agents["Parallel Subagents<br/>(Execution waves)"]
  Agents --> AI
Loading

Installation Matrix

Standard 90-Second Setup

git clone https://github.com/rkz91/coco.git
cd coco
bash install.sh

Installer will auto-detect your active IDE/CLI.

Via Global npm Package

# Authenticate GitHub Packages registry
echo "@rkz91:registry=https://npm.pkg.github.com" >> ~/.npmrc
echo "//npm.pkg.github.com/:_authToken=YOUR_TOKEN" >> ~/.npmrc

# Install and launch
npm install -g @rkz91/coco-cli
coco

Activate Orchestration Bundles

# Enable GSD, Brain, and Team systems
bash install.sh --systems gsd,brain,team

# Enable Superintelligence personas
bash install.sh --systems superintelligence

Manual Adapter Overrides

bash install.sh --adapter claude-code
bash install.sh --adapter cursor
bash install.sh --adapter codex
bash install.sh --adapter generic

Staying Current

Coco tells you when a newer version is available — it checks the GitHub repository (the source) at most once per day, prints a one-line banner, and sends no telemetry. Disable with COCO_NO_UPDATE_CHECK=1.

git clones

# print version + update status
bash scripts/check-update.sh

# apply an update
git pull --ff-only && bash install.sh

npm installs

# print version + check for updates
npx @rkz91/coco-cli version

# apply an update
npx @rkz91/coco-cli update

Releases are tracked in CHANGELOG.md and on the GitHub Releases page.


System Compatibility

AI Tool / CLI Adapter Name Status Details
Claude Code claude-code Stable Full support for slash commands, agents, and local settings.
Cursor cursor Stable Links MDC rules and custom workspace skills.
Codex CLI codex Stable Compiles assets into root context.
Aider / Cline / Windsurf generic Stable Generates a portable, root-level AGENTS.md definition.
VS Code (Continue) vscode-continue Experimental (stub) Scaffold only — full wiring tracked in #4, targeted for v0.2.
Antigravity (Google) antigravity Planned Integration planned for v0.2 release.

Technical Specifications

Spec Version1.0.0
LicenseMIT
Total Skills Available146 with all bundles installed (63 Core + 68 GSD + 6 Brain + 9 Superintelligence)
Slash Commands277 with all bundles installed — 35 Core (shipped) + 242 Superintelligence (225 per-team + 17 cross-team, generated at install of the Superintelligence bundle)
Specialized Agents34 (10 Core + 24 GSD Bundle)
System Bundles4 (GSD, Brain, Team, Superintelligence) — opt in with --systems <name>
Cross-IDE Rules15 (.mdc files)
Workflows Defined3 (.md pipelines)
Install Time≤ 90 seconds
Telemetry / SaaSNone — 100% Local Files

Core install ships 63 skills + 35 commands + 10 agents. The counts above reflect a full install with all four system bundles enabled (bash install.sh --systems gsd,brain,team,superintelligence). Superintelligence slash commands are generated locally at install time from the team registries — no command files are transmitted or stored remotely.


Frequently Asked Questions

Is my codebase or data sent to a third party? No. Coco is entirely local. It consists of markdown files, configuration files, and shell scripts that reside on your machine. Your existing AI tool's privacy policy remains unchanged.
How do I modify or customize an existing skill? Every skill is defined under `skills//SKILL.md`. You can edit this file directly to refine prompt instructions or add custom tools, then run `bash install.sh` to update the symlinks.
How do I cleanly uninstall Coco? Because Coco uses symbolic links, removing it is completely non-destructive: ```bash find ~/.claude ~/.cursor -type l -lname "*$(pwd)*" -delete ``` This removes only the links pointing back to your Coco repository folder.
What happens if I switch my AI assistant later? Simply re-run the installer with the new adapter flag (e.g. `bash install.sh --adapter cursor`). All your custom skills and workflows will immediately follow you.

Contributing & Community

Coco is MIT-licensed and contributions are welcome.

Before opening a PR, validate locally — the CI runs a frontmatter linter, manifest validation, and an install-script syntax check.


Built On

Coco is built on top of excellent open-source frameworks and standards. Special thanks to:

Full attributions — including feature-level inspirations and licenses — live in CREDITS.md. If something influenced CoCo and isn't listed, that's a bug: open an issue.

About

Meet Coco. A superintelligent agent framework powered by an advisory board of 389 world-class minds. Scale your AI assistant into a complete engineering department with 142 skills, 277 commands, and persistent state. Universal compatibility. Local privacy. Free and open source.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors