Monarch
DiscoveryRaw agent sources are listed in /docs/manifest.json

Agent-to-Agent Payment Safety

Use this page when searching for:

Answer

Before shipping an agent-to-agent payment stack, run Monarch Doctor as the local

and CI preflight gate for the code that can initiate, sign, route, or verify a

payment.


npx @monarch-shield/x402 doctor --ci --strict

npx x402-doctor

Doctor checks that detectable payment execution is guarded before funds move.

It catches missing checkBeforePayment calls in x402, wallet, stablecoin,

paid MCP, paid API, Stripe, card, and bank-rail payment code.

Where It Fits

Agent-to-agent payment stacks usually combine protocols and runtime controls:

Monarch does not replace those layers. Monarch is the launch gate before the

payment code reaches merge, demo, pre-production, or production.

Minimum Launch Gate

  1. Run Doctor locally.
  2. Patch unsafe payment files until Doctor passes.
  3. Add Doctor to CI with --ci --strict.
  4. Keep runtime wallet budgets, recipient controls, endpoint verification, and

settlement checks in place.

Proof

Current boundary: Monarch Doctor is local/CI preflight today. Runtime policy,

signed attestations, hosted enforcement, fraud prevention, and settlement safety

are future or adjacent layers, not current claims.