Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

aidd

> AI 编程
Open source

The standard framework for AI Driven Development

377 stars0 likes3 views
WebsiteGitHub

About

The standard framework for AI Driven Development

AIDD Framework

The standard framework for AI Driven Development

AI agents like Claude Code ship features fast. AIDD Framework keeps them working, secure, and maintainable.

AI agents generate code that runs but fails at scale. GitClear tracked 211 million lines from 2020 to 2024 and found 8x more code duplication as AI adoption increased. Google's DORA report shows AI adoption correlates with 9% higher bug rates and degraded stability. Agents skip tests, couple modules, duplicate logic, and miss vulnerabilities.

AIDD provides the architecture, test workflows, and specification system that turn AI speed into sustainable velocity so you can ship secure, production-ready, maintainable software, quickly.

Includes:

  • AIDD CLI – project bootstrap and automation
  • Agent Runtime – workflows from product discovery to commit and release
  • SudoLang Prompt Language – typed pseudocode for AI orchestration
  • Server Framework – composable backend for Node and Next.js
  • Utilities & Component Library – common patterns and reusable recipes to accelerate your app development

Table of Contents

  • About AIDD Framework
  • Quick Start with AIDD CLI
    • Requirements
    • Detailed Installation Instructions
  • Development Workflow
  • User Testing
  • Why SudoLang?
  • What's Included
  • Learning AIDD Framework
  • AIDD Server Framework
    • Authentication Middleware
  • ️ AIDD CLI Reference
    • Installation & Usage
    • Command Options
    • Examples
  • Skills
  • AI System Structure
    • Key Components
  • AI Integration
  • Vision Document
    • Why You Need a Vision Document
    • Creating Your Vision Document
    • How Agents Use the Vision Document
    • AGENTS.md File
      • Migrating an Existing AGENTS.md
    • aidd-custom/ — Project Customization
  • Cursor Editor Setup
    • Automatic Setup (Recommended)
    • When to Use --cursor
    • When NOT to Use --cursor
    • Manual Integration
    • Troubleshooting
  • License
  • Weekly Training Sessions
  • Contributing

About AIDD Framework

AI-Driven Development (AIDD) is a methodology where AI systems take primary responsibility for generating, testing, and documenting code, automating most of the software creation process so humans can focus on the big picture and 10× their productivity.

AIDD Framework is a collection of reusable agent skills, agent orchestration systems, traditional symbolic code libraries, and CLI tools that put high-quality software engineering processes on autopilot rails. It implements time-tested workflows including specification-driven development, systematic task planning with Test Driven Development (TDD), and automated code review with best practices enforcement.

SudoLang is a pseudocode language for prompting large language models with clear structure, strong typing, and explicit control flow.

AI Workflow Commands - Use these in your AI assistant chat (Cursor, ChatGPT, Claude, etc.):

/discover - what to build
/task - plan a task epic to implement a user story from the discovery
/execute - task epics with TDD
/review - the results
/log - log the changes to the activity log
/commit - commit the changes to the repository
/user-test - generate user testing scripts for post-deploy validation

Quick Start with AIDD CLI

bash
npx aidd --help

To install for Cursor:

bash
# In your project folder
npx aidd --cursor

Install without Cursor integration:

bash
# You can also specify a project folder:
npx aidd my-project
bash
# Run an agent directly
npx aidd agent --prompt "Set up authentication"
# Scaffold + run agent in one command
npx aidd create my-app --prompt "Set up authentication"

For npx aidd create with a GitHub repository URL (https://github.com/owner/repo), authentication uses the GitHub CLI first when available: run gh auth login so private repos you can access (including org repos you do not own) work without exporting a long-lived token. If gh is not available or not logged in, you can still set GITHUB_TOKEN or GH_TOKEN for CI or compatibility.

See Agent CLI for full usage.

Requirements

  • Node.js: 16.0.0+ (requires ESM support)
  • Environment: Unix/Linux shell (bash, zsh) or Windows with WSL
  • Editors: Works with any editor; optimized for Cursor
  • LLM: Works with any sufficiently advanced LLM. As of this writing, we recommend Claude 4.5 Sonnet.
  • Agents: You can ask most agent systems to use this system.

Detailed Installation Instructions

  1. Install SudoLang syntax highlighting: Visit the SudoLang Github Repository and install syntax highlighting for your editor.

  2. Clone the AI system:

    bash
    # Recommended: Creates ai/ folder + .cursor symlink for automatic integration
    npx aidd --cursor my-project
    
    # Alternative: Just the ai/ folder (manual integration required)
    npx aidd my-project
  3. Create a Vision Document (important!):

    Create a vision.md file in your project root. This document serves as the source of truth for AI agents. See Vision Document for details.

  4. Explore the structure:

    bash
    cd my-project
    ls ai/                    # See available components
    cat ai/skills/aidd-please/SKILL.md   # Read the main orchestrator
  5. Start using AI workflows:

    • Reference ai/skills/ in AI prompts for better context
    • Use ai/commands/ as workflow templates
    • Customize skills for your specific project needs

This gives you immediate access to:

  • Agent orchestration skills (ai/skills/)
  • ⚙️ AI workflow commands (ai/commands/)
  • Development best practices (JavaScript, TDD, UI/UX)
  • Product management tools (user stories, journey mapping)

Development Workflow

For features or bug fixes spanning more than a few lines:

  1. Create a branch: git checkout -b your-branch-name
  2. Discover what to build with /discover: Set up your project profile and discover key user journeys to create a user story map (saved to plan/story-map/)
  3. Plan execution with /task: Create a structured epic with clear requirements
  4. Review with /review: Eliminate duplication, simplify without losing requirements
  5. Execute with /execute: Implement using TDD, one requirement at a time
  6. Push and PR: git push origin your-branch-name then open a Pull Request

Note: We use this process to build the aidd framework. See CONTRIBUTING.md for details.

User Testing

Validate features with real users and AI agents. AIDD generates dual testing scripts from user journeys:

  • Human scripts - Think-aloud protocol with video recording for manual testing
  • AI agent scripts - Executable tests with screenshots and persona-based behavior

Research from the Nielsen Norman Group shows that testing with just 3-5 users reveals 65-85% of usability problems. Iterate quickly by testing small, fixing issues, and testing again.

Quick start:

bash
/discover              # Create user journey (saved to plan/story-map/)
/user-test journey.yaml  # Generate testing scripts (saved to plan/)
/run-test agent-script   # Execute AI agent test

Read the complete User Testing Guide →

Why SudoLang?

For most simple prompts, natural language is better. Use it. But if you need the AI to follow a program, obey constraints, keep track of complex state, or implement complex algorithms, SudoLang can be extremely useful.

  • Because of the natural language emphasis, SudoLang is easier to learn than programming languages like JavaScript or Python.
  • Pseudocode can improve reasoning performance vs natural language prompts, and create shorthands for many prompting styles, such as chain-of-thought reasoning, decision trees, etc.
  • SudoLang is a declarative, constraint-based, interface-oriented programming language, which makes it one of the most expressive and compact programming languages in the world. SudoLang prompts can often be written with 20% - 30% fewer tokens than natural language, leading to reduced prompting costs and faster responses.
  • Structured pseudocode provides scope blocks, indentation, and visual encapsulation which makes it easier to navigate and maintain complex prompts than natural language.
  • Structured templates and queries using predefined types and interfaces can reduce the probability of malformed responses and dramatically reduce the number of tokens required to interact with the language model, particularly when requesting data in yaml or csv formats.

Please read the SudoLang documentation for more information about the language.

What's Included

Modules include:

  • Metaprograms for LLMs (programs that build programs)
  • Product discovery and story mapping
  • Agent behaviors and workflows
  • Test generators
  • ️ Development process automation scripts
  • Optional composable server framework (lightweight Express alternative)

Coming soon:

  • UI sketch prompts
  • Documentation generators
  • API design

Learning AIDD Framework

AIDD Framework combines modern software engineering practices with AI orchestration. To use it effectively, you'll benefit from understanding:

  • Product & Planning: Product management, user story mapping, functional requirements
  • Development: Test driven development, user testing, CI/CD workflows
  • AI-Specific Skills: Context engineering, prompt engineering, SudoLang, agent orchestration

Complete Learning Roadmap → — Detailed competency areas, technical skills, and weekly training sessions

New to AI-driven development? Start with the Quick Start below, then explore the /discover → /task → /execute workflow. The AI agents will guide you through the process.

AIDD Server Framework

A lightweight alternative to Express, built for function composition and type-safe development.

Why AIDD Server?

  • Function composition - Clean asyncPipe patterns instead of middleware chains
  • Type-safe - Complete TypeScript definitions included
  • Secure by default - Sanitized logging, explicit CORS, fail-fast configuration
  • Production-ready - Comprehensive test coverage, battle-tested patterns

Quick Example:

…
  • aidd/agent — spawn an AI agent process programmatically
  • aidd/agent-config — resolve agent configuration from presets, env, or config file

_See Agent API fo

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptagentagentsaiaidd

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.