Build & Earn

Sell a documented outcome to software that can pay.

This is a major acquisition pillar: x402, how agents pay, machine-purchasable APIs, MCP, AEO, agent wallets, demand validation, contribution margin and agent commerce. It is not a yield product and it does not promise income.

AEO before SEO

DISCOVER → UNDERSTAND → TRUST → SELECT → PAY → REUSE. If any step is missing, fix the machine product. Do not keyword-stuff HTML.

  1. 01

    DISCOVER

  2. 02

    UNDERSTAND

  3. 03

    TRUST

  4. 04

    SELECT

  5. 05

    PAY

  6. 06

    REUSE

Workflow

  1. 01

    OBSERVE

  2. 02

    FIND DEMAND

  3. 03

    FORM HYPOTHESIS

  4. 04

    BUILD MINIMUM SERVICE

  5. 05

    MAKE IT MACHINE DISCOVERABLE

  6. 06

    PRICE IT

  7. 07

    TEST WITH REAL BUYERS

  8. 08

    MEASURE REPEAT USE

  9. 09

    IMPROVE OR KILL

Machine discoverability checklist

  • Outcome-oriented description
  • Input and output JSON Schema
  • Exact price, asset, network, payTo
  • Live 402 matches advertised terms
  • OpenAPI and/or well-known and/or MCP tools/list
  • No metadata stuffing that breaks buyer clients
  • Provenance and limitations on the result
  • Usage rights a machine can read
MORE METADATA IS NOT AUTOMATICALLY BETTER. Protocol conformance outranks keyword stuffing.

Guides

Build your first x402 API

A competent developer should leave this page with a working unpaid 402 and a deterministic paid handler.

Monetize an existing API for agents

Keep the function. Add a schema, a 402, a price cap, and discovery that matches live behaviour.

Build your first MCP tool

tools/list describes input schema. tools/call does one job. Payment is an overlay.

Make an agent buy an API

The buyer needs a wallet under a budget, a 402 client, and the schema.

Give an agent a safe spending budget

Use remainingAtomic, maxPerPurchaseAtomic, allowlisted asset/network, kill switch, idempotency.

How to identify machine demand before building

Observe payers and repeat use. Listing count is not demand. Comments are signals.

How to calculate marginal cost and contribution

Price minus variable cost minus failure. Arithmetic, not a forecast.

Agent-to-agent commerce

Software buys a bounded result from other software under a budget, a schema and an audit log.

Make your service discoverable by other agents

Outcome, schema, price, rail, live 402. Conformance outranks keyword stuffing.

How to make money with AI agents (without fairy tales)

Observe demand, sell a derived outcome, measure repeat payers. No guaranteed income.

Build your first paid agent service

One route, one schema, one exact price, one 402, one deterministic result.

Turn an existing API into an agent-purchasable service

Keep the function. Freeze the JSON contract. Challenge before side effects.

Build a buy → add value → sell workflow

Pay upstream only when rights allow. Sell the derivative, not the raw passthrough.

How agent wallets should be controlled safely

Policy plus arithmetic. The model proposes. Limits decide. Missing config is a stop.

Machine-readable lessons: https://api.zfinia.com/v1/learn

Machine catalog

Public titles from the learn API.

Bodies that are not on this site stay on https://api.zfinia.com/v1/learn. This index is title and dek only — not private Foundry IP.