Agentic Architect Fundamentals

Synaptic AI Consulting

AAMAD Overview

Module 02: AAMAD Overview

Estimated time: ~15 minutes
Outcome: Can explain AAMAD’s three phases and the idea of Development Crew vs Application Crew


Learning Objectives

By the end of this module, you will be able to:


Content

What is AAMAD?

AAMAD (AI-Assisted Multi-Agent Application Development) 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.

Think of AAMAD as a methodology and toolkit that helps you:

AAMAD is built on the principle that context engineering (not model tweaking) is the core lever for building reliable, maintainable agentic systems.

The Three Phases: Define → Build → Deliver

AAMAD organizes work into three sequential phases, each with clear artifacts, personas, and rules to keep development auditable and reusable:

flowchart LR
    A[DEFINE<br/>Context Setup] --> B[BUILD<br/>Execution & Code]
    B --> C[DELIVER<br/>Operations & Deploy]
    
    style A fill:#e1f5ff,stroke:#01579b,stroke-width:2px,color:#000000
    style B fill:#fff3e0,stroke:#e65100,stroke-width:2px,color:#000000
    style C fill:#f3e5f5,stroke:#4a148c,stroke-width:2px,color:#000000

Phase 1: Define

Goal: Establish a solid foundation with clear research, requirements, and project scope.

Persona: Product Manager (@product-mgr)

Key Activities:

Key Artifacts:

Output Location: project-context/1.define/

Why This Matters: Without clear definition, AI agents lack the context needed to make good decisions. The Define phase ensures everyone (human and AI) understands what we’re building and why.

Phase 2: Build

Goal: Execute multi-agent development to produce working code, architecture, and integration.

Personas: Multiple specialized agents working in sequence:

Key Activities:

Key Artifacts:

Output Location: project-context/2.build/

Why This Matters: The Build phase transforms requirements into working software through coordinated multi-agent execution. Each agent persona has a single responsibility, ensuring quality and maintainability.

Phase 3: Deliver

Goal: Deploy, monitor, and operate the application in production.

Persona: DevOps Engineer

Key Activities:

Key Artifacts:

Output Location: project-context/3.deliver/

Why This Matters: Building software is only half the battle. The Deliver phase ensures your application can run reliably in production, be monitored, and evolve over time.

Development Crew vs Application Crew

This is a critical distinction in AAMAD:

Development Crew (The Builders)

The Development Crew consists of AI agent personas that build your application. These are the “construction workers” who create the software:

These agents are temporary—they exist during development to create your application. Once the project is complete, they’re done.

Example: When building a customer service chatbot, the Development Crew includes agents like “Frontend Engineer” (who builds the chat UI) and “Backend Engineer” (who implements the conversation logic).

Application Crew (The Application Itself)

The Application Crew consists of AI agents that are your application. These are the agents that end users interact with in production:

These agents are permanent—they run in production and deliver value to end users.

Example: In a customer service chatbot application, the Application Crew might include:

Visualizing the Distinction

flowchart TD
    subgraph AppCrew["APPLICATION CREW (Permanent)"]
        direction TB
        Support[Support Agent]
        Doc[Document Analyzer]
        Workflow[Workflow Orchestrator]
        Rec[Recommendation Engine]
    end
    
    AA((Agentic Architect))
    
    subgraph DevCrew["DEVELOPMENT CREW (Temporary)"]
        direction TB
        PM[Product Manager]
        SA[System Architect]
        FE[Frontend Engineer]
        BE[Backend Engineer]
        IE[Integration Engineer]
        QA[QA Engineer]
        DO[DevOps Engineer]
    end
    
    AppCrew <-->|Orchestrates| AA
    AA <-->|Orchestrates| DevCrew
    
    style AppCrew fill:#e8f5e9,stroke:#2e7d32,stroke-width:3px,color:#000000
    style AA fill:#bbdefb,stroke:#1976d2,stroke-width:4px,color:#000000
    style DevCrew fill:#fff3e0,stroke:#e65100,stroke-width:3px,color:#000000
    style PM fill:#ffccbc,color:#000000
    style SA fill:#ffccbc,color:#000000
    style FE fill:#ffccbc,color:#000000
    style BE fill:#ffccbc,color:#000000
    style IE fill:#ffccbc,color:#000000
    style QA fill:#ffccbc,color:#000000
    style DO fill:#ffccbc,color:#000000
    style Support fill:#c8e6c9,color:#000000
    style Doc fill:#c8e6c9,color:#000000
    style Workflow fill:#c8e6c9,color:#000000
    style Rec fill:#c8e6c9,color:#000000

Core AAMAD Concepts

1. Persona-Driven Development

Each workflow is owned and documented by a clear AI agent persona with a single responsibility principle. This ensures:

2. Context Artifacts

All major actions, decisions, and documentation are stored as markdown artifacts, ensuring:

3. Parallelizable Epics

Big tasks are broken into epics, making development:

4. Reusability

The framework is reusable for any project. Framework artifacts (in .cursor/) are project-agnostic, while project-context/ contains instance-specific documentation.

AAMAD Repository Structure

When you use AAMAD, your project structure looks like this:

your-project/
├─ .cursor/                    # Reusable framework artifacts
│ ├─ agents/                   # Agent persona definitions
│ ├─ prompts/                  # Parameterized agent prompts
│ ├─ rules/                    # Architecture & workflow rules
│ └─ templates/               # Generation templates (MRD, PRD, SAD)
│
├─ project-context/            # Project-specific artifacts
│ ├─ 1.define/                 # MRD, PRD, research reports
│ ├─ 2.build/                  # SAD, code, setup docs
│ └─ 3.deliver/                # Deploy configs, runbooks, QA logs
│
└─ src/                        # Your application source code

Framework artifacts (.cursor/) are reusable across projects.
Project-context contains all generated and instance-specific documentation.

Cursor Rules: The Framework’s Brain

AAMAD uses Cursor rules (stored in .cursor/rules/) to guide AI agent behavior and ensure consistent, high-quality output across all phases. These rules act as the “constitution” for your AI agents, defining how they should think, work, and make decisions.

What Are Cursor Rules?

Cursor rules are markdown files that define:

When you use CursorAI (or compatible AI coding assistants) with AAMAD, these rules are automatically loaded, ensuring all agents follow the same standards and patterns.

AAMAD Rule Categories

The AAMAD framework includes three main rule categories:

  1. Core Rules (core)
    • Fundamental principles for AI-assisted development
    • Context engineering best practices
    • Artifact creation standards
    • Quality and maintainability guidelines
  2. Development Workflow Rules (development-workflow)
    • How agents should execute the Build phase
    • Code organization patterns
    • Testing and integration standards
    • Documentation requirements
  3. CrewAI Adapter Rules (adapter-crewai)
    • How to integrate with CrewAI framework
    • Agent orchestration patterns
    • Multi-agent coordination guidelines
    • Application Crew implementation patterns

How Rules Work

Rules are loaded automatically when you:

Example: When you invoke @backend-engineer, the agent automatically:

This ensures consistency across:

Templates: Structured Context Generation

AAMAD provides templates (stored in .cursor/templates/) that standardize artifact creation across all phases. These templates ensure consistency, completeness, and quality in all generated documentation.

Available Templates

The framework includes templates for each phase:

Phase 1: Define Templates

Phase 2: Build Templates

Phase 3: Deliver Templates

How Templates Work

  1. Agent Invocation: When you invoke an agent persona (e.g., @product-mgr), it knows which template to use
  2. Structured Generation: The agent uses the template to create artifacts with consistent structure
  3. Completeness Check: Templates ensure all necessary sections are included
  4. Quality Assurance: Standardized format makes artifacts easier to review and maintain

Example Workflow:

You: @product-mgr Please create a PRD for our customer service chatbot

Agent: 
1. Loads prd-template.md
2. Fills in each section based on your requirements
3. Creates project-context/1.define/prd.md
4. Ensures all required sections are complete

Benefits of Templates

Agents and Prompts: Persona Definitions

The .cursor/agents/ and .cursor/prompts/ folders complete the framework:

Agents (.cursor/agents/)

Prompts (.cursor/prompts/)

Together, rules, templates, agents, and prompts create a complete system for consistent, high-quality AI-assisted development.

Why AAMAD Works

AAMAD addresses common problems in AI-assisted development:

  1. Context Chaos - Without structure, AI agents lack context. AAMAD provides clear context boundaries.

  2. Quality Debt - Rapid AI coding often produces “slop.” AAMAD’s persona-driven approach ensures quality.

  3. Maintenance Nightmares - Unstructured AI-generated code is hard to maintain. AAMAD’s artifact-driven approach ensures traceability.

  4. Lack of Reusability - Each project starts from scratch. AAMAD’s framework artifacts are reusable.

  5. No Clear Process - Teams don’t know how to systematically build agentic systems. AAMAD provides a proven methodology.

Getting Started with AAMAD

AAMAD can be used in two ways:

  1. Clone the Repository
    git clone https://github.com/synaptic-ai-consulting/AAMAD
    
  2. Install via pip/uv
    pip install aamad
    aamad init --dest /path/to/your/project
    

Once set up, you follow the three-phase process, using the Development Crew to build your Application Crew.


Check Your Understanding

Reflect on these questions to solidify your understanding:

  1. Phase Identification: Which AAMAD phase does “Writing a Product Requirements Document” belong to?

  2. Phase Identification: Which AAMAD phase does “Deploying an application to production” belong to?

  3. Phase Identification: Which AAMAD phase does “Writing unit tests for a feature” belong to?

  4. Phase Identification: Which AAMAD phase does “Creating a runbook for operations” belong to?

  5. Phase Identification: Which AAMAD phase does “Designing the system architecture” belong to?

  6. Crew Distinction: Imagine you’re building a document processing system. What would be in your Application Crew? (What agents will users interact with?)

  7. Crew Distinction: Imagine you’re building a document processing system. What would be in your Development Crew? (What agents will build the system?)

  8. Artifact Traceability: Why is it important that AAMAD stores all decisions as markdown artifacts? How does this help with maintenance and debugging?

  9. Persona Benefits: How does the persona-driven approach (single responsibility per agent) help prevent the “slop” problem in AI-assisted development?

  10. Phase Dependencies: Why must the phases run in order (Define → Build → Deliver)? What would happen if you tried to Build without Define, or Deliver without Build?

  11. Cursor Rules Consistency: How do Cursor rules ensure consistency across different agent personas and chat sessions?

  12. Templates vs Artifacts: What’s the difference between a template (like prd-template.md) and the actual artifact (like prd.md)? Why are templates important for maintaining quality in AI-generated artifacts?


Next Steps

Continue to Module 03: Context Engineering Basics