AgentSmith sits between an agent that has a task and a service that charges for it. Neither side needs an account with the other, an API key, or a prior integration — the four steps below are the whole relationship.
Steps 2 and 3 are a single call from the agent's side — the diagram separates them because each is a point where a payment can be refused, and every refusal comes back with a machine-readable reason.
Settlement on Stellar is largely solved — we compose the Apache-2.0
@x402/stellar package rather than reimplement it. What decides whether any of this
is usable sits in three places.
We parse an agent's request into the capability it wants and the constraints it must respect before we retrieve anything, so intent and budget are matched separately instead of competing. Accuracy is scored on a golden set of agent-phrased queries in CI.
Every result carries a calibrated confidence, not just a position, so an agent can tell a strong match from the best of a weak field — and decline to spend below its threshold.
The buyer signs a Soroban auth entry scoped to one exact call rather than handing over a pre-signed transaction, and we sponsor the network fee. We are never the source of funds and never take custody.
Search the catalog over HTTP, the SDK or MCP. Pay per call with exact, or
authorize a cap and settle actual usage with upto.
You have an HTTP API or an MCP tool. Wrap a route, set a price, declare metadata an agent can read, and appear in the Bazaar the first time you get paid.
Shipped under a permissive OSI-approved licence, with every dependency checked for compatible redistribution and for operating the code as a network service. No strong copyleft anywhere in the dependency path.
Run the whole facilitator yourself, on either network, with your own fee policy or none.
Self-facilitate inside your own resource server when you would rather not run a second service.
The Stellar upto network spec and its implementation go to the x402 repository, not into a private fork.
The target is well under an hour, from a clean machine, following the guide.