Case Study: Using LLM Prompts Instead of Programmatic Scaffolding for Multi-Agent Software Builds

System Overview and Results
A multi-agent system consisting of a Claude Opus orchestrator and Codex worker agents completed 10 fully autonomous software builds without human code intervention. The system produced 10 TypeScript browser games totaling over 50,000 lines of code and hundreds of passing tests.
The orchestrator—a frontier LLM given a prompt and CLI access—decomposed objectives, dispatched parallel workers, analyzed results, triaged errors, and coordinated integration. No programmatic scaffold, state machine, or task-routing infrastructure was used; the orchestration logic is a prompt, not a program.
Key Findings from the Case Study
- Scope enforcement through prompts fails completely under compiler pressure (0/20), while mechanical enforcement via post-hoc file reversion is trivially effective (20/20)
- Type contracts are not required for integration at any scale tested (6–36 modules) when the integration agent has unrestricted edit access
- The orchestrator maintained perfect task continuity across 11 context compaction events
- Cost analysis reveals a statefulness premium: with ~95% cache hit rates, the majority of orchestrator processing is re-reading prior conversation context
- A bare-prompt ablation falsifies the strong claim that models independently discover coordination patterns, but reveals that solo execution outperforms coordinated builds below ~30K LOC
System Architecture and Data
The system uses a tree architecture: a human provides objectives to a Claude Opus orchestrator, which decomposes work into parallel tasks dispatched to Codex workers. Workers operate fully autonomously and communicate exclusively through the file system.
The complete dataset includes:
- 10 Claude orchestrator sessions (52 MB)
- 88 Codex worker sessions (89 MB)
- 62 worker stdout logs (186.7 MB, 6.1M lines)
- 55 objective files with full prompt text
- 1 TUI event log (21 MB, 173K lines)
Total corpus: 295M tokens across 88 Codex worker sessions and 10 Claude orchestrator sessions.
System Evolution
The system evolved through five phases over approximately six months. The operator began with manual copy-paste between dual LLM chat windows, graduated to terminal CLI tools for file system access, then built a programmatic scaffold with memory and routing. The scaffold worked but was brittle—every edge case required new code. A single Claude session with CLI access outperformed it.
The resulting system, orch-minimal, retains 62,792 lines of supporting code, but the core orchestration logic is a prompt, not a program.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Developer builds anonymous love proposal app with Claude Code
A developer created BlushDrop, an anonymous love proposal platform with real-time tracking, using Claude Code to handle architecture, security, and deployment despite having no prior experience with Next.js or Supabase Realtime.

Reddit user shares experience with AI agent building a Next.js project overnight
A developer on r/openclaw gave their AI agent an open-ended task to build a project from scratch overnight, documenting what the agent handled well versus where human intervention was required. The agent successfully scaffolded a Next.js project, wrote content, managed Git operations, deployed to Vercel, and iterated on design with feedback.

How I built 62 free tools in a month using Claude Code + a loop script
A developer shipped 62 browser-based, SEO-ready tools in 30 days using a shell script called Ralph that runs Claude Code autonomously in layers, plus a parallel cook.sh to run multiple tools at once.

Practical Lessons from Building a 350K-Line Codebase Solo with AI Agents
A developer shares concrete engineering insights from building a 356K-line production codebase in 52 days using AI agents, including how codebase structure affects agent output and why strong typing is essential.