AI-Powered Cascading Development Framework
Decompose complex projects into parallel executable tasks with multi-agent collaboration
| Component | Status |
|---|---|
| Claude Code Plugin | |
| MCP Server | |
| Standalone CLI | |
| Desktop App |
Traditional AI coding assistants struggle with large, complex projects. Plan Cascade solves this by:
- Breaking down complexity — Automatically decompose projects into manageable stories
- Parallel execution — Run independent tasks simultaneously with multiple agents
- Maintaining context — Design docs/PRDs plus execution context (with a durable tool journal) survive compaction/truncation
- Quality assurance — Automated testing and linting at each step
┌─────────────────────────────────────────────────────────────┐
│ Level 1: Mega Plan │
│ ───────────────── │
│ Project-level orchestration │
│ Manages multiple features in parallel batches │
│ Output: mega-plan.json + design_doc.json │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Level 2: Hybrid Ralph (Feature) │
│ ─────────────────────────────── │
│ Feature-level development │
│ Auto-generates PRD with user stories │
│ Output: prd.json + design_doc.json │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Level 3: Story Execution │
│ ──────────────────────── │
│ Parallel story execution with multi-agent support │
│ Automatic agent selection based on task type │
│ Output: Code changes │
└─────────────────────────────────────────────────────────────┘
| Agent | Type | Best For |
|---|---|---|
claude-code |
Built-in | General purpose (default) |
codex |
CLI | Bug fixes, quick implementations |
aider |
CLI | Refactoring, code improvements |
amp-code |
CLI | Alternative implementations |
Agents are automatically selected based on story type, or can be manually specified.
Plan Cascade automatically generates technical design documents alongside PRDs:
- Project-level: Architecture, patterns, cross-feature decisions
- Feature-level: Component design, APIs, story mappings
- Inheritance: Feature docs inherit from project-level context
Automated verification after each story:
- TypeScript/Python type checking
- Unit and integration tests
- Linting (ESLint, Ruff)
- Custom validation scripts
- AI Verification Gate - Validates implementation against acceptance criteria and detects skeleton code
Plan Cascade includes built-in framework-specific skills that are automatically detected and injected:
| Framework | Skills | Auto-Detection |
|---|---|---|
| React/Next.js | react-best-practices, web-design-guidelines |
package.json contains react or next |
| Vue/Nuxt | vue-best-practices, vue-router-best-practices, vue-pinia-best-practices |
package.json contains vue or nuxt |
| Rust | rust-coding-guidelines, rust-ownership, rust-error-handling, rust-concurrency |
Cargo.toml exists |
Skills are loaded from Git submodules and provide framework-specific guidance during story execution:
# Initialize external skills (first time)
git submodule update --init --recursive
# In a React project, skills are auto-detected:
/plan-cascade:auto "Add user profile component"
# → Automatically includes React best practices in context# Install the plugin
claude plugins install Taoidle/plan-cascade
# First-time setup (recommended, especially on Windows)
/plan-cascade:init
# Let AI choose the best strategy
/plan-cascade:auto "Build a REST API with user authentication and JWT tokens"
# → Defaults to FULL flow (spec auto + TDD on + confirmations). Override with --flow/--tdd/--no-confirm as needed.
# Or choose manually
/plan-cascade:hybrid-auto "Add password reset functionality"
/plan-cascade:approve --auto-runNote: The standalone CLI is currently in active development. Some features may be incomplete or unstable. For production use, we recommend the Claude Code Plugin.
# Install
pip install plan-cascade
# Configure
plan-cascade config --setup
# Run with auto-strategy
plan-cascade run "Implement user authentication"
# Or use expert mode for more control
plan-cascade run "Implement user authentication" --expertA cross-platform desktop application built with Tauri 2.0 (Rust backend + React frontend). Provides a full GUI for all Plan Cascade capabilities plus standalone features like multi-provider LLM chat, knowledge base (RAG), analytics dashboard, and more.
cd desktop
pnpm install
pnpm tauri:dev # Development mode with hot reload
pnpm tauri:build # Production build for current platformSee the Desktop README for full details, or jump to the Desktop App section below.
Note:
/plan-cascade:autodefaults to FULL flow (spec auto + TDD on + confirmations). Use--flow standard|quick,--tdd auto|off, or--no-confirmto opt out.
/plan-cascade:auto --flow quick "Fix the typo in the login button"
# → Executes directly without planning (quick flow)/plan-cascade:auto "Implement OAuth2 login with Google and GitHub"
# → Generates PRD with 3-5 stories, executes in parallel/plan-cascade:auto "Build an e-commerce platform with users, products, cart, and orders"
# → Creates mega-plan with 4 features, each with its own PRD/plan-cascade:mega-plan "Build blog platform" ./architecture.md
# → Converts your design doc and uses it for guidance/plan-cascade:approve --impl-agent=aider --retry-agent=codex
# → Uses aider for implementation, codex for retriesThe desktop application is a standalone AI programming platform that operates independently of the Python core. It provides a rich GUI with its own pure-Rust backend.
| Mode | Description |
|---|---|
| Claude Code | Interactive GUI for Claude Code CLI with tool visualization |
| Simple | Direct LLM conversation with agentic tool use (file editing, shell, search) |
| Expert | Interview-driven PRD generation with dependency graph visualization |
| Task | PRD-driven autonomous multi-story execution with quality gates |
| Plan | Multi-feature mega-plan orchestration |
Connects to 7+ providers with streaming support and intelligent tool-calling fallback:
| Provider | Tool Calling | Local |
|---|---|---|
| Anthropic (Claude) | Native | |
| OpenAI (GPT) | Native | |
| DeepSeek | Dual-channel | |
| Qwen (Alibaba) | Dual-channel | |
| Zhipu GLM | Dual-channel | |
| Ollama | Prompt-only | Yes |
| MiniMax | Prompt-only |
- Agent Library — Create reusable AI agents with custom prompts, tool constraints, and execution history
- Quality Gates — Automated test, lint, and type-check validation after each code generation step
- Timeline & Checkpoints — Session version control with branching, forking, and one-click rollback
- Git Integration — Full GUI for staging, committing, branching, merging, conflict resolution, and AI-assisted commit messages (46 git commands)
- Knowledge Base (RAG) — Semantic document search with HNSW vector indexing and multi-provider embeddings
- Codebase Index — Tree-sitter symbol extraction (6 languages) with background indexing and semantic search
- MCP Integration — Model Context Protocol server management and custom tool registration
- Analytics Dashboard — Token usage, cost tracking, and model performance comparison with CSV/JSON export
- Agent Composer — Visual canvas editor for multi-step agent pipelines (sequential, parallel, conditional)
- Graph Workflow — DAG-based workflow editor with draggable nodes and SVG edges
- Plugins — Framework skill injection (React, Vue, Rust) with marketplace support
- Guardrails — Rule-based constraints for sensitive data detection, code security, and custom regex patterns
- Webhooks — Event routing to Slack, Feishu, Discord, Telegram, or custom endpoints
- Remote Control — Telegram bot gateway and A2A (Agent-to-Agent) protocol
- i18n — English, Chinese (Simplified), Japanese
| Layer | Technology |
|---|---|
| Frontend | React 18 + TypeScript + Zustand + Radix UI + Tailwind CSS + Monaco Editor |
| Backend | Rust + Tauri 2.0 + Tokio + SQLite + AES-256-GCM keyring |
| Code Analysis | Tree-sitter (Python, Rust, TypeScript, JavaScript, Go, Java) |
| Vector Search | HNSW (hnsw_rs) for embeddings, hybrid search with BM25 reranking |
pnpm tauri:build:macos # macOS Universal (Intel + Apple Silicon)
pnpm tauri:build:windows # Windows x64 MSI
pnpm tauri:build:linux # Linux x64 AppImageFor architecture details, development setup, and contribution guide, see the Desktop README.
| Document | Description |
|---|---|
| Plugin Guide | Claude Code plugin usage |
| CLI Guide | Standalone CLI usage |
| Desktop Guide | Desktop application |
| Desktop README | Desktop development and architecture |
| MCP Server Guide | Integration with Cursor, Windsurf |
| System Architecture | Technical architecture |
plan-cascade/
├── src/plan_cascade/ # Python core
│ ├── core/ # Orchestration engine
│ ├── backends/ # Agent abstraction
│ ├── llm/ # LLM providers
│ └── cli/ # CLI entry
├── commands/ # Plugin commands
├── skills/ # Plugin skills
├── mcp_server/ # MCP server
├── external-skills/ # Framework skills (React, Vue, Rust)
└── desktop/ # Desktop app (Tauri 2.0 + React 18)
├── src/ # React frontend (283 components)
│ ├── components/ # UI by domain (23 feature areas)
│ ├── store/ # Zustand state (39 stores)
│ └── lib/ # Tauri IPC wrappers (30+ files)
└── src-tauri/ # Rust backend
├── src/commands/ # 359 IPC commands (43 modules)
├── src/services/ # Business logic (150+ files)
└── crates/ # Workspace crates (core, llm, tools, quality-gates)
| Backend | API Key Required | Notes |
|---|---|---|
| Claude Code | No | Default, via Claude Code CLI |
| Claude API | Yes | Direct Anthropic API |
| OpenAI | Yes | GPT-4o, etc. |
| DeepSeek | Yes | DeepSeek Chat/Coder |
| Ollama | No | Local models |
--agentfor hybrid-worktree — PRD generation agent selection:/plan-cascade:hybrid-worktree task branch "desc" --agent=codex- Spec Interview (optional) — Planning-time
spec.json/spec.mdworkflow that compiles into PRD - Universal Resume —
/plan-cascade:resumeauto-detects mode and routes to the right resume command - Dashboard + Gates — Aggregated status view plus DoR/DoD/TDD quality gates
- Compaction-Safe Session Journal — Recent tool activity is persisted to
.state/claude-session/and surfaced in.hybrid-execution-context.md/.mega-execution-context.md - Safer Auto Defaults —
/plan-cascade:autodefaults to FULL flow with--spec auto,--tdd on, and confirmations (override via--flow,--tdd,--no-confirm)
See CHANGELOG.md for full history.
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- OthmanAdi/planning-with-files — Original inspiration
- snarktank/ralph — PRD format
- Anthropic — Claude Code & MCP protocol
- vercel-labs/agent-skills — React/Next.js best practices skills
- vuejs-ai/skills — Vue.js best practices skills
- actionbook/rust-skills — Rust meta-cognition framework skills
GitHub • Issues • Discussions