A unified AI development framework synthesizing the best elements from four leading methodologiesβBMAD-METHOD, Spec-Kit, Context Engineering, and PRPs Agentic Engineeringβinto a compact, rapidly deployable system optimized for one-pass implementation success.
# 1. Clone and install
git clone <your-repo-url>
cd AgentDevFramework
npm install
# 2. Interactive initialization
npm run initThe init script will:
- π Detect if this is a new or existing project
- π Analyze existing documentation (if any)
- π‘ Recommend optimal workflow (Rapid/Spec-Driven/BMAD)
- βοΈ Generate tailored configuration
- π Collect documentation URLs
- π Deploy to your chosen tool
# 1. Set up environment
cp .env.template .env
# Edit .env with your API keys
# 2. Deploy directly
npm run deploy -- --tool windsurfSupported Tools: windsurf, cursor, vscode, vscode-insider, kiro, trae, claude-code, gemini-cli, codex-cli
- Unified Agent System: Specialized agents (Analyst, PM, Architect, Dev, QA, SM) with BMAD personas
- Constitutional Governance: 9 immutable principles ensuring quality and preventing technical debt
- Context Engineering: Built-in SELECT/WRITE/COMPRESS/ISOLATE patterns
- PRP Methodology: One-pass implementation with 4-level validation (Syntax, Unit, Integration, Creative)
- Multi-Tool Support: One framework, 9 development tools, one command deployment
- MCP Integration: 7 MCP tools pre-configured (context7, brave-search, mem0, archon, etc.)
- Interactive Documentation: Guided collection or direct URL input for project docs
- Hybrid Workflows: Scales from rapid (Story PRPs) to comprehensive (Planning PRPs with diagrams)
- Information Density: Context-first approach with comprehensive documentation and validation loops
AgentDevFramework/
βββ shared/ # Shared across all tools
β βββ agents/ # Agent definitions
β βββ templates/ # Document templates
β βββ workflows/ # Workflow definitions
β βββ memory/ # Constitution & preferences
β βββ mcp/ # MCP configurations
βββ tools/ # Tool-specific configs
β βββ windsurf/
β βββ cursor/
β βββ vscode/
β βββ vscode-insider/
β βββ kiro/
β βββ trae/
β βββ claude-code/
β βββ gemini-cli/
β βββ codex-cli/
βββ scripts/ # Automation
β βββ deploy.js # Main deployment
β βββ init-docs.js # Documentation setup
β βββ validate.js # Configuration validator
βββ docs/ # Framework documentation
Story/Task PRP β Execute with 4-Level Validation
Time: 5-15 minutes | Best For: Sprint tasks, bug fixes, solo dev
Constitution β Base PRP/Spec β Clarify β Plan β Tasks β Implement with 4-Level Validation
Time: 30-60 minutes | Best For: New features, clear scope, teams
Constitution β Research β Planning PRP/PRD β Architecture β Stories β Dev (TDD) β QA + 4-Level Validation
Time: 2-4 hours | Best For: Complex projects, enterprise, unclear requirements
- Analyst: Market research, competitor analysis, project briefs
- PM: PRD creation with epics, stories, requirements
- Architect: System design, tech stack, architecture documents
- Dev: TDD implementation with context engineering
- QA: Risk assessment, test design, quality gates
- SM: Story creation with full context
Pre-configured and ready to use:
- context7: Current framework documentation
- brave-search: Web search for latest info
- mem0: Persistent memory across sessions
- clear-thought: Structured reasoning
- archon: Project knowledge management
- openmemory: Alternative memory system
- deepwiki: GitHub repository docs
- Specification-First Development
- Test-First Development (TDD)
- Simplicity First
- Context-Engineered Documentation
- Memory Management
- Modular Agent System
- Constitutional Checks
- Security by Design
- Performance as Requirement
# Deployment
npm run deploy -- --tool <name> # Deploy to specific tool
npm run deploy -- --tool <name> --force # Force overwrite
npm run deploy -- --tool <name> --mcp-only # Only MCP config
# Documentation Setup
npm run init-docs # Interactive doc collection
npm run init-docs -- --urls file.txt # From URL file
# Validation
npm run validate # Validate configuration
npm run validate:env # Check environment vars
npm run validate:mcp # Check MCP setup
# Development
npm run build # Build framework
npm run test # Run tests
npm run format # Format code
npm run lint # Lint codeEach tool deployment leverages unique capabilities:
- Windsurf: Cascade for multi-file ops, memories
- Cursor: Composer, rules system
- VSCode: Copilot integration, workspace settings
- Kiro: Product/technical/style separation
- Claude Code: Native slash commands
- Gemini CLI: CLI-optimized prompts
- Codex CLI: Home directory config
- Quick Start Guide
- Framework Architecture
- Agent Reference
- Template Guide
- MCP Integration
- Tool Configuration
- Troubleshooting
Required in .env:
# MCP Tools
CONTEXT7_API_KEY= # Optional - higher rate limits
BRAVE_API_KEY= # Required - free tier available
OPENAI_API_KEY= # Required for mem0, archon
SUPABASE_URL= # Required for archon
SUPABASE_SERVICE_ROLE_KEY= # Required for archon
OPENMEMORY_API_KEY= # Required for openmemoryDetailed Planning (BMAD-style):
- Use when: Complex projects, team collaboration, enterprise
- Start with:
/analystor/pm - Creates: PRD, Architecture, Stories
Rapid Development (Context Engineering):
- Use when: Small features, solo dev, prototyping
- Start with:
/generate-prp INITIAL.md - Creates: PRP with validation
Spec-Driven (Spec-Kit style):
- Use when: Clear requirements, need validation gates
- Start with:
/constitutionβ/specify - Creates: Constitution, Spec, Plan, Tasks
npm run deploy -- --tool windsurfnpm run init-docsFollow prompts to add project documentation URLs.
Use agent commands and MCP tools based on your chosen workflow.
- Always start with Constitution: Define principles before coding
- Use MCP tools liberally: @context7 for current docs, mem0 for memory
- Follow TDD: Tests before implementation
- Save key decisions: Use mem0 to preserve reasoning
- Compress context: Use COMPRESS pattern when context grows
- Examples are critical: Maintain examples/ folder
- Constitutional compliance: Validate against principles
Contributions welcome! Please:
- Follow constitutional principles
- Validate with
npm run validate - Format with
npm run format - Test with multiple tools
- Update documentation
MIT License - see LICENSE file
This framework synthesizes innovations from four leading methodologies:
- BMAD-METHOD by BMad Code, LLC - GitHub
- Spec-Kit by GitHub (Den Delimarsky, John Lam) - GitHub
- Context Engineering by Cole Medin - GitHub
- PRPs Agentic Engineering by Rasmus Widing - GitHub
- π Documentation
- π Issues
- π¬ Discussions
Built with β€οΈ for the AI-assisted development community