Cohort
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CohortBuild a Node.js utility library with a config loader and validator"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cohort
An autonomous AI software-engineering organization for Claude Code and OpenCode.
Give it one objective in plain English. It plans the work, builds the org to do it, and gates every merge behind independent review.
18 MCP tools · 375 tests · 15/15 spec capabilities · a real $0 end-to-end run · adversarial multi-agent review
Cohort is an autonomous, multi-agent orchestration layer for software engineering: give it one objective and it generates a bespoke engineering org for the task at hand (domains, specialists, reviewers), runs parallel OpenCode workers in isolated git worktrees, puts their work through code review by dedicated read-only reviewer agents, integrates whatever passes review, and replans whatever does not. Claude Code is the CEO, planner and reviewer throughout; it never writes implementation code itself. Deterministic mechanics, worktree management, budget guardrails, verification and merge order, live behind an 18-tool stdio MCP surface, not in the model's judgment.
Quickstart
Prerequisites: Claude Code CLI, the OpenCode CLI, and Node.js >= 22.
npm i -g @bhavya-dhoot/cohort
cohort login # verifies Claude Code + OpenCode + provider auth, never stores secrets
cohort init # scaffolds .cohort/ config and registers the Claude Code plugin
cohort run "Build a small Node utility library: a config loader, an input validator, and a health-check handler"cohort run walks the full loop below: plan, generate org, spawn parallel
specialists, review, integrate. You approve the plan before any worker
spawns, and you approve the integration diff before it merges.
Related MCP server: Universal Infinite Loop MCP Server
How it works
Analyze the objective into a brief.
Plan a task DAG, contracts and file-ownership partitions, plus an org chart sized to the objective. Human gate: plan approval.
Generate org, on-demand
.opencode/agent/*.mdspecialists for the roles the plan needs.Batch spawn DAG-ready, file-ownership-disjoint tasks as isolated OpenCode workers, each in its own git worktree.
Verify every worker independently, by running real build/test/lint commands against its worktree diff, never by trusting its self-report.
Review the verified diffs with dedicated read-only reviewer agents, whose verdicts (pass, revise, block) gate what merges.
Integrate passing work onto the run's integration branch in DAG order, then run a full regression suite.
Replan whatever was blocked, scoped to only the affected subtree and capped at a few iterations before mandatory human escalation, then repeat from batch spawn until the DAG is done.
Proof it works
A real end-to-end run, not a hermetic test: Claude drove the actual MCP
tools against a fresh throwaway project, generating a live org (CEO,
engineering manager, three domain leads, three specialists, reviewers,
integration) on the auto-selected free OpenCode model, at $0.00. Three
parallel OpenCode workers built in isolated worktrees; three live Claude
reviewer subagents then caught a real bug, an inconsistent module system
(ESM export in a CommonJS project) in two of the three modules, and
blocked them instead of merging. The correct module shipped, the other two
were replanned. Full writeup: docs/DEMO-RUN.md.
Metric | Value |
Tasks (total / done / failed / pending) | 3 / 1 / 0 / 2 |
Workers (total / merged / failed) | 3 / 0 / 0 |
Cost (committed / tier) | $0.0000 / ok |
Reviews (total / blocking) | 6 / 2 |
Duration | 8m 57s |
One of three modules shipped; two were correctly blocked by review and queued for replan. That is the review gate working as designed, not a partial failure. The same run also surfaced and fixed 2 real Windows worktree bugs (a transient handle-lock on removal, and a stale worktree registration) that the hermetic test suite had not exercised.
Capabilities
All 15 capabilities in the build spec, delivered:
Capability | What it means |
Dynamic org generation | Domains, roles and headcount are derived per objective, not hardcoded |
Hierarchical org-as-data | The org chart is a versioned, inspectable plan artifact, not standing manager processes |
Dynamic specialists |
|
Parallel isolated workers | Each OpenCode worker runs in its own git worktree with disjoint file ownership |
Shared memory | Token-capped context bundles and append-only sections shared across the run |
Structured-artifact comms | Task cards, contracts and verdicts are schema-validated JSON, never raw transcript |
Continuous replan loop + human gates | Plan-approval and pre-merge gates, capped replan with mandatory escalation |
Dedicated read-only reviewers | Cross-model review agents with real gating power, not rubber-stamping |
Configurable check suites | Named, config-defined command suites are the only source of truth for pass/fail |
Model routing | Task-type-aware routing with soft-cap downgrade to a smaller model |
OpenCode integration | Workers driven over |
Claude orchestration | Claude Code is CEO, planner and reviewer, packaged as a Claude Code plugin |
YAML config + budget guardrails | Five shipped config files, tiered soft-cap/hard-cap cost ceilings |
Observability report | One markdown+mermaid report: timeline, task DAG, cost, failures |
Extensibility | Five extension points, zero |
Architecture
16 core modules behind the MCP surface: worktree management, verification,
review, memory, budget, model routing and more. Full design, principles,
worker lifecycle, execution pipeline, state model and the complete tool
surface: docs/ARCHITECTURE.md.
Extensibility
Five shipped YAML files under config/ (orchestrator, models,
agents, memory, providers), each overridable per project in
.cohort/config/. Custom check suites, memory sections, reviewers, worker
backends and providers each resolve to plain YAML config, a markdown agent
file, or a TypeScript interface satisfied at construction, with no edits to
packages/core/src. See docs/EXTENDING.md.
Safety
Workers run on free models by default, under hard budget ceilings. Verification never trusts a worker's self-report; it runs real commands against the worktree diff. Reviewers are read-only. No secrets are stored; authentication goes through each provider's own login flow.
License
Repository · npm · Site
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bhavya-Dhoot/Cohort'
If you have feedback or need assistance with the MCP directory API, please join our Discord server