Loops HouseSwarmKit - .TS SDK for coordination and settlement layer for agent economics

NEAR HACKATHON
Links
Team
1 member- MIOwner
Michael
Overview
AI agents are starting to spend money on inference, compute, data and each other's work. Alone, an agent pays list price and has to trust the seller delivered. Together they could be a market, but only if bids stay sealed, budgets are hard caps, payment follows delivery, nobody can rewrite who won, and a crash never pays twice. Every agent marketplace rebuilds this.
SwarmKit is that coordination layer on NEAR.
- near-swarmkit (npm, zero dependencies): sealed-bid rounds, pooled demand, split allocation within every budget and capacity, crash-safe settlement (native NEAR or NEAR Intents), and replay and audit against the chain.
- SwarmKit Exchange: a NEAR contract that enforces the SDK's own clearing rule, with wNEAR escrow, bonded sealed bids and pay per delivered unit. A seller that disappears or delivers short loses its bond to the buyers. Work rounds add a 2-of-3 reviewer panel.
- A live product: connect a wallet and ask a question. Three provider agents, each a different NEAR AI Cloud TEE model, bid sealed. You get TEE-signed answers and pay only on confirmed delivery.
Proof, checkable without our keys:
- 23 contract tests, including the contract matching the SDK on 2,000 seeded rounds
- a testnet round passed 30/30 independent checks; the contract has no keys
- on mainnet, sealed bids were anchored before the reveal, and 4 buyer-signed payments settled via execute_intents on intents.near (9/9)
- the page re-runs the clearing rule on every round in your browser
Built for agents: an MCP server (Claude Code, Codex, Cursor), llms.txt and full docs. Scope: the exchange runs on testnet; the mainnet amounts are small.
Live exchange: https://swarmkit-coop.pages.dev Docs: https://swarmkit.pages.dev SDK + contracts: https://github.com/mikemoulder/swarmkit Exchange app, keeper, MCP server: https://github.com/mikemoulder/swarmkit-market Docs site: https://github.com/mikemoulder/swarmkit-site