Pact Network
What Pact Network is
Section titled “What Pact Network is”Pact is the risk layer for agent payments — chargebacks for x402. When an AI agent pays a provider over x402 or MPP (Multi-Payment-Protocol) and the call fails, Pact refunds the agent. Principal and premium both return; the provider loses.
We sit underneath the payment, not in front of it. The agent still pays the provider. The provider still serves the request. Pact watches and settles refunds on-chain when a call goes sideways.
The fastest path: drop-in for pay.sh
Section titled “The fastest path: drop-in for pay.sh”If you already use solana-foundation/pay
(pay.sh) to resolve HTTP 402 challenges via x402 or MPP, the fastest
path into Pact is a one-word swap:
# Before — pay.sh handles the payment, you eat any 5xx.pay curl https://flaky.example/api/v1/quote/AAPL
# After — same args, same exit code, plus on-chain refund on 5xx.pact pay curl https://flaky.example/api/v1/quote/AAPLSame args, exit codes, x402 + MPP wire format. The difference is that a 5xx, timeout, or truncated/malformed response body refunds premium + principal at the next settlement window — automatic, on-chain, no claim form.
See the Quickstart.
Pact Network vs Pact Market
Section titled “Pact Network vs Pact Market”- Pact Network is the protocol — on-chain Solana program
(
pact-market-pinocchio), off-chain settler, indexer, public APIs. The rails. Anything wired up correctly can be covered. - Pact Market is one curated interface on top, at
market.pactnetwork.io. Calls through Market are pre-covered.
Most agent developers want Market. If you’re onboarding your own provider or building a custom risk product on the protocol, you want Network.
Status
Section titled “Status”Live state — which on-chain accounts are bootstrapped, which services are running — is on the Status page, updated by hand.
Why this exists
Section titled “Why this exists”Agent payments are growing fast and there’s no recourse layer. When a call fails — 500, hang, garbage response — the agent already paid. There’s no credit-card chargeback, no claim recourse. The agent eats it.
Pact fills that gap. Refunds happen automatically, on-chain, in batches. No dispute. No negotiation. The protocol decides via the classifier and pays out from a CoveragePool.