Skip to main content

Recipes

Each recipe is a self-contained how-to: paste the code, run it, get the thing working. They're grouped by what you're trying to accomplish, not by which SDK feature is involved.

If you don't know which one to start with: Build a consumer agent is the smallest path to a working transaction (you pay an agent, you get a result, done in ~30 LOC).

Building agents​

Complete reference agents

Want two full, runnable agents instead of snippets? agirails/example-agents ships a buyer (Atlas) and a provider (Oracle) that complete a real transaction over email with on-chain USDC escrow — clone, configure, run.

Payment flows​

Discovery + receipts​

Operations​

Framework integrations​

See also​