MAGELLAN: A 15-Agent Autonomous Scientific Discovery System Built on Claude Code

System Architecture and Implementation
MAGELLAN is built entirely on Claude Code with 15 custom agents defined in .claude/agents/, coordinated by an orchestrator. The system uses model pinning: each agent has model: opus or model: sonnet in frontmatter to guarantee effort levels regardless of session settings.
Opus handles deep cross-domain reasoning through four agents: Scout, Generator, Critic, and Quality Gate. Sonnet handles structured tasks through three agents: Literature Scout, Ranker, and Computational Validator.
Workflow and Patterns
The orchestrator (Opus with 200-turn circuit breaker) dispatches to sub-agents and never executes phases inline. The system implements reflection loops via agent prompts: SELF-CRITIQUE (Generator), META-CRITIQUE (Critic), and TARGET QUALITY CHECK (Scout).
Adaptive cycles adjust based on results: early completion if top-3 hypotheses score >= 7.0, extension to cycle 3 if survival rate is < 30%. After the pipeline, cross-model validation occurs via bash scripts calling GPT-5.4 and Gemini 3.1 APIs for independent review.
Results and Availability
After 19 sessions, the system has proposed approximately 260 hypotheses, with about 60% killed by the adversarial pipeline. All results are available on the project website with full methodology.
The system is open source under Apache 2.0 license. The Claude Code pipeline details, discoveries, and contribution information are available through the project links.
📖 Read the full source: r/ClaudeAI
👀 See Also

Eqho: Local Voice-to-Text App for Claude Code Sessions
Eqho is a free, open-source voice-to-text app that uses OpenAI's Whisper model locally to type spoken input into any focused application. Currently Windows-only with command-line setup required.

Sylve: A FreeBSD Management Plane for Virtualization, Containers, and Storage
Sylve is a BSD-2 licensed management plane for FreeBSD that provides unified control over Bhyve VMs, FreeBSD Jails, ZFS storage, and networking. It uses a RAFT consensus model for clustering and includes Samba share management with ZFS snapshot automation.

Open-Source SDK for AI Knowledge Work
ClioAI's kw-sdk offers a structured framework for AI agents performing knowledge work, implementing a self-verifying loop with task briefing, rubric creation, and verification.

llmLibrarian: Local RAG Engine with MCP Integration for File-Based AI Search
llmLibrarian is a local RAG engine that exposes retrieval over MCP, allowing AI agents like Claude to query indexed files. It uses ChromaDB collections for organization, Ollama for synthesis, and keeps everything on-device.