Open-Foundry: A Framework for Multi-Agent Debates with Claude Code

What Open-Foundry Does
Open-foundry addresses a specific frustration with Claude Code: when it provides complex analysis, the extended thinking process remains a black box. If the conclusion is wrong, there's no way to trace which assumption failed. This framework solves that by creating multi-agent debates with fully externalized reasoning.
How It Works
You define a mission with a question and a panel of agents, each with a distinct persona and explicit "negative space" — things they refuse to do. The orchestrator picks who speaks next based on discussion dynamics, with agents challenging each other's claims across 20-30 turns. A synthesizer produces the final deliverable.
The entire process is autonomous — you can walk away and come back to a finished session. Because each agent is a stateless claude -p call, all thinking must be externalized into files.
What You Get
- A full transcript where every claim is attributed to a specific agent at a specific turn
- Orchestrator logs explaining why each speaker was chosen
- Per-agent working notes
- The reasoning process becomes a readable, searchable artifact
Human-in-the-Loop Capability
You can press Ctrl+\ at any point to pause and inject a message. In the sample session, the creator noticed all 6 agents were assuming a team with senior engineers — nobody was addressing solo developers. One intervention at turn 8 redirected the entire discussion.
Sample Session
You can browse a real session without cloning:
- Transcript — 6 agents debating "Should AI replace code review?"
- Synthesis — the deliverable
- Orchestrator log — why each speaker was chosen
What It's Not
Open-foundry is not a replacement for Claude Code CLI. If you know what to ask and want a fast answer, use Claude directly. This framework is for questions complex enough that you want multiple perspectives challenging each other — and you need to show (or audit) how the conclusion was reached.
Technical Details
- Stdlib-only Python, zero dependencies beyond Claude CLI
- Each agent has full access to all Claude Code tools, MCP servers, and plugins
- Apache 2.0 licensed
- GitHub: https://github.com/YiminYang27/open-foundry
📖 Read the full source: r/ClaudeAI
👀 See Also

ClawCut Proxy Released on GitHub to Optimize OpenClaw for Small LLMs
ClawCut is an experimental proxy that manipulates, injects JSON calls, and extracts JSON clutter from OpenClaw to reduce cognitive overload on small models (7B-8B) running on limited hardware.

HostMyClaudeHTML: One-Click Sharing for Claude HTML Artifacts
A developer built hostmyclaudehtml.com, a free tool that lets you share Claude-generated HTML artifacts as live URLs by dragging and dropping the .html file. No account is required for uploaders or viewers.

Open Swarm: Open-Source System for Running Thousands of Parallel AI Agents
Open Swarm is an open-source system that spawns thousands of parallel AI agents with full access to 150+ internet tools including email, social media, Google Workspace, web search, code execution, and cron scheduling.

Claude Desktop App Cowork Feature Enables AI-to-AI Communication via Shared Google Docs
Users have successfully implemented Claude-to-Claude communication using the new cowork function in the desktop app, with two agents reading and writing to a shared Google Doc. The test involved five rounds of question-and-answer dialogue between the AI agents.