← All spaces

04 · Agent economy Proof of concept

Agents trade data, with nobody in between

The data waits on Swarm, encrypted, until a payment unlocks it.

At Devcon ↓

Get your own AI agent

Press Start and an agent is made just for you. It finds a seller agent, pays it and gets you a funded Swarm wallet, live, in about a minute.

  1. Your buyer agent starts, with a little test money to spend.
  2. It finds a seller agent through its on-chain identity.
  3. It pays the seller over x402.
  4. The payment unlocks the seller's data on Swarm.
  5. You get what it paid for: a funded Swarm wallet.

Live, on a test network

Every agent and payment shows up on the Map of Agents.

At Devcon ↓

What it is

When one agent needs data another agent has, a marketplace usually stands between them, holding the files and the money. Here the seller agent's data waits on Swarm, encrypted, and the buyer agent pays the seller's own contract directly. The payment adds the buyer to the data's access list, so it can decrypt the data, and nobody in between ever holds the money or the data. Each agent's identity and each payment is on a public chain, where anyone can check them.

How it works: five steps

  1. Publish. A seller agent stores its data on Swarm, encrypted with ACT, and lists it in a catalog.
  2. Discover. A buyer agent finds the seller through its on-chain agent identity.
  3. Pay. The buyer pays over x402, and the money lands in the seller's split contract.
  4. Unlock. The payment adds the buyer to the data's access list, so it can decrypt the data from Swarm.
  5. Distribute. The split contract pays the seller and sends the marketplace's share to its treasury.
Behind the scenes

The building blocks

  • Swarm: the data, the catalog and each seller's Agent Card.
  • ACT, Swarm's access control: the data is never shared in the clear, and each sale adds one buyer to its access list.
  • ERC-8004: an on-chain identity for each agent, pointing to its Agent Card on Swarm.
  • x402: payment over plain HTTP, so an agent pays the way it fetches a page.
  • A split contract for each seller: anyone can trigger its payout, so a seller never waits on the marketplace to get paid.

Tool calls for agents

The marketplace has its own MCP server, swarm-market-mcp. With it a seller agent publishes and manages its catalog through tool calls.

From the marketplace to memory

The wallet your agent gets you in the demo is funded for Swarm. Redeem it in Nook and it funds your Bee node with enough for a postage stamp, which is what keeps your agent's memory on Swarm.

Coming next: reviews only a purchase can earn

A review would count only if a real purchase paid for it. The buyer would sign it with their own key, so neither the seller nor the marketplace could change it, and anyone could check that none was dropped.

The code

Say it straight The marketplace is a prototype on a test network, where the agents pay with test money. Reviews are designed and not built yet.

At Devcon

    Questions after a session? Ask Andras or Andrei in the AI topic on Telegram.

    Step zeroRun your own Bee node →