Building a 20-Agent Pipeline with Claude Code: Less AI, More Structure

A developer on r/ClaudeAI shared their experience building a 20-agent pipeline with Claude Code to automate daily workflows across Gmail, Calendar, Notion, LinkedIn, web scrapers, and local APIs. The system replaced an hour of manual checking each morning.
The Problem with the Monolithic Approach
The first version was a single long conversation with Claude that handled everything—order, logic, all tasks. This "monolith" worked until around 100K tokens, then the model started losing track, repeating steps, skipping others, with no way to debug because everything lived in one context.
The Solution: Agent-Based Architecture
The developer broke the system into individual agents, each with one job. Each agent is a markdown file with its task. An orchestrator reads the file, replaces variables, and spawns it using the Agent tool—no LangChain or CrewAI.
The communication layer is simple: agents don't share context. Each writes a JSON file to a directory (one per day), with files like calendar.json, gmail.json, notion.json, leads.json, hitlist.json. The next agent reads that file. This approach provides complete visibility—you can open any file to see exactly what an agent produced. The developer calls this "blast radius containment": one agent fails, the rest keep going.
Key Structural Elements
- Non-AI Orchestrator: A markdown file that specifies "run these 4 agents in parallel, wait for all of them, check that their output files exist, then run the next phase." The system has 9 phases, some parallel, some sequential.
- Phase 0 Validation: Checks that all tools are connected. If Gmail or Notion is down, it stops completely—no partial runs that look complete.
- Non-AI Compression: The system asks "1 to 5?" at start to determine capacity. This writes a JSON file with rules: low number caps everything at 5 actions, skips anything over 30 minutes; high number runs full routine.
- Style Rules File: A plain text file that every content agent reads before writing. This fixed the problem of multiple agents writing outreach messages that sounded like different AIs—before this, zero responses; after, real conversations.
The Core Insight
The developer discovered that every time something broke, the fix was never a better prompt. It was adding structure around the AI. The AI parts worked—what broke was sequencing, communication between agents, error handling, and output volume. Each time, the answer was a piece of software, not a smarter model.
The developer, who comes from a Threat Intelligence Investigations background, has open-sourced a generic version at https://github.com/assafkip/kipi-system so others can build similar systems for their domains.
📖 Read the full source: r/ClaudeAI
👀 See Also

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.

User Successfully Uses Claude AI to Draft Legal Mitigation Statement
A Reddit user reports using Claude AI to help win a traffic offense case by downloading offense details and prompting Claude to write a mitigation statement, which impressed the judge.

Building a Kid-Safe Coloring Book App with Claude as Pair Programmer
A developer used Claude as a pair programmer to build a SwiftUI coloring-book app with local image generation, parent locks, and no ads.
Claude Code Wrote Every Line of a 50s Launch Video in Remotion — But It Took ~100 Prompts
A developer details using Claude Code to generate every line of TypeScript/TSX for a Remotion launch video. The process required ~100 prompts, a detailed creative brief, scene-by-scene iteration, and frequent git diffs.