Skip to content

AgentDevFramework is a tool that integrates many popular Ai agent development frameworks and allow a set of questions about the project to dictate what framework will be used.

Notifications You must be signed in to change notification settings

iServU/AgentDevFramework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AgentDevFramework

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.

πŸš€ Quick Start (< 5 Minutes)

Intelligent Initialization (Recommended)

# 1. Clone and install
git clone <your-repo-url>
cd AgentDevFramework
npm install

# 2. Interactive initialization
npm run init

The 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

Manual Deployment (Fast)

# 1. Set up environment
cp .env.template .env
# Edit .env with your API keys

# 2. Deploy directly
npm run deploy -- --tool windsurf

Supported Tools: windsurf, cursor, vscode, vscode-insider, kiro, trae, claude-code, gemini-cli, codex-cli

🎯 Core Features

  • 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

πŸ“ Directory Structure

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

πŸŽ“ Workflows

Level 1: Rapid Development (PRP)

Story/Task PRP β†’ Execute with 4-Level Validation

Time: 5-15 minutes | Best For: Sprint tasks, bug fixes, solo dev

Level 2: Specification-Driven (Balanced)

Constitution β†’ Base PRP/Spec β†’ Clarify β†’ Plan β†’ Tasks β†’ Implement with 4-Level Validation

Time: 30-60 minutes | Best For: New features, clear scope, teams

Level 3: BMAD Comprehensive

Constitution β†’ Research β†’ Planning PRP/PRD β†’ Architecture β†’ Stories β†’ Dev (TDD) β†’ QA + 4-Level Validation

Time: 2-4 hours | Best For: Complex projects, enterprise, unclear requirements

πŸ€– Agents

  • 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

πŸ”§ MCP Tools

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

πŸ“œ Constitutional Principles

  1. Specification-First Development
  2. Test-First Development (TDD)
  3. Simplicity First
  4. Context-Engineered Documentation
  5. Memory Management
  6. Modular Agent System
  7. Constitutional Checks
  8. Security by Design
  9. Performance as Requirement

πŸ› οΈ Commands

# 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 code

🎨 Tool-Specific Features

Each 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

πŸ“– Documentation

πŸ” Environment Variables

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 openmemory

🚦 Getting Started

1. Choose Your Workflow

Detailed Planning (BMAD-style):

  • Use when: Complex projects, team collaboration, enterprise
  • Start with: /analyst or /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

2. Deploy to Your Tool

npm run deploy -- --tool windsurf

3. Set Up Documentation

npm run init-docs

Follow prompts to add project documentation URLs.

4. Start Developing

Use agent commands and MCP tools based on your chosen workflow.

🎯 Best Practices

  1. Always start with Constitution: Define principles before coding
  2. Use MCP tools liberally: @context7 for current docs, mem0 for memory
  3. Follow TDD: Tests before implementation
  4. Save key decisions: Use mem0 to preserve reasoning
  5. Compress context: Use COMPRESS pattern when context grows
  6. Examples are critical: Maintain examples/ folder
  7. Constitutional compliance: Validate against principles

🀝 Contributing

Contributions welcome! Please:

  1. Follow constitutional principles
  2. Validate with npm run validate
  3. Format with npm run format
  4. Test with multiple tools
  5. Update documentation

πŸ“„ License

MIT License - see LICENSE file

πŸ™ Acknowledgements

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

πŸ“ž Support


Built with ❀️ for the AI-assisted development community

About

AgentDevFramework is a tool that integrates many popular Ai agent development frameworks and allow a set of questions about the project to dictate what framework will be used.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published