Skip to main content
Glama
meshbaton-mcp
by arien-max
README.md
<div align="center">

<a href="https://github.com/arien-max/AllHarness">
  <img src="brand/allharness-logo.svg" alt="AllHarness Logo" width="84" height="84" />
</a>

<h1>AllHarness</h1>

<p>
  <strong>A lightweight, zero-dependency multi-agent workspace for AI coding CLIs &amp; IDEs.</strong><br />
  Run <strong>Claude Code, Codex, Gemini CLI, Cursor &amp; OpenCode</strong> on the same repo — hand off context when you hit rate limits, lock files so parallel agents never collide, and connect Web/Mobile AI via local MCP.
</p>

<p>
  <a href="https://github.com/arien-max/AllHarness/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/arien-max/AllHarness/ci.yml?style=flat-square&label=CI&logo=github" alt="CI" /></a>
  <img src="https://img.shields.io/badge/Version-0.3.0-818CF8?style=flat-square" alt="Version 0.3.0" />
  <img src="https://img.shields.io/badge/Python-3.11%2B%20(0%20Deps)-34D399?style=flat-square" alt="Python 3.11+ Zero Dependencies" />
  <img src="https://img.shields.io/badge/MCP-HTTP%2FSSE%20%2B%20OAuth%202.1-C084FC?style=flat-square" alt="MCP + OAuth 2.1" />
  <img src="https://img.shields.io/badge/Platform-Windows%20%7C%20macOS%20%7C%20Linux-38BDF8?style=flat-square" alt="Windows | macOS | Linux" />
  <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-818CF8?style=flat-square" alt="MIT License" /></a>
</p>

<p>
  <a href="#-30-second-quickstart">Quickstart</a> ·
  <a href="#-why-allharness">Why AllHarness</a> ·
  <a href="#-live-walkthrough">Live Demo</a> ·
  <a href="#-mcp-in-one-command">MCP Setup</a> ·
  <a href="docs/CAPABILITY-MATRIX.md">Supported CLIs</a> ·
  <a href="docs/MCP.md">MCP Docs</a>
</p>

<br />

<a href="https://github.com/arien-max/AllHarness">
  <img src="brand/allharness-hero.svg" alt="AllHarness — Lightweight Multi-Agent Workspace" width="100%" />
</a>

</div>

---

## ⚡ 30-Second Quickstart

**Python 3.11+ only. Zero third-party runtime dependencies. Local-first.**

```sh
git clone https://github.com/arien-max/AllHarness.git
cd AllHarness
pip install -e .
allharness serve --workspace .
```

Open **`http://127.0.0.1:8790/_board`** in your browser (first launch walks you through setting a local console password; CLI/MCP clients auto-pair via `runtime.json`).

Or run the built-in 3-agent collaboration demo without touching your project:

```sh
allharness demo
```

---

## 🎯 Why AllHarness?

If you pay for multiple AI coding subscriptions (**Claude Max, ChatGPT Plus/Codex, Gemini, Cursor, OpenCode**), you probably hit the same four walls every day:

| Daily Pain | How AllHarness Solves It |
|---|---|
| **Hit a 5h rate limit mid-task** | **1-Click Cross-CLI Handoff** — compress the current thread and hand it off from Claude Code to Codex or Gemini CLI without re-explaining the repo. |
| **Parallel agents overwrite each other** | **File-Scope Locks &amp; Git Worktrees** — `allharness claim --scope src/auth.py` warns or blocks colliding edits before a byte is written. |
| **Agents burn 50k+ tokens re-grepping** | **Token-Budgeted Context Pack** — `allharness context "<task>" --budget 1800` packs exact file/line entrypoints + active locks into `<= 2k` tokens. |
| **Can't code from Web/Mobile AI safely** | **Local MCP Remote Dev (OAuth 2.1)** — expose sandboxed `fs_*`, `git_*`, and `project_check` tools with automatic API-key redaction (`sk-*`, `ghp_*`). |

---

## 🤝 Lightweight Multi-Agent Interaction

AllHarness stays out of your way until you want agents to collaborate:

- **Cross-CLI AI Chat &amp; Handoff**: Switch models or CLIs in the same conversation, compress long histories in one click, and keep a global session index across workspaces.
- **Multi-Agent Collaboration Rooms**: Spin up role-matched specialists (Architect, Implementer, Independent Reviewer) with `@mention` peer inquiries, distilled room memory, and isolated Git worktrees.
- **Honest Verification (`implement → review → accept`)**: Distinguishes real `gateway_verified` test runs from `self_reported` agent claims in a local hash-chained ledger.
- **Project Knowledge Wiki**: Lightweight `<= 300`-token L0/L1/L2 briefs and Git hotspot/drift hints so new agents don't repeat old mistakes.

---

## 🎬 Live Walkthrough

### 1. Cross-CLI Handoff &amp; Context Compression

<div align="center">
  <img src="brand/ai-handoff-demo.gif" alt="AllHarness Cross-CLI Handoff &amp; Context Compression" width="100%" />
</div>

### 2. Full Workspace Tour

<div align="center">
  <img src="brand/allharness-demo.gif" alt="AllHarness Workspace Tour" width="100%" />
</div>

<details>
<summary><strong>📸 View All 5 Console Previews (Chat Handoff · Rooms · MCP Hub · Harness Matrix · Scope Board)</strong></summary>
<br />

<p align="center">
  <strong>Cross-Harness AI Chat Handoff</strong><br />
  <img src="brand/ai-handoff-preview.png" alt="AI Chat Handoff Console" width="100%" />
</p>

<p align="center">
  <strong>Multi-Agent Collaboration Rooms</strong><br />
  <img src="brand/collaboration-room-preview.png" alt="Multi-Agent Collaboration Room" width="100%" />
</p>

<p align="center">
  <strong>MCP Remote Dev Hub &amp; OAuth 2.1</strong><br />
  <img src="brand/mcp-remote-dev-preview.png" alt="MCP Remote Development Hub" width="100%" />
</p>

<p align="center">
  <strong>Multi-Client Harness Matrix</strong><br />
  <img src="brand/harnesses-matrix-preview.png" alt="Harnesses Matrix" width="100%" />
</p>

<p align="center">
  <strong>Task Control &amp; File-Scope Workbench</strong><br />
  <img src="brand/cockpit-preview.png" alt="Task Control Cockpit" width="100%" />
</p>

</details>

---

## 🔌 MCP in One Command

Connect any MCP-compatible CLI, IDE, or Web client:

```sh
# Claude Code (stdio auto-discovery proxy)
claude mcp add allharness -- allharness mcp-proxy --workspace .

# Streamable HTTP / SSE (supports remote dev & OAuth 2.1)
claude mcp add --transport http allharness "http://127.0.0.1:8790/_board/mcp" --header "Authorization: Bearer <TOKEN>"
```

Coordinate tasks directly from any terminal too:

```sh
allharness context "auth refresh" --budget 1800
allharness claim --title "Fix auth refresh" --scope src/auth.py
allharness review 1 --to codex-reviewer --verify-cmd "python -m pytest tests/test_auth.py"
allharness done 1 --note "Accepted"
```

See [docs/MCP.md](docs/MCP.md) for Codex, Gemini CLI, Cursor, and OAuth 2.1 Web Client setup.

---

## 🧩 Supported CLIs &amp; IDEs

- **First-Class Support**: `Claude Code` · `Codex CLI` · `Gemini CLI` · `OpenCode` · `Cursor` · `Devin CLI`
- **Built-In Adapters (30+ More)**: `Windsurf`, `Antigravity`, `Aider`, `Cline`, `Roo Code`, `GitHub Copilot CLI`, `Trae`, `VS Code`, `Zed`, `Goose`, `OpenHands`, `DeepSeek`, `Qwen Code`, `OpenAI-Compatible APIs`, plus **`+ Manual CLI`** for any custom tool.

Full per-harness protocol breakdown: [docs/CAPABILITY-MATRIX.md](docs/CAPABILITY-MATRIX.md).

---

## 📚 Docs &amp; Repo Layout

```text
AllHarness/
├── src/agent_board/     # Zero-dependency Python 3.11+ core, MCP server, Rooms & Cockpit UI
├── brand/               # Logos, demos & console screenshots
├── docs/                # MCP.md, CAPABILITY-MATRIX.md, COMPARISON.md, CHANGELOG.md
├── tests/               # Unit, integration & UI self-tests
└── pyproject.toml       # PEP 621 metadata & CLI entrypoints
```

- [docs/MCP.md](docs/MCP.md) — Stdio, Streamable HTTP/SSE, OAuth 2.1 &amp; Remote Dev tools
- [docs/CAPABILITY-MATRIX.md](docs/CAPABILITY-MATRIX.md) — Per-harness capability matrix
- [docs/COMPARISON.md](docs/COMPARISON.md) — Honest positioning against adjacent tools
- [docs/CHANGELOG.md](docs/CHANGELOG.md) — Release history
- [.github/SECURITY.md](.github/SECURITY.md) — Trust boundary &amp; credential handling

---

<div align="center">
  Built by <a href="https://github.com/arien-max">@arien-max</a> · Released under the <a href="LICENSE">MIT License</a>
</div>