agentleFS
budagov-labbudagov-lab/DreamTeam/.cursor/AGENTS.md

DreamTeam

AGENTS.md1 starsChanged 8 months agoMITView on GitHub

This project uses the Autonomous Development System. Roles can be executed as subagents (via mcp_task) or by loading the prompt from .cursor/agents/. Full details: .cursor/agents/dispatcher.md Dispatcher (when /start or /run): ONLY dispatches Left or Right. Does NOT dispatch Developer, Planner, Reviewer, etc. — Left and Right do that. Left/Right dispatch: Planner, Developer, Reviewer, DevExperiencer, Git-Ops, Learning, FixPlanner, Researcher, Meta Planner, Auditor, Terminal. When to dispatch: - Left — Dispatcher dispatches (orchestrator-left). Left runs one batch based on completion criteria (reviewer…

The file

We split this AGENTS.md into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Trigger source: All TRIGGER_* come from update-task done output.

    line 30
  2. Very specific:

    Use mcp_task with subagent_type: developer, reviewer, planner, planner-sub, researcher, meta-planner, auditor, git-ops, shell (Terminal), …

    line 33
  3. Very specific:

    Dispatcher workflow: verify-tasks → set-goal → Dispatch Left → (Left returns BATCH_DONE) → Dispatch Right → alternate until ALL_COMPLETE.

    line 38
  4. Distinctive:

    Left/Right workflow: run-next → Developer → Reviewer → DevExperiencer (pass: task_id, result, attempts) → Git-Ops → update-task done → …

    line 40
  5. Very specific:

    Use python -m dreamteam. See guide/COMMANDS.md.

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Autonomous Development System — Agent Configuration

This project uses the Autonomous Development System. Roles can be executed as subagents (via mcp_task) or by loading the prompt from .cursor/agents/.

Subagents (Dispatch via mcp_task)

Full details: .cursor/agents/dispatcher.md

Dispatcher (when /start or /run): ONLY dispatches Left or Right. Does NOT dispatch Developer, Planner, Reviewer, etc. — Left and Right do that.

Left/Right dispatch: Planner, Developer, Reviewer, DevExperiencer, Git-Ops, Learning, FixPlanner, Researcher, Meta Planner, Auditor, Terminal.

When to dispatch:

  • Left — Dispatcher dispatches (orchestrator-left). Left runs one batch based on completion criteria (reviewer cap, task cap, context pressure). Project can have thousands of tasks.
  • Right — Dispatcher dispatches (orchestrator-right). Right runs one batch based on completion criteria.
  • Planner — Left/Right dispatch (planner). Planner breaks into epics, dispatches Sub-Planner.
  • Planner-Sub — Planner dispatches (planner-sub), not Orchestrator
  • DevExperiencer — Left/Right dispatch after Reviewer (dev-experiencer)
  • Learning — Every 10 tasks (TRIGGER_LEARNING from update-task done). Analyzes DevExperience, writes developer-addendum, dispatches FixPlanner with explicit task IDs (learning)
  • FixPlanner — Corrects tasks based on Learning analysis (fix-planner)
  • Developer — Task from scheduler ready for implementation
  • Reviewer — After each task completion (spec compliance, then code quality)
  • Git-Ops — After Reviewer approval — git commit (ONLY Git-Ops does commits)
  • Terminal — dreamteam commands (fallback when MCP unavailable)
  • MCP dreamteam-db — DB tools: dreamteam_get_task, dreamteam_get_memory, dreamteam_set_memory, dreamteam_get_dag_state, dreamteam_recent_tasks
  • Researcher — When update-task done prints TRIGGER_RESEARCHER (every 20 tasks)
  • Meta Planner — When update-task done prints TRIGGER_META_PLANNER (every 50 tasks)
  • Auditor — When update-task done prints TRIGGER_AUDITOR (every 200 tasks)

Trigger source: All TRIGGER_* come from update-task done output. task-counter is diagnostics only — Left/Right do not re-process triggers from it.

How to dispatch:

  • Use mcp_task with subagent_type: developer, reviewer, planner, planner-sub, researcher, meta-planner, auditor, git-ops, shell (Terminal), orchestrator-left, orchestrator-right, dev-experiencer, learning, fix-planner
  • Git-Ops is the ONLY agent that does commits. Dispatcher runs NO Terminal — Left/Right do ALL Terminal work.
  • For Developer: include task ID, .dreamteam/memory/architecture.md snippet
  • For Reviewer: include changed files, task ID, architecture rules (Reviewer uses Terminal get-task for task content)

Dispatcher workflow: verify-tasks → set-goal → Dispatch Left → (Left returns BATCH_DONE) → Dispatch Right → alternate until ALL_COMPLETE.

Left/Right workflow: run-next → Developer → Reviewer → DevExperiencer (pass: task_id, result, attempts) → Git-Ops → update-task done → process TRIGGER_* in order: Learning → Researcher (+memory-to-files) → Meta Planner (+sync-tasks) → Auditor (+memory-to-files) → BATCH_SWITCH → run-next.

Agent Prompts

RolePrompt FileWhen to Use
Dispatcher.cursor/agents/dispatcher.mdONLY dispatches Left/Right. Left/Right do all subagent orchestration.
Left.cursor/agents/orchestrator-left.mdSub-orchestrator, one batch by completion criteria (context switch; project can have thousands)
Right.cursor/agents/orchestrator-right.mdSub-orchestrator, one batch by completion criteria
Planner.cursor/agents/planner.mdNew goal, epic, or task decomposition
Planner-Sub.cursor/agents/planner-sub.mdExpand one epic into 15–25 subtasks
Developer.cursor/agents/developer.mdExecuting a task from scheduler
Reviewer.cursor/agents/reviewer.mdAfter task completion, code review
Git-Ops.cursor/agents/git-ops.mdGit commit (ONLY agent that does commits)
Terminal.cursor/agents/terminal.mddreamteam commands (no git-commit from Orchestrator)
Researcher.cursor/agents/researcher.mdEvery 20 tasks (TRIGGER_RESEARCHER)
Meta Planner.cursor/agents/meta-planner.mdEvery 50 tasks (TRIGGER_META_PLANNER)
Auditor.cursor/agents/auditor.mdEvery 200 tasks (TRIGGER_AUDITOR)
DevExperiencer.cursor/agents/dev-experiencer.mdAfter each Reviewer
Learning.cursor/agents/learning.mdEvery 10 tasks (TRIGGER_LEARNING)
FixPlanner.cursor/agents/fix-planner.mdDispatched by Learning

Skills

Project skills in .cursor/skills/:

  • planner-task-decomposition
  • planner-sub-expand
  • developer-execution
  • researcher-context-compression
  • meta-planner-optimization
  • auditor-system-audit
  • reviewer-code-review

Superpowers (subagent workflows):

  • subagent-driven-development — Execute plan with subagent per task + two-stage review
  • Parallelism is FORBIDDEN — One task, one subagent at a time

Rules

  • .cursor/rules/autonomous-dev-system.mdc — Always apply
  • .cursor/rules/task-execution.mdc — When editing .dreamteam/tasks/**/*.md
  • .cursor/agents/dispatcher.md — Dispatcher: only Left/Right. Load when /start or /run.

Commands

Use python -m dreamteam. See guide/COMMANDS.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.