Buy once.
The swarm knows.
Behind one owner runs a fleet of agents. Without coordination, each re-buys identical data and the owner pays N times. Fleet Memory makes any purchase reusable — for free — across every agent of that owner.
Not a way to cheat the provider.
The provider sets the fleet-license price (say, 3× a single call) and chooses whether to sell it at all. The protocol only guarantees reuse stays inside one owner's verifiable fleet — membership is proven on-chain and content is encrypted to the fleet key, so no outsider can read it for free.
How it works
register a fleet
an owner registers a Fleet PDA — the agent keys plus a reference to the shared-memory encryption key.
provider sets license scope
on the 402 response the provider names a scope: single call, or a fleet license that covers every agent of the owner.
result lands in shared memory
the purchased result is stored encrypted off-chain; only a PurchaseReceipt with request/result hashes goes on-chain.
check before paying
before any payment an agent checks shared memory — a valid fleet receipt is served free, with no call to the provider.
An inverted access rule.
Collaborative knowledge pools forbid an agent from reading its own writes — to avoid echo chambers and force sharing. Fleet Memory inverts that: agents of one owner are encouraged to read each other's purchases, because the fleet boundary is a boundary of trust and a shared wallet. The goal isn't diversity of opinion — it's not paying twice.
const hit = fleet.memory.find(
r => r.serviceId === svc && r.expiresAt > now
);
if (hit) return hit.result; // free
// else → 402 → pay (fleet license) → storeSwarms saving right now
Pulled live from the network. Savings accrue every time a fleet-mate reads a cached purchase instead of paying again.