AI-Assisted Multi-Agent Development framework artifacts and installer
pip install aamad==0.9.6 Copy PIP instructions
AAMAD is an open, production-grade framework for building, deploying, and evolving multi-agent applications using best context engineering practices. It systematizes research-driven planning, modular AI agent workflows, and rapid MVP/devops pipelines for enterprise-ready AI solutions.
AAMAD is a context engineering framework based on best practices in AI-assisted coding and multi-agent system development methodologies. It enables teams to:
In AAMAD, the development crew (personas, rules, templates, and artifacts) is the stable methodology. Runtime adapters are an implementation choice for what backend runtime your generated MVP targets.
You can use AAMAD across multiple development environments: see Multi-IDE support for Cursor, Claude Code, VS Code + GitHub Copilot, and Kiro.
AAMAD changes “vibe coding” from ad-hoc prompting into a context-first, persona-driven workflow:
Benefits you can expect: clearer requirements before code, less rework from underspecified prompts, traceable handoffs between agents, and documentation that stays useful when you re-sync after code changes.
AAMAD organizes work into three phases: Define, Build, and Deliver, each with clear artifacts, personas, and rules to keep development auditable and reusable. The flow begins by defining context and templates, proceeds through multi‑agent build execution, and finishes with operational delivery.
flowchart LR %% AAMAD phases overview subgraph P1[DEFINE] D1H[ PERSONA ]:::hdr --> D1L["• Product Manager
(@product-mgr)"]:::list D2H[TEMPLATES]:::hdr --> D2L["• System Description
• PRD / stories"]:::list end subgraph P2[BUILD] B1H[AGENTS]:::hdr --> B1L["• Project Mgr
• Security Eng"]:::list B3H[SKILLS]:::hdr --> B3L["• run-evals (@qa.eng)
• draw-diagram (any persona)
• sync-docs (code-changing personas)"]:::list B2H[RULES]:::hdr --> B2L["• core
• runtime adapter (crewai, claude-agent-sdk, or cursor-sdk)"]:::list end subgraph P3[DELIVER] L1H[AGENTS]:::hdr --> L1L["• DevOps Eng"]:::list L2H[RULES]:::hdr --> L2L["• delivery‑workflow
(deploy, CI, user guide)"]:::list end P1 --> P2 --> P3 classDef hdr fill:#111,stroke:#555,color:#fff; classDef list fill:#222,stroke:#555,color:#fff; Phase 0 (Review, brownfield only): System Architect (@system.arch) inspects the existing repo, writes project-context/0.review/ artifacts, and an as-is SAD with proposed enhancements. The operator records an Operator Decision before Define.
Phase 1 (Define): Product Manager persona (@product-mgr) conducts structured elicitation (recommended), optional MRD for commercial products, and PRD/user stories. On brownfield projects this is a constrained Define: PRD and stories cover only the approved enhancement set.
Phase 2 (Build): Multi‑agent execution by Project Manager, System Architect, Frontend Engineer, Backend Engineer, Integration Engineer, QA Engineer (unit + integration stages), and (recommended) Security Engineer, governed by core/development-workflow rules and the selected runtime adapter rule.
Phase 3 (Deliver): DevOps Engineer (@devops.eng) packages the validated MVP using the delivery-workflow rule; artifacts include project-context/3.deliver/deploy.md and optionally user-guide.md.
Requires Python 3.9+. Install the AAMAD CLI from PyPI:
pip install aamad # or uv pip install aamad That installs the aamad command. It does not write project files until you run Initialization.
Pass flags to skip a prompt (required for --ide when stdin is not a TTY):
aamad init --ide cursor # still asks mode, then runtime when greenfield aamad init --ide cursor --mode brownfield aamad init --ide claude-code --mode greenfield --runtime crewai aamad init --ide vscode --mode brownfield aamad init --ide kiro --mode greenfield --runtime later CLI flags:
Non-interactive runs without --ide exit 2. Init writes project.mode into aamad.config.yml. A chosen runtime also writes AAMAD_TARGET_RUNTIME in .env (and updates .claude/settings.json for Claude Code). Brownfield init also creates project-context/0.review/ and leaves an existing README.md in place unless --overwrite is set.
When init finishes, the terminal prints suggested next actions for the chosen IDE and mode (brownfield starts at @system.arch / Phase 0; greenfield starts at @product-mgr / Phase 1). Init does not run the Review or Define agents itself.
Inspect bundle contents: aamad bundle-info --verbose or aamad bundle-info --ide claude-code. For --ide vscode and --ide kiro, artifacts are generated from the Cursor bundle (no separate bundle).
AAMAD supports Cursor, Claude Code, VS Code + GitHub Copilot, and Kiro. The framework produces the same artifacts (project-context/, templates, Phase 0 / Phase 1 prompts); only rules and agent scaffolding differ.
These are the same in every IDE: project-context/ (Phase 0/1/2/3 outputs), templates (stored in the IDE folder), Phase 0 / Phase 1 prompt content, crew methodology, and git/dependency setup. What changes is where rules, agents, and templates live and how you invoke personas.
Upgrading a Claude Code, VS Code, or Kiro project from 0.9.0 or earlier: aamad init --overwrite --ide . If the project is not using Cursor, delete leftover .cursor/ afterward.
aamad init --ide cursor --dest . Folder structure after init:
your-project/ ├── .cursor/ │ ├── agents/ # Persona definitions (@product-mgr, @backend.eng, etc.) │ ├── prompts/ # Phase-specific prompts (prompt-phase-0-review, prompt-phase-1) │ ├── rules/ # Always-on rules (*.mdc) │ ├── skills/ # Agent skills (run-evals, draw-diagram, sync-docs) │ └── templates/ # PRD, SAD, brownfield review templates ├── project-context/ │ ├── 0.review/ # Brownfield only: current-state, docs, architecture backlog │ ├── 1.define/ # MRD, PRD, SAD outputs │ ├── 2.build/ # setup.md, frontend.md, backend.md, etc. │ └── 3.deliver/ # deploy runbook and configs ├── AGENTS.md # Bridge file (IDE discoverability) ├── CHECKLIST.md └── README.md Invoke a persona with @backend.eng (or another agent) in chat. Reference files with @path/to/file. Start a fresh module with Cmd+Shift+P → New Chat.
aamad init --ide claude-code --dest . Folder structure after init:
your-project/ ├── .claude/ │ ├── CLAUDE.md # Rules summary + cross-references │ ├── agents/ # Persona definitions (Claude Code format) │ ├── commands/ # Slash commands (phase-0-review, phase-1-define) │ ├── rules/ # Individual rule files (*.md) │ ├── skills/ # Agent skills (run-evals, draw-diagram, sync-docs) │ ├── templates/ # PRD, SAD, brownfield review templates │ └── settings.json # Permissions, AAMAD_TARGET_RUNTIME env ├── project-context/ │ ├── 0.review/ # Brownfield only │ ├── 1.define/ │ ├── 2.build/ │ └── 3.deliver/ ├── AGENTS.md ├── CHECKLIST.md └── README.md Ask Claude to use a subagent by name or description. Phase 0 / Phase 1 are /phase-0-review and /phase-1-define. Reference files with @path/to/file. Start a fresh context with /clear or a new session.
Required extensions: GitHub Copilot, GitHub Copilot Chat. Recommended: Python (ms-python), YAML (redhat).
aamad init --ide vscode --dest . Folder structure after init:
your-project/ ├── .github/ │ ├── instructions/ # Copilot instructions (*.instructions.md) │ ├── agents/ # Custom agents (*.agent.md) with optional handoffs │ ├── prompts/ # Phase 0/1, sync-docs, run-evals, draw-diagram │ └── templates/ # PRD, SAD, brownfield review templates ├── .vscode/ │ └── settings.json # chat.instructionsFilesLocations, chat.agentFilesLocations ├── project-context/ │ ├── 0.review/ # Brownfield only │ ├── 1.define/ │ ├── 2.build/ │ └── 3.deliver/ ├── AGENTS.md ├── CHECKLIST.md └── README.md Pick the agent from the dropdown or use @agent-name. Use handoff buttons for Define → Build → Deliver when they appear. Reference files with #file:path/to/file or drag-and-drop.
aamad init --ide kiro --dest . Folder structure after init:
your-project/ ├── .kiro/ │ ├── agents/ # Persona definitions (Kiro custom agents) │ ├── steering/ # Always-on rules + manual Phase 0 / Phase 1 / sync-docs prompts │ ├── skills/ # Agent skills (run-evals, draw-diagram, sync-docs) │ └── templates/ # PRD, SAD, brownfield review templates ├── project-context/ │ ├── 0.review/ # Brownfield only │ ├── 1.define/ │ ├── 2.build/ │ └── 3.deliver/ ├── AGENTS.md ├── CHECKLIST.md └── README.md Switch personas from the agent picker in the chat pane. Manual steering files (phase-0-review, phase-1-define, sync-docs) appear as slash commands.
Use AAMAD_TARGET_RUNTIME to choose the runtime target for the generated multi-agent application in Phase 2. Greenfield aamad init can set this when you pick an adapter; “choose this later” leaves CrewAI as the default until you set the variable.
When project.mode is brownfield, start here instead of a blank-slate Define. @system.arch follows .cursor/rules/brownfield-review.mdc (REA-style evidence rules):
Do not overwrite the existing project README. Architecture backlog items are structural only — not bug fixes.
The Product Manager persona (@product-mgr) conducts discovery and context setup to standardize project scoping:
Phase 1 outputs are stored in project-context/1.define/ and provide the foundation for all subsequent development phases.
Each role is embodied by an agent persona, defined in .cursor/agents/ (Cursor), .claude/agents/ (Claude Code), or .github/agents/ (VS Code). Before implementation, confirm AAMAD_TARGET_RUNTIME (crewai default if unset, claude-agent-sdk supported, cursor-sdk supported). Greenfield init can set this when you pick an adapter. Phase 2 is executed by running each epic in sequence after completing Phase 1:
Artifacts are versioned and stored in project-context/2.build for traceability.
After QA (and preferably security), invoke @devops.eng:
Why Apache-2.0 Explicit patent grant and patent retaliation protect maintainers and users from patent disputes, which is valuable for AI/ML methods, agent protocols, and orchestration logic. Permissive terms enable proprietary or closed-source usage while requiring attribution and change notices, which encourages integration into enterprise stacks. Compared to MIT/BSD, Apache-2.0 clarifies modification notices and patent rights, reducing legal ambiguity for contributors and adopters.
For detailed step-by-step Phase 2 execution, see CHECKLIST.md. For advanced reference and prompt engineering, see the templates and rules folders for your IDE.
multi-agent crew automation prompt-engineering
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




