Automate Your Vision into Realit - Build anything ! Transforming software / app / saas / game development with spec-driven, AI-powered agentic workflows.
β³ Just start with let's get started with '01_AI-RUN/00_Getting_Started.md' with 'π© Head Orchestrator'
β³ Just start with let's get started with '01_AI-RUN/00_Getting_Started.md'
Welcome to Agentic Coding Framework β a revolutionary framework designed to orchestrate fully automated, specification-driven software development using advanced AI agents. This project isn't just about generating code; it's about establishing a robust, repeatable, and high-quality process that takes your initial idea and transforms it into a functional product with minimal manual intervention.
Imagine defining your project's requirements and then watching as AI agents meticulously research, plan, document, and build it, adhering strictly to your specifications. That's the power of Agentic Coding Framework. It leverages a structured, phase-by-phase approach, guiding AI through market analysis, concept definition, Product Requirements Document (PRD) generation, technical specification creation, task breakdown, and finally, agentic code generation.
The result? Unprecedented consistency, adherence to detailed specs, and the automation of complex development workflows, freeing human developers to focus on innovation and high-level strategy.
This framework is built to solve key challenges in modern software development, especially when leveraging AI:
- Consistency & Quality: Ensures that development adheres to predefined standards and specifications, reducing variability and improving the quality of outputs.
- Full-Cycle Automation: Automates the entire pre-development lifecycle, from idea refinement and market research to PRD and technical spec generation.
- Enhanced Agentic Coding: Provides a structured environment for AI coding agents (like Cline, Cursor, Windsurf) to perform "Agentic Coding" β where the AI takes on significant responsibility for the development lifecycle based on clear logic and instructions.
- Reduced Tedium: Automates the creation of comprehensive documentation and detailed task lists, which are often time-consuming but critical for project success.
- Scalable Planning: The structured approach allows for complex projects to be broken down methodically, making them manageable for AI-driven development.
- Clear Human Oversight: While highly automated, the workflow includes defined points for human review and validation, ensuring the project stays aligned with the vision.
- Rapid Prototyping & Iteration: The detailed planning and documentation enable faster transitions into development and provide a solid foundation for quick iterations.
- π§ AI-Driven Idea to PRD: Guides AI agents through a comprehensive process from initial idea capture, market research, and core concept definition to a detailed Product Requirements Document (PRD).
- π Automated Specification Generation: AI agents update and populate technical documentation and feature specifications based on the PRD and project context.
- π Systematic Task Breakdown: Leverages an AI orchestrator (Roo) to decompose the PRD and technical specs into a structured hierarchy of epics, tasks, and sub-tasks, ready for implementation.
- π€ Agentic Code Generation Support: Designed to feed detailed, validated specifications directly to AI coding agents for implementation, ensuring code aligns with requirements.
- π MCP Integration: Built to utilize Model Context Protocol (MCP) servers, allowing AI agents to access external tools, APIs, and real-time data for research, coding, and more.
- π Iterative Workflow with Validation: Incorporates human validation points at critical stages to ensure alignment and quality.
- π οΈ Customizable Framework: Easily adaptable prompts and documentation templates to suit specific project needs and coding standards.
Agentic Coding Framework operates on the principle of "Agentic Coding Logic," a structured methodology that guides AI agents through distinct development phases. The process is typically orchestrated by an AutoPilot script (01_AI-RUN/01_AutoPilot.md) which invokes a series of detailed prompts.
- Initialization & Idea Capture: The user provides an initial idea, which the AI refines through targeted questions.
- Market Research: The AI, acting as a market analyst, researches the idea's viability using integrated tools.
- Core Concept Definition: The idea is further refined into a solid concept based on market insights.
- PRD Generation: A comprehensive Product Requirements Document is created.
- Technical Documentation & Specs: Existing documentation templates within the project (in
02_AI-DOCS/and03_SPECS/) are updated by the AI with project-specific details derived from the PRD. This includes architecture, coding conventions, feature specs, etc. The AI is guided by02_AI-DOCS/Documentation/AI_Coding_Agent_Optimization.md. - Task Management: The PRD and specs are broken down into a detailed task list (
tasks/tasks.json) by an AI orchestrator, following the workflow defined in02_AI-DOCS/TaskManagement/Roo_Task_Workflow.md. - Implementation: AI coding agents take the structured tasks and specifications to build the project.
- Testing: The implemented features are thoroughly tested against specifications (using logic from
01_AI-RUN/08_Testing.md). - Deployment: The validated application is deployed to the production environment (using logic from
01_AI-RUN/09_Deployment.md).
For a deeper dive into the underlying logic and phase-by-phase execution, please refer to logic.md and the detailed roadmap below.
- Fork this Repository: This creates your project's dedicated workspace.
- Configure MCP Servers & API Keys:
- The file
01_AI-RUN/Template/MCP-Server.jsonlists the MCP servers used. - CRITICAL: Replace placeholder API keys (e.g.,
YOUR_OPENAI_API_KEY_HERE) with your actual keys. - SECURITY BEST PRACTICE: Do NOT commit actual API keys directly. Copy
01_AI-RUN/Template/MCP-Server.jsonto a local, gitignored file (e.g.,mcp_config.json) and configure your AI agent (Cursor, Cline, Windsurf) to use this local file.
- The file
- Customize Core Guidelines (Highly Recommended):
- Edit
02_AI-DOCS/Documentation/AI_Coding_Agent_Optimization.md. This document is paramount for guiding the AI's coding style, architectural choices, and overall behavior. Tailor it to your project's specific needs.
- Edit
- Initiate the Workflow:
- Open your AI agent (Cursor, Cline, Windsurf).
- Run the following prompt:
Read the full codebase and let's get started with `01_AI-RUN/00_Getting_Started.md` - Alternatively, for a fully automated run, start with
01_AI-RUN/01_AutoPilot.md.
For detailed step-by-step instructions, see 01_AI-RUN/00_Getting_Started.md.
- Core Workflow & Logic:
01_AI-RUN/00_Getting_Started.md: Detailed guide to the workflow phases.01_AI-RUN/01_AutoPilot.md: The main script for orchestrating the automated workflow.logic.md: High-level overview of the project's operational logic.- Roadmap: From 0 to 1 (section below in this README)
- AI Agent Guidance:
02_AI-DOCS/Documentation/AI_Coding_Agent_Optimization.md: Essential reading. Defines how the AI should code, design, and behave.02_AI-DOCS/Documentation/AI_Design_Agent_Optimization.md: Guidelines for AI design tasks.02_AI-DOCS/Documentation/AI_Task_Management_Optimization.md: Optimizing AI for task management.
- Task Management:
02_AI-DOCS/TaskManagement/Roo_Task_Workflow.md: Defines the process for task breakdown and management.02_AI-DOCS/TaskManagement/Tasks_JSON_Structure.md: Specifies the format for the outputtasks.jsonfile.
- Templates & Specifications:
01_AI-RUN/Template/PRD_template.md: Base structure for the Product Requirements Document.02_AI-DOCS/(various subdirectories): Contains templates for architecture, business logic, conventions, etc., that the AI will update.03_SPECS/(various subdirectories): Contains templates for feature and bugfix specifications that the AI will update.
This workflow suggests a default stack of:
- Frontend: Next.js (TypeScript)
- Backend/DB: Supabase
- Styling: Tailwind CSS (with Shadcn/ui inspiration)
These are recommendations and can be adapted. The workflow heavily relies on Model Context Protocol (MCP) servers (see 01_AI-RUN/Template/MCP-Context.md) for extended AI capabilities.
We envision Agentic Coding Framework evolving into an even more powerful and adaptable platform for AI-driven development. Contributions, ideas, and feedback are welcome!
- Expanding MCP integrations.
- More sophisticated AI agent personas and capabilities.
- Enhanced automated testing and validation frameworks.
This workflow is designed for comprehensive AI assistance, orchestrated by the 01_AI-RUN/01_AutoPilot.md file, with human intervention points for validation and strategic direction. Hereβs a conceptual step-by-step journey:
Phase 0: Initialization & User Idea
- User: Forks the template repository for a new project.
- User: Opens
01_AI-RUN/01_AutoPilot.mdin their AI agent (e.g., Cline). - User: Shares the
01_AutoPilot.mdcontent with the AI agent. - AI Agent (as
ProjectArchitect): Understands "Core Operational Rules." Prompts the user for a brief project idea (1-3 sentences). - User: Provides the initial idea.
- AI Agent: Asks 5-7 targeted questions (from
01_AutoPilot.md) to clarify the idea (target users, main problem, key MVP features, business model, tech/design preferences). - User: Answers clarification questions.
Phase 1: Initial Idea Expansion (Logic from 01_AI-RUN/01_Idea.md)
- AI Agent: Based on the initial idea and clarifications, uses the
01_Idea.mdlogical prompt structure to generate a structured idea document. - AI Agent: Saves this document as
idea_document.mdin the project root. - AI Agent: Presents the completed
idea_document.mdto the user for quick validation. - User: Validates or requests minor adjustments.
Phase 2: Automated Market Research (Logic from 01_AI-RUN/02_Market_Research.md)
- AI Agent: Announces it's conducting market research.
- AI Agent (as
MarketMaster Pro): Internally uses the02_Market_Research.mdlogical prompt, takingidea_document.mdas input. - AI Agent: Leverages MCPs (e.g.,
context7,firecrawl) as needed to simulate data gathering. - AI Agent: Generates a comprehensive market analysis.
- AI Agent: Saves this analysis as
market_research.mdin the root. - AI Agent: Presents a summary of main findings to the user.
- User: Decides whether to review the full analysis or proceed.
Phase 3: Core Concept Development (Logic from 01_AI-RUN/03_Core_Concept.md)
- AI Agent: Announces it's developing the core concept.
- AI Agent (as
ConceptForge): Internally uses the03_Core_Concept.mdlogical prompt, takingidea_document.mdandmarket_research.mdas inputs. - AI Agent: Synthesizes the idea and market research into a refined concept.
- AI Agent: Saves this concept as
core_concept.mdin the root. - AI Agent: Presents the value proposition and key feature matrix to the user.
- User: Validates the core concept before proceeding.
Phase 4: PRD Generation (Logic from 01_AI-RUN/04_PRD_Generation.md)
- AI Agent: Announces it's creating the Product Requirements Document (PRD).
- AI Agent (as
PRDarchitect): Internally uses the04_PRD_Generation.mdlogical prompt, takingcore_concept.mdas main input and referencing the01_AI-RUN/Template/PRD_template.md. - AI Agent: Generates a complete PRD.
- AI Agent: Saves the PRD as
project_prd.mdin the root. - AI Agent: Presents an executive summary with links to full sections.
- User: Decides whether to review specific sections or proceed.
Phase 5: Technical Documentation (Logic from 01_AI-RUN/05_Specs_Docs.md)
- AI Agent: Announces it's updating technical documentation.
- AI Agent (as
TechDocNavigator): Internally uses the05_Specs_Docs.mdlogical prompt, takingproject_prd.mdas input. - AI Agent: Updates existing files in
02_AI-DOCS/and03_SPECS/using their structure as templates, integrating information from the PRD and technical research (via MCPs if needed). Also references02_AI-DOCS/Documentation/AI_Coding_Agent_Optimization.md. - AI Agent: Creates or updates
03_SPECS/documentation_index.md. - AI Agent: Presents a summary of the tech stack and key integrations. (
01_AI-RUN/01_AutoPilot.mdinstructs to proceed automatically).
Phase 6: Task Management (Workflow: 02_AI-DOCS/TaskManagement/Roo_Task_Workflow.md, Structure: 02_AI-DOCS/TaskManagement/Tasks_JSON_Structure.md)
- AI Agent: Announces it's breaking down the project into tasks.
- AI Agent: Follows the workflow in
02_AI-DOCS/TaskManagement/Roo_Task_Workflow.md, takingproject_prd.mdand updated technical documents as inputs. - AI Agent: Interacts with Roo Orchestrator (potentially engaging Roo Code mode) to initialize the project, create epics from PRD features, and decompose each epic into tasks and sub-tasks, as detailed in
02_AI-DOCS/TaskManagement/Roo_Task_Workflow.md. - AI Agent: Saves the task hierarchy in
tasks/tasks.json, adhering to the structure defined in02_AI-DOCS/TaskManagement/Tasks_JSON_Structure.md. - AI Agent: Presents high-level epics and priority tasks.
- User: May request to modify task priorities.
Phase 7: Implementation (Logic from 01_AI-RUN/07_Start_Building.md)
- AI Agent: Announces it's starting implementation.
- AI Agent (as
ImplementationArchitect): Internally uses the07_Start_Building.mdlogical prompt. - AI Agent: If not done in Phase 5, creates/updates detailed specifications for each feature in
03_SPECS/features/. - AI Agent: Requests the next task to implement from Roo Orchestrator.
- AI Agent: Implements priority tasks first, using relevant MCPs (e.g.,
@21st-dev/magicfor UI,githubfor versioning,supabasefor DB). - AI Agent: Writes code, tests, and associated documentation, adhering to
02_AI-DOCS/Documentation/AI_Coding_Agent_Optimization.mdand PRD guidelines. - AI Agent: Provides regular progress updates.
- AI Agent: Presents completed features for validation.
- User: Validates implemented features.
- AI Agent: Marks tasks as complete by informing Roo Orchestrator.
- Repeat (steps 45-51): The task implementation cycle continues until all MVP tasks are completed.
Phase 8: Testing (Logic from 01_AI-RUN/08_Testing.md)
- AI Agent: Announces it's initiating the testing phase.
- AI Agent (as
QualityGuardian): Internally uses the08_Testing.mdlogical prompt. Systematically tests each implemented feature based on the PRD, technical specifications, and defined test cases. This includes unit, integration, and end-to-end tests. - AI Agent: Verifies features operate as expected, system calls are correct, and UI adheres to design conventions.
- AI Agent: Sets up a preview environment.
- User & AI Agent: Review the preview, conduct final user acceptance testing (UAT).
- AI Agent: Addresses any issues identified during testing and UAT, iterating with the user until satisfaction.
- AI Agent: Confirms all features are stable and ready for deployment.
Phase 9: Deployment (Logic from 01_AI-RUN/09_Deployment.md)
- AI Agent: Announces it's initiating the deployment phase.
- AI Agent (as
DeployMaster): Internally uses the09_Deployment.mdlogical prompt. - AI Agent: Follows the deployment plan in
project_prd.mdand the detailed steps in the project-specific../02_AI-DOCS/Deployment/deployment_guide.md. - AI Agent: Executes deployment to the production environment, monitors the process, and performs post-deployment verification (smoke tests).
- AI Agent: Confirms successful deployment and stability in production.
Phase 10: Iteration (End of 0->1 Cycle)
- User & AI Agent: Collect user feedback on the deployed product.
- User: Decides on next steps/iterations.
- If New Iteration: The cycle can restart at Phase 0 or Phase 1, using learnings and feedback to refine
idea_document.mdor directlycore_concept.md. Existing documents (project_prd.md,tasks/tasks.json, etc.) are updated.
This roadmap outlines the ideal flow. The AI agent is designed to be proactive, but the "Core Operational Rules" in 01_AI-RUN/01_AutoPilot.md require it to seek clarification for ambiguities and report errors, ensuring the user remains the ultimate supervisor.