Forge your app idea into a working product with 13 AI agents.
One sentence in β fully functional app out. No human coding required.
English Β· δΈζ
π‘ Looking for the Claude (Anthropic) version? β AppForge
AppForge is an AI-native APP development assembly line. You describe what you want to buildβin plain languageβand 13 specialized AI agents take it from idea to a complete, runnable application.
No more piecemeal AI coding assistants. AppForge runs the entire product lifecycle:
YOU SAY: APPFORGE DELIVERS:
"I want a running tracker app β
docs/PRD.md (9-chapter product spec)
that logs routes, pace, β
docs/TECH_ARCHITECTURE (tech stack, directory tree)
calories, and friend PvP" β
docs/CODING_STANDARDS (DO/DON'T code rules)
β
docs/DB_SCHEMA (ER diagram, SQL, RLS)
β
docs/API_CONTRACT (endpoints, types, error codes)
β
docs/TASK_BOOK (phased task plan, Mock strategy)
β
Working React Native app (Expo + Supabase)
Think of it as: Assembling a 13-person full-stack teamβ1 tech lead, 6 architects, 6 engineersβthat never sleeps, never complains, and ships end-to-end.
| Instead of... | AppForge... |
|---|---|
| Manually writing PRDs, tech specs, coding standards | 6 planning agents generate all 6 documents in strict sequence, each validated against the previous |
| Figuring out what to build next | Orchestrator reads project state and routes to the right agent automatically |
| Switching between 5 different AI tools | Single pipeline: one conversation, 13 agents, zero context switching |
| Hoping code quality stays consistent | CODING_STANDARDS.md is generated first, then enforced by every coding agent |
| Manually tracking what's done | project_state.json tracks every task, retry count, and degradation status |
| Abandoning projects mid-way | Graceful degradation: failed agents produce simplified output rather than blocking the pipeline |
AppForge is built entirely on the DeepSeek V4 model family, delivering unparalleled performance at a fraction of the cost.
| Capability | DeepSeek V4 Pro | Claude Opus 4.6 | Advantage |
|---|---|---|---|
| Context window | 1,000,000 tokens | 200,000 tokens | 5x larger β load all 6 planning docs in one prompt |
| Input price (per 1M tokens) | $1.74 | $15.00 | 8.6x cheaper |
| Output price (per 1M tokens) | $3.48 | $75.00 | 21.5x cheaper |
| Thinking mode | thinking / thinking_max | Extended thinking | Fine-grained control per agent |
| Prefix caching | Automatic (80-92% discount) | Manual | Phase 0 serial chain: ~60% cost savings |
| Chinese language | Native-level | Good | System prompts are primarily Chinese |
Not every task needs a heavyweight model. AppForge assigns models intelligently:
| Tier | Model | Thinking Mode | Agents | Use Case |
|---|---|---|---|---|
| Heavy | deepseek-v4-pro |
thinking_max |
PRD Expert, Schema Architect, API Contract, Task Decomposer | Complex reasoning, multi-document synthesis |
| Standard | deepseek-v4-pro |
thinking |
Orchestrator, Tech Architect, Coding Standards, Agent-BE, Agent-FE, Agent-FIX | Architecture decisions, code generation |
| Light | deepseek-v4-flash |
non-thinking |
Agent-DB, Agent-CONNECT, Agent-VERIFY | Mechanical SQL/field mapping/validation |
1M Context Cross-Document Review
After all 6 planning documents are generated, cross_doc_checker.py loads every document into a single API call and performs a holistic consistency audit β catching field name mismatches, schema-API inconsistencies, and logic contradictions across the entire doc set. Impossible on a 200K context window.
Automatic Prefix Caching
DeepSeek caches repeated prompt prefixes at block boundaries automatically. Phase 0's serial chain (where each agent loads the previous agent's output) sees 80-92% cache hit rates, cutting prompt costs by ~60%. The prefix_cache_utils.py helper structures messages to maximize cache overlap.
Reasoning Content Streaming
When thinking mode is enabled, DeepSeek returns delta.reasoning_content (the model's internal chain of thought) alongside delta.content (visible output). The Orchestrator displays its reasoning so you can understand why it made each scheduling decision.
βοΈ AppForge
β
βββββββββββββββββΌββββββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β π§ Orchestrator β
β DeepSeek V4 Pro + Function Calling β
β β
β Reads project_state.json β Decides next step β
β β Routes to correct agent β
β β Updates progress β
ββββββββββββββββββββββββ¬βββββββββββββββββββββββββββ
β
βββββββββββββββββββ΄βββββββββββββββββββ
βΌ βΌ
ββββββββββββββββββββββββ ββββββββββββββββββββββββ
β PHASE 0: Planning β β PHASE 1-N: Building β
β (Strict Serial) β β (Hybrid Parallel) β
β β ββ‘ββ’ββ£ββ€ββ₯ β β DB β FEβBE β CONNECT β
β 6 docs auto-gen β β VERIFY β FIX β SHIP β
ββββββββββββββββββββββββ ββββββββββββββββββββββββ
Every step consumes the output of the previous step. No skipping, no parallel executionβeach document is the foundation for the next.
USER IDEA "I want a running tracker app..."
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β π PRD EXPERT β
β Input: User's idea (even a single sentence) β
β Output: docs/PRD.md β 9 chapters, Given-When-Then criteria β
β Gate: β
No banned words β
P0 β€ 40% of total features β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β‘ ποΈ TECH ARCHITECT β
β Input: docs/PRD.md β
β Output: docs/TECH_ARCHITECTURE.md β
β Content: 2+ alternatives per tech choice, full directory tree,β
β MVP phases, zero-experience setup guide β
β Gate: β
Comparison table per choice β
No vague language β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β’ π CODING STANDARDS β
β Input: PRD + TECH_ARCHITECTURE β
β Output: docs/CODING_STANDARDS.md β 13 chapters β
β Content: Naming rules, component/store/service patterns, β
β Git conventions, Cursor AI prompt template β
β Gate: β
DO/DON'T code examples β
Dir tree matches ARCH β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β£ ποΈ SCHEMA ARCHITECT β
β Input: PRD + ARCH + STANDARDS (3 docs) β
β Output: docs/DB_SCHEMA.md β
β Content: Mermaid ER diagram, PostgreSQL DDL, SQLite DDL, β
β RLS policies, indexes, sync strategy, Redis keys β
β Gate: β
Every table traceable to PRD β
SQL executable β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β€ π API CONTRACT ARCHITECT β
β Input: PRD + ARCH + STANDARDS + SCHEMA (4 docs) β
β Output: docs/API_CONTRACT.md β
β Content: Error code system, auth tiers, TypeScript types, β
β pagination, file upload, weak-network resilience β
β Gate: β
Every PRD action β API β
Fields match Schema β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β₯ π TASK DECOMPOSER β
β Input: ALL 5 docs above β
β Output: docs/TASK_BOOK.md β
β Content: Dependency graph (Mermaid), per-task file list, β
β Mock data plan, copy-paste Claude Code prompts β
β Gate: β
Every page β task β
Criteria = terminal commands β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π INDEPENDENT REVIEW (fresh conversation, zero context bias) β
β Cross-document consistency β Operability β Completeness β
β Output: Must Fix / Should Fix / Ignore / Score (1-10) β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
All clear β
β
βΌ
PHASE 1-N CODING BEGINS
TASK_BOOK.md
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β PHASE 1: INFRASTRUCTURE (forced serial β no parallel possible) β
β β
β T00 βββΆ T01 βββΆ T02 βββΆ T03 βββΆ T04 β
β Init Config Types API UI β
β project files defs client components β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β PHASE 2: AUTH MODULE β
β β
β T05 (Auth Store) βββΆ T06 (Register) β T07 (Login) β can parallelβ
β β β
β βΌ β
β T08 (Auth Edge Function) β
β β β
β βΌ β
β T06 + T07: swap Mock β real API β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β PHASE 3+: CORE FEATURES (frontend β backend allowed) β
β β
β ββββββββββββββββ β
β β ποΈ Agent-DB β Run migrations β
β ββββββββ¬ββββββββ β
β β β
β βββββββββββββββΌββββββββββββββ β
β βΌ βΌ βΌ β
β ββββββββββββ ββββββββββββ ββββββββββββ β
β β π¨ FE β β π§ BE β β π¨ FE β β up to 3 in parallel β
β β Feed pg β β Post API β β New Post β β
β β +Mock β β β β +Mock β β
β ββββββ¬ββββββ ββββββ¬ββββββ ββββββ¬ββββββ β
β β β β β
β ββββββββββββββΌβββββββββββββ β
β βΌ β
β ββββββββββββββββ β
β β π CONNECT β Replace Mock β real API β
β ββββββββ¬ββββββββ β
β βΌ β
β ββββββββββββββββ β
β β β
VERIFY β Run acceptance tests β
β ββββ¬ββββββββ¬ββββ β
β β β β
β Pass β
Fail β β
β β βΌ β
β β ββββββββββββ β
β β β π©Ή FIX β Fix β re-verify β
β β ββββββ¬ββββββ β
β βΌ β β
β Next Task ββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
All tasks done
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π MILESTONE REVIEW (fresh conversation) β
β Zero "must fix" items β π COMPLETE, RUNNING APP β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Agent | Model | Role |
|---|---|---|
| π§ Orchestrator | DeepSeek V4 Pro + thinking | Reads project state β decides next agent β dispatches via Function Calling β updates progress |
| # | Agent | Output | Depends On | What It Does |
|---|---|---|---|---|
| 1 | π PRD Expert | docs/PRD.md |
User idea | Vague idea β 9-chapter structured PRD with Given-When-Then acceptance criteria |
| 2 | ποΈ Tech Architect | docs/TECH_ARCHITECTURE.md |
PRD | Tech comparison tables, directory tree, MVP phases, zero-experience setup guide |
| 3 | π Coding Standards | docs/CODING_STANDARDS.md |
Tech Arch | 13-chapter coding bible with DO/DON'T examples, Cursor AI prompt template |
| 4 | ποΈ Schema Architect | docs/DB_SCHEMA.md |
Standards | Mermaid ER diagrams, PostgreSQL + SQLite DDL, RLS policies, sync strategies |
| 5 | π API Contract | docs/API_CONTRACT.md |
Schema | Endpoint definitions, TypeScript types, error code system, weak-network resilience |
| 6 | π Task Decomposer | docs/TASK_BOOK.md |
All 5 docs | Phased task plan with dependency graph, Mock plan, copy-paste Claude Code prompts |
| Agent | Trigger | Delivers |
|---|---|---|
| ποΈ Agent-DB | Migration task in TASK_BOOK | Supabase CREATE TABLE + RLS SQL |
| π§ Agent-BE | Edge Function task | TypeScript Deno Edge Function code |
| π¨ Agent-FE | Page/component task | React Native page + inline Mock data + // TODO: TXX markers |
| π Agent-CONNECT | FE + BE both complete | Mock β real API, snake_case/camelCase field mapping |
| β Agent-VERIFY | Any coding task done | Per-criterion pass/fail report (no vague "looks good") |
| π©Ή Agent-FIX | Compile error / verify fail | Fix with exact file path + line number, minimal diff |
The Orchestrator doesn't guessβit uses 4 Function Calling tools to make data-driven scheduling decisions:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π§ Orchestrator β
β β
β βββββββββββββββββββββββ βββββββββββββββββββββββ β
β β read_project_state β β read_file β β
β β "What's the current β β "Show me what's in β β
β β status of every β β this doc/code file" β β
β β agent and task?" β β β β
β βββββββββββββββββββββββ βββββββββββββββββββββββ β
β β
β βββββββββββββββββββββββ βββββββββββββββββββββββ β
β β route_to_agent β β update_state β β
β β "Dispatch Agent-X β β "Mark task complete, β β
β β with this task + β β record failure, β β
β β all required docs" β β update retry count" β β
β βββββββββββββββββββββββ βββββββββββββββββββββββ β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
User: "I want to build a running tracker app..."
β
βΌ
ββββββββββββββββββββββββββββββββ
β Orchestrator reads state β
β β PRD.md missing β
β β Phase 0, Step 1 needed β
ββββββββββββββββ¬ββββββββββββββββ
βΌ
ββββββββββββββββββββββββββββββββ
β Orchestrator outputs: β
β π Status: Phase 0, Step 1 β
β πΊοΈ Plan: Route to PRD β
β Expert β no input docs β
β needed, just the user's β
β product idea β
ββββββββββββββββ¬ββββββββββββββββ
βΌ
ββββββββββββββββββββββββββββββββ
β Function Calling: route_to_agent( β
β agent="prd_expert", β
β task="Generate PRD for β
β running tracker...", β
β plan={reason: "...", β
β expected_output: β
β "docs/PRD.md"} β
β ) β
ββββββββββββββββ¬ββββββββββββββββ
βΌ
ββββββββββββββββββββββββββββββββ
β Worker executes: β
β 1. Load prd_expert.md prompt β
β 2. Stream PRD to terminal β
β 3. Save to docs/PRD.md β
β 4. Mark state: completed β
ββββββββββββββββ¬ββββββββββββββββ
βΌ
ββββββββββββββββββββββββββββββββ
β Orchestrator: update_state() β
β β‘οΈ Next: Tech Architect β
β (input: docs/PRD.md) β
ββββββββββββββββββββββββββββββββ
git clone https://github.com/withAIx/DeepSeek-AppForge.git
cd DeepSeek-AppForge/project-orchestrator
pip install -r requirements.txt
cp .env.example .env # add your DEEPSEEK_API_KEY
python main.py> I want a calorie-tracking app with barcode scanning and meal logging...
The Orchestrator fires up and dispatches:
Agent-PRD β Agent-ARCH β Agent-STANDARDS β Agent-SCHEMA
β Agent-API β Agent-DECOMP β Coding begins...
If GitHub is slow, use a mirror:
git clone https://ghproxy.com/https://github.com/withAIx/DeepSeek-AppForge.gitDeepSeek API requires a proxy or API forwarding service when accessed from mainland China. Set your proxy before running:
export HTTPS_PROXY=http://127.0.0.1:7890 # your proxy address
python main.pypip install -e .from agents import PRDExpert, MobileArchitect, TaskDecomposer
prd = PRDExpert()
result = prd.run("I want to build a food delivery app for campus students...")
print(result)python -m agents.cli run prd-expert "Write a PRD for a pet adoption app"
python -m agents.cli list # list all 10 agents
python -m agents.cli run-stream task-decomposer "..." # streaming modeCopy any .md file from skills/ into your Claude Code skills directory. Activate it mid-conversation:
/activate prd-expert
Every agent gets 2 retries. If both fail, the pipeline doesn't stopβit degrades gracefully:
| Agent | Degradation Strategy |
|---|---|
| PRD Expert | Minimal PRD: product overview + P0 feature list only |
| Tech Architect | Default stack: Expo + Supabase + Zustand + NativeWind |
| Coding Standards | Minimal rule set: naming conventions + directory tree + banned words |
| Schema Architect | Core tables only: profiles + top 1-2 business tables |
| API Contract | Auth endpoints + the single most critical business endpoint |
| Task Decomposer | Simplified task book: task IDs + names + dependencies, no Claude Code prompts |
Degraded outputs are marked "degraded": true in project_state.json. Downstream agents work with what's availableβthe assembly line keeps moving.
When documents disagree (e.g., a field name differs between Schema and API Contract):
Level 1: PRD β The final authority on feature behavior
Level 2: Tech Arch β Architecture choices cannot be overridden downstream
Level 3: Coding Standards β Naming style takes precedence here
Level 4: Schema β Field names are canonical from here
Level 5: API Contract β Interface format follows from above
Process: identify conflict β consult the higher-level document β fix the lower-level document β log the decision in project_state.json. The LLM never decides which side "looks more reasonable."
AppForge/ # β you are here
β
βββ README.md # this page
βββ pyproject.toml # Python package config
β
βββ π¦ src/agents/ # Python library (programmatic access)
β βββ _base.py # BaseAgent + AgentConfig
β βββ prd_expert.py .. orchestrator.py # 10 agent implementations
β βββ cli.py # click-based CLI
β
βββ βοΈ project-orchestrator/ # The full assembly line
β βββ README.md # detailed orchestrator docs
β βββ main.py # interactive REPL entry point
β βββ orchestrator.py # Function Calling scheduling loop
β βββ worker.py # agent executor (stream + save)
β βββ state.py # JSON state machine
β βββ config.py # 12-agent registry + dep graph
β βββ agents/ # 13 system prompt files (.md)
β β βββ orchestrator.md
β β βββ phase0/ # 6 planning agent prompts
β β βββ phase1n/ # 6 coding agent prompts
β βββ docs/ # auto-generated output documents
β
βββ π skills/ # Claude Code skill files (10 agents)
βββ prd-expert.md
βββ mobile-architect.md
βββ ...
MIT β forge away.