hadron

mcp
Security Audit
Warn
Health Warn
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Pass
  • Code scan — Scanned 11 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

A native Rust multi-agent operating system and swarm workspace — GPUI desktop chamber, headless gluon daemon, git-worktree isolation and an automatic merge gate.

README.md

🌌 Hadron

The Native Desktop Workspace for Multi-Provider LLM Swarms

Orchestrate Claude, Antigravity, OpenAI, Ollama, and CLI Agents in One Workspace

License
Language
UI
Protocol
Architecture


Hadron Orchestrated Multi-Provider Chat Workspace

⚡ 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, and @openai 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.
  • Native GPUI Desktop App: Lightning-fast GPU-accelerated UI with multi-tab PTY terminals, interactive git commit graph, live plan tracking, and real-time per-agent token telemetry.
  • 🛠️ Hadron Forge & Developer Power Tools: AST-level precision code edits across 14+ languages using blake3 hashes, background process supervisor, 3-tier polyglot code intelligence/LSP, headless browser testing, jailed screenshot capture, interactive PTY sessions, loopback mock servers, and local SQLite engine.
  • 🧠 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/.
  • 🎯 Autonomous Swarm Control: Built-in slash commands (/goal, /loop, /absorb, /release, /git-init, /resume, /clear) and 25 bundled workflow & engineering skills (TDD, security review, architecture audit, systematic debugging, design specs).

🚀 Quick Start

Prerequisites

  • Rust: Toolchain (edition 2021, tested on Rust 1.80+).
  • OS: Linux (X11/Wayland), macOS, or Windows (WSL2 / WSLg).
  • LLM Access: Any ACP agent (e.g. Claude Code), Antigravity, local Ollama, or API key for OpenAI / OpenRouter / Anthropic.

1. Install Hadron

# Install the full binary suite (--locked is mandatory)
cargo install --locked --git https://github.com/s0lda/hadron.git hadron

2. Launch in Any Repo

# Open or create a swarm workspace in your project directory
cd ~/dev/my_project && hadron

📚 Documentation & Deep Dives

Explore Hadron's mechanics, architecture, and developer guides in the /docs directory:

Section Description Links
📜 Changelog Release history & version notes Changelog
🕹️ Commands Full interactive chat commands reference Commands Reference
🏛️ Architecture 2-Tier Daemon/GUI split & Swarm Event Loop Decoupled Architecture · System Diagrams
⚛️ Concepts & Physics Particle Physics Mental Model & Glossary Physics Metaphor · Vocabulary
🛠️ Hadron Forge AST Edit-by-Hash & Developer Power Tools Edit-by-Hash Engine · Power Tools Suite
🌿 Development Building from Source & Git Worktrees Building from Source · Git Worktrees

🔌 Provider & Model Ecosystem

Hadron connects an expanding ecosystem of AI agents, local models, cloud APIs, and terminal tools into a single orchestrated workspace. Any binary, endpoint, or script matching supported protocol interfaces can be seated directly into your swarm:

  • 🤖 ACP (Agent Client Protocol): Resident agent processes with automatic session resumption, model selection, and tool execution.
  • 🌉 Custom SDK Bridges: Embedded adapters for SDK-based agent runtimes (such as Google Antigravity).
  • ☁️ Local & Cloud HTTP Endpoints: Zero-config connection to local model servers (Ollama, LM Studio) and cloud model aggregators or APIs (OpenAI, OpenRouter with 400+ models, or any OpenAI-compatible endpoint).
  • 💻 CLI & PTY Transports: Stdio wrappers (CliSpec) for terminal scripts and interactive PTY terminal seats alongside LLM agents in the chat room.

⌨️ Essential Keyboard Shortcuts

Shortcut Action
Ctrl+Tab / `Ctrl+`` Toggle focus between Chat Input and PTY Terminal
Ctrl+Shift+T / Ctrl+Shift+W New / Close Terminal Tab
Ctrl+PageDown / Ctrl+PageUp Next / Previous Terminal Tab (also Ctrl+Shift+] / Ctrl+Shift+[)
Alt+Left / Alt+Right Switch Chat column tabs (Chat / Log / Stats)
Alt+PageUp / Alt+PageDown Switch Right-Rail Inspector tabs (Terminal / Files / Changes / Plan)
Alt+Up / Alt+Down Cycle Telemetry & Stats time windows (Session / Week / Month / All)
Ctrl+J / Ctrl+K Move selection in Quark Roster
Ctrl+Alt+Enter Toggle selected Quark enabled / disabled
Ctrl+M / F10 Open App Menu overlay
F6 Cycle global permission mode (Ask / Write / Auto / Bypass)

📄 License & Community

Reviews (0)

No results found