> ## Documentation Index
> Fetch the complete documentation index at: https://mathematicalcompany.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Swarm

> Autonomous quant agent swarm. A Hive orchestrates agent workflows, a circuit breaker enforces hard limits. Works with any LLM via OpenRouter.

The swarm system now has its own dedicated documentation section. See the full docs:

<CardGroup cols={2}>
  <Card title="Overview" icon="sitemap" href="/swarm/overview">
    Architecture, risk layers, quick start, model configuration.
  </Card>

  <Card title="Hive" icon="brain" href="/swarm/hive">
    Central orchestrator. 9 tools, proposal review, spawning, capital allocation.
  </Card>

  <Card title="Agent Pipeline" icon="robot" href="/swarm/agent-pipeline">
    9-phase workflow, 5 anti-overfitting gates, 187 tools, cycle loop.
  </Card>

  <Card title="Circuit Breaker" icon="shield-halved" href="/swarm/circuit-breaker">
    Non-LLM watchdog. Emergency stop, hard limits, no override path.
  </Card>

  <Card title="Event Bus" icon="tower-broadcast" href="/swarm/event-bus">
    WebSocket pub/sub. 6 channels, ring buffers, thread-safe publishing, client protocol.
  </Card>
</CardGroup>
