SwarmHarness Proposes a Credit System for Sharing Idle AI Compute
A Western Michigan University paper designs a peer-to-peer network in which AI skill nodes earn credits for serving tasks. It has no implementation or experiments yet.
TL;DR
- Edwin Jose of Western Michigan University proposes SwarmHarness, a protocol that pools idle machines into a peer-to-peer network of AI skill nodes [^1].
- Nodes earn credits by serving tasks and spend them to submit their own; the credits are not a cryptocurrency, and no implementation exists yet [^1].
Background
The paper builds on HarnessAPI, the author's earlier framework that exposes a folder of typed skills both as an HTTP endpoint and as a Model Context Protocol (MCP) tool, the interface LLM agents use to call tools [^1]. Its starting point is idle hardware: workstations overnight, inference servers between requests, gaming GPUs between runs. Existing options, it argues, need a trusted central marketplace, carry blockchain overhead like Golem, or lack incentives altogether, like BOINC and Petals [^1].
What happened
SwarmHarness, posted to arXiv on May 27, adds three parts on top of HarnessAPI nodes [^1]. A SwarmRegistry, built on a Kademlia-style distributed hash table, maps each skill name to the nodes that offer it. Nodes refresh their entry regularly and are dropped from the index if they miss three refresh periods [^1]. A SwarmRouter scores candidates on four weighted factors: whether the node has the skill, its current load, its latency and its trust score. It sends the task to the top scorer and falls back to the next one on failure [^1]. Anyone can run a router, and because the task submitter, not the router, signs the credit attribution, a faulty router cannot corrupt the ledger, the paper says [^1].
The third part, SwarmCredit, decides who earns credits. When several nodes serve one task, for example as steps in a pipeline, it estimates each node's Shapley value, its average marginal contribution across random orderings, and splits the task's credit pool accordingly. For the at most ten nodes per task the paper expects, it puts 100 sampled orderings as enough for under 1% standard error [^1]. Nodes that earn credit gain trust, and trust decays while a node is not selected, so nodes that stop serving gradually lose traffic [^1]. Each node keeps its own ledger. Credits are not globally consistent and are not meant to be traded externally; they mainly set routing priority [^1]. New nodes get a starting endowment that stays locked until they have served one task countersigned by its submitter, a guard against attackers who keep creating fresh identities [^1].
The paper is a design proposal. It reports no implementation, benchmark or simulation, and says a reference implementation as a HarnessAPI extension is "planned as open-source software" [^1]. The rollout it sketches starts with a single seed server run by the project team, moves to several independent seed operators, and ends with bootstrapping that needs no DNS seeds at all [^1].
Why it matters
Idle GPUs are a real resource, but by the paper's own account the hardest problems are still open. The protocol assumes nodes are self-interested but not malicious. Handling nodes that return wrong results on purpose would need cryptographic verification such as zero-knowledge proofs of correct execution, at a significant performance cost [^1]. Automated quality signals are unreliable for subjective tasks like creative writing, and credits express only relative priority, not an exchange rate. Per-skill pricing would need a decentralized auction protocol that the paper calls an active research area [^1]. Against collusion, it relies on submitters countersigning each credit attribution, which it says significantly raises the cost of an attack [^1].
The broader claims deserve the same caution. The paper describes credit and trust as "digital pheromones" and expects nodes to specialize and balance load on their own, drawing on swarm-intelligence research rather than on measurements of a running network [^1]. Its long-term vision is a substrate where AI agents hire compute, route subtasks and settle credits without human intermediation, through the same MCP interface people use [^1]. Whether a network like that holds up against real users and real abuse is something only the planned implementation can show.
Practical example
Say Amara runs a small research group whose lab machines already serve HarnessAPI skills, one of them with a GPU for local inference. Under the design, each machine installs the swarm extension, a pip-installable add-on, and the group runs a private swarm: the machines find each other over multicast DNS on the lab network, with no public seed server [^1].
When a group member submits an evaluation job, the router looks up which nodes offer that skill and picks the best mix of capability, low load, low latency and trust, usually whichever machine is idle at that moment [^1]. The node that ran the job earns credits, which Amara's group can later spend on a summarization or code-analysis skill running on a colleague's server [^1]. A machine that stays switched off for weeks sees its trust decay and gets fewer tasks [^1].
Then the limits show. If a node returns plausible but wrong results, the protocol cannot check the computation itself; it assumes no node lies on purpose, and the paper lists verification as open work [^1]. The credits won't pay Amara's power bill either: they set priority inside the swarm, and whether they should ever be exchangeable for outside resources is an open question in the paper [^1]. And for now Amara can't install any of it, because the reference implementation is still only planned [^1].
Related gear
We recommend this book because it covers the game theory behind designs like SwarmHarness, including coalitional games and the Shapley value it uses to split credit between nodes.