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

Claude Code documentation includes excessive React components inflating token counts
Analysis of Claude Code's LLM documentation reveals that MDX files contain massive inlined React components, with context-window.md using 18,501 tokens but only 551 tokens of actual documentation content.

Vibeyard adds P2P session sharing for Claude Code
Vibeyard, an open-source IDE for Claude Code, now supports peer-to-peer session sharing. Users can share live terminal sessions with teammates over encrypted WebRTC connections with read-only or read-write access modes.

Claude Cowork vs OpenClaw: Where the replacement narrative holds and breaks
Claude Cowork offers persistent desktop sessions with low friction, while OpenClaw maintains advantages in system-level automation, skill ecosystems, and workflow control.

Custom Status Line for Claude Code Shows Context Usage, Cost, and Git Branch
A Reddit user created a bash script that leverages Claude Code's statusLine setting to display real-time information including context window usage, session cost, active model, and current git branch. The script requires jq and is available on GitHub.