**The Native Desktop Workspace for Multi-Provider LLM Swarms**
*Orchestrate Claude, Antigravity, OpenAI, Ollama, and CLI Agents in One Workspace*
[](LICENSE)
[](https://www.rust-lang.org/)
[](https://zed.dev)
[](https://agentclientprotocol.com)
[](docs/architecture/decoupled-architecture.md)
---
## โก What is Hadron?
**Hadron** is a native, GPU-accelerated desktop workspace built in Rust for **orchestrated multi-provider LLM swarms**. It brings models from **Anthropic (Claude)**, **Google Antigravity**, **OpenAI**, **Ollama**, **OpenRouter**, and custom **coding CLIs** into a unified room where agents collaborate, exchange context, and delegate tasks using `@mentions`.
Behind the interface, agents (called **Quarks**) execute concurrently over a zero-CPU filesystem event bus (`field.jsonl`), work safely in isolated git worktrees, and submit code changes through an automated **Merge Gate** that runs tests before landing anything on `main`.
---
## ๐ก Key Superpowers
- ๐ฌ **Collaborative Multi-LLM Chat**: Mix models in a single thread โ `@claude`, `@ollama`, `@agy`, `@openai`, and many more see each other's output, share context, and execute parallel sub-tasks via Hub-and-Spoke orchestration.
- ๐ก๏ธ **Git Worktrees & Automated Merge Gate**: Agents work in isolated git worktree branches. The Merge Gate automatically rebases onto `main` and runs your test suite before clean code lands.
- ๐ **Cross-Platform Process Sandboxing**: Zero-overhead native OS jailing across Linux/WSL (Bubblewrap), macOS (Apple Seatbelt), and Windows (PowerShell & Job Objects) with worktree write confinement, credential scrubbing, and interactive chat badge toggles.
- โก **Native GPUI Desktop App**: GPU-accelerated workspace featuring a Project Selector, Windows-to-WSL remote execution, multi-tab PTY terminals, interactive Git & Wave DAG visualizers, native Mermaid diagrams, and real-time token telemetry.
- ๐ ๏ธ **Hadron Forge & Developer Power Tools**: 50+ built-in MCP developer capabilities โ AST precision edits via `blake3`, isolated PTY terminals, headless browser testing, LSP code intelligence, background process supervision, automated git bisect, and flamegraph profiling. Detailed in [`Power Tools Suite`](docs/forge/power-tools.md).
- ๐ง **Persistent Nucleus Memory & Universal Absorption**: Cross-session shared memory within a configurable budget (16/32/64/128 KiB), plus `/absorb` to seamlessly import memories, invariants, skills, and plans from `.agents/`, `.claude/`, `.cursor/`, `.windsurf/`, `.kimi/`, `.superpowers/`, and many more.
- ๐ค **Autonomous Headless Swarm Runner**: Standalone non-interactive CLI runner (`hadron run` / `hadron ci`) for CI/CD automation, speculative shadow pre-testing, AST-aware rebase healing, and tiled multi-PTY terminals.
- ๐ฏ **Autonomous Swarm Control & Architectural Dialectic**: Built-in slash commands (`/goal`, `/loop`, `/absorb`, `/release`, `/projects`, `/open`, `/git-init`, `/resume`, `/clear`, `/home`, `/canvas`, `/intercom`, `/dream`, `/timelapse`, `/radar`, `/baseline`, `/preview-rebase`, `/steer`, `/scout`, `/debate`, `/team-debate`, `/settle`) and 29 bundled workflow & engineering skills (TDD, security review, architecture audit, debate, migration-deprecation, benchmarking, doc-drift audit, systematic debugging, design specs).
---
## ๐ Quick Start
### Prerequisites
- **OS**: Linux (X11/Wayland), macOS, or Windows (native MSVC or WSL2).
- **LLM Access**: Any ACP agent (e.g. Claude Code), Antigravity, local Ollama, or API key for OpenAI / OpenRouter / Anthropic.
### 1. Install Hadron
#### Quick Install (Prebuilt Binaries โ Recommended)
**Linux & macOS:**
```bash
curl -fsSL https://raw.githubusercontent.com/s0lda/hadron/main/install.sh | sh
```
*Detects Linux and macOS architectures, validates SHA256 checksums, and installs all three binaries (`hadron`, `hadron-gluon`, `hadron-forge-mcp`) into `~/.local/bin`.*
**Windows (PowerShell):**
```powershell
irm https://raw.githubusercontent.com/s0lda/hadron/main/install.ps1 | iex
```
*Installs Hadron to `$env:LOCALAPPDATA\Programs\Hadron`, verifies SHA256 checksums, configures user PATH, and sets up Start Menu / Desktop shortcuts with the custom Hadron application icon.*
#### Build from Source (Cargo)
*Requires Rust toolchain (Rust 1.93+, edition 2021).*
```bash
cargo install --locked --git https://github.com/s0lda/hadron.git hadron
```
### 2. Launch in Any Repo
```bash
# Open or create a swarm workspace in your project directory
cd ~/dev/my_project && hadron
# Or execute headlessly in CI / terminal batch mode
hadron run "Implement user authentication with tests"
hadron ci --plan .hadron/docs/plans/