# Claude Opus Multi-Agent Orchestration Demo (opus.py)

> A Python multi-agent pattern pairing Opus orchestration with Haiku worker instances.

A workflow pattern demonstrating hierarchical multi-agent software development using Claude models. Claude Opus acts as the planner and reviewer, breaking down a high-level goal into sequential technical subtasks that fast, lightweight Claude Haiku instances execute. It serves as an early reference implementation for autonomous coding agents.

## The framework

Flow: user enters objective ('create a js html website to draw, like a paint app') into opus.py in the terminal. Opus produces a high-level plan (set up canvas, drawing tools toolbar, color picker/palette, features like brush size/eraser/save/undo-redo, optimize, deploy, maintain). Opus then repeatedly 'Calls Haiku for task:' to implement each subtask — e.g. setting up canvas event listeners (mousedown/mousemove/mouseup drawing logic), color picker and swatches, clear button, then enhancement passes (UX, accessibility/ARIA, code maintainability, testing/docs). Outputs return to Opus for review, and finally 'Calling Opus to summarize task results for objective'. Whole process took 13 minutes 20 seconds.

## What it is for

- Build simple web applications from natural language prompts using delegated AI subagents
- Structure hierarchical multi-agent architectures that pair high-capability planners with low-cost executors
- Automate incremental code generation, review, and documentation passes

## Key points

- Hierarchical planner-worker architecture dividing tasks between Opus and Haiku
- High-level project decomposition into sequential implementation phases
- Automated task delegation and prompt execution via terminal CLI
- Continuous review and task summarization by the orchestrator model
- Step-by-step modular builds including core logic, UX, ARIA accessibility, and testing

## Pricing

Open source. Free script concept; requires user Anthropic API credits.

## Details

- Type: Framework
- Category: [AI](https://xiry.app/topics/ai.md)
- Topic: [Autonomous Agents](https://xiry.app/topics/ai/autonomous-agents.md)
- Open source: yes
- Platforms: Command line
- For: Developers experimenting with LLM orchestration and autonomous coding agents.
- Alternative to: Devin, MetaGPT, AutoGPT, ChatDev
- Tags: claude, anthropic, agents, orchestration, python, automation

## Why it was saved

- [@skirano, 18 March 2024](https://x.com/skirano/status/1769775481245585883): Early demonstration (March 2024) of LLM-orchestrated subagents autonomously building a full app — like Devin — with the full transcript shared.

## Compare

- [Alternatives to Devin](https://xiry.app/alternatives/devin.md)
- [Alternatives to AutoGPT](https://xiry.app/alternatives/autogpt.md)

## Related

- [Hermes Agent](https://xiry.app/resources/hermes-agent): Open-source, self-hosted AI agent with persistent memory and messaging integrations. (Open source)
- [AgenticSeek](https://xiry.app/resources/agenticseek): Open-source, fully local autonomous AI agent that browses and writes code (GitHub repo, Open source)
- [AutoGPT](https://xiry.app/resources/autogpt): Open-source platform and framework for building autonomous AI agents (GitHub repo, Freemium)
- [DeerFlow](https://xiry.app/resources/deerflow): Open-source long-horizon agent harness with Docker sandboxes, memory, and sub-agents (GitHub repo, Open source)
- [Genspark](https://xiry.app/resources/genspark): All-in-one AI workspace with autonomous agent tools for content, research, and analysis. (Web app, Freemium)
- [NitroGen](https://xiry.app/resources/nitrogen): Open vision-to-action foundation model for generalist autonomous game playing (AI model, Free)

Updated 11 October 2026. Page: https://xiry.app/resources/claude-opus-multi-agent-orchestration-demo-opus-py

Make your own library: Xiry takes your saved reels, tweets, Reddit bookmarks and Watch Later videos, makes them searchable and pulls the useful stuff out, like this library. It's invite-only for now; join the waitlist at https://xiry.app/#waitlist.
