BitTorrent-style mesh for AI inference across agentic CLIs. Local-first.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
BitTorrent-style mesh for AI inference β donate spare local compute across Claude, Codex, Gemini, Grok, pi. Your hardware, opt-in, metered.
Part of the Vibe Suite β companion tools for agentic coding CLIs (Claude Code, Codex, Gemini, Grok/pi, Kimi). Ships as CLI + npm package + MCP server.
Local-first: runs on your own machine, no data out (consent model in @pooriaarab/vibe-core).
v0 = the local-compute tier only. This release donates spare compute from a model on your machine, metered against a daily token cap and scoped to an allow-list. Routing a stranger's inference through your logged-in subscription or API key is a different trust surface and needs trust/legal design first (see
docs/spec.mdΒ§"Open questions"). It is deliberately not in v0.
As a library:
State lives in $VIBEDONATE_DIR (default ~/.vibedonate): config.json, consent.json, metering.json. Nothing leaves your machine.
--pool| Value | Who can receive |
|---|---|
open | any peer (you opted into the open pool) |
org:acme or org:acme,alice,bob | a named group; trailing ids are its member allow-list |
allowlist:alice,bob | an explicit peer-id list |
--capA bare integer (2000000) or shorthand (2M, 500k). Scoped to the UTC day of each receipt.
Every function is pure and injectable: now, systemBusy, the metering store, and the consent ledger are all passed in β which is what makes the gating logic unit-testable to exhaustion.
vibedonate mcp runs an stdio MCP server with two tools:
| Tool | Args | Returns |
|---|---|---|
status | β | config, metering totals, and whether the node is sharing now |
request_capacity | { peer, tokens } | allow/deny + reason |
request_capacity is a pre-flight β it checks the donate:compute consent grant, peer authorization, on-device compute availability (resolved through vibe-core's cascade, egress forbidden), the idle window, local activity, and the daily cap, then answers. It does not consume capacity (recording real usage is the runtime half of the mesh, landing after v0). An agent running low on quota can ask the mesh for capacity behind your consent.
Two functions, one truth:
isSharingActive(config, now, systemBusy, donatedToday) β the schedule boolean. true iff the donation is enabled, the machine is not busy, today's donated tokens are under cap, and now is inside the idle window. Use this for "are we in a sharing state right now?" (status, dashboards).evaluateCapacity(config, consent, peer, tokens, ctx) β the full request gate, shared by request_capacity (MCP, no commit) and createLocalMeshRuntime().serve() (runtime, commits a receipt). Checks in order: enabled β consent grant β peer authorization β on-device compute available β not busy β idle window β daily cap β request fits remaining. One definition, consulted everywhere.The on-device compute check is real: resolveCompute() runs the request through vibe-core's model-preference cascade with allowEgress:false, so only the on-device (local) tier is ever eligible β donated compute provably never leaves your machine. vibedonate ships an Ollama-backed chat runner (set VIBEDONATE_OLLAMA_MODEL); other runners drop into defaultChatRunners() as they land.
Metering receipts form a sha-256 hash-chain (seq β prev β hash); ledger.verify() detects any mutation, drop, or reorder β a local tamper-evident ledger, as the spec calls for. createLocalMeshRuntime().serve() is what actually appends to it, so the ledger is exercised (not write-only).
The P2P transport β carrying a remote peer's request to this node and the donor's inference back (encrypted peer-to-peer payload, relay only for discovery/NAT). MeshRuntime defines that seam; createLocalMeshRuntime implements everything except the transport, so a real request can be served and metered locally today, and the network layer plugs in later. See docs/spec.md Β§"Routing" / Β§"Open questions".
share / stop / serve / deny publish normalized VibeEvents to the local notify channel (~/.vibe/notify.jsonl) via vibe-core's hooks bus, and a session-end milestone from any harness cleanly stops donation β so vibedonate is a first-class participant in the suite, not an island.
Interactive, self-contained UX prototype (no build, no network): open docs/prototype.html in a browser.
Prototype + spec + v0 implementation (local-compute tier). v0.2 makes "donate local compute" real: an on-device model is resolved through vibe-core's cascade (egress forbidden), the shared capacity gate is factored into one function, the mesh runtime actually commits hash-chained receipts, and donation lifecycle publishes to the suite notify channel. Account/credit-routing tiers need trust/legal design, and the P2P transport is the one seam still to land β see docs/spec.md.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/vibedonate)<a href="https://allmcps.com/mcp/vibedonate"><img src="https://allmcps.com/api/badge/vibedonate?style=directory" alt="Vibedonate on AllMCPs" /></a>