rein
Rein is a developer tool and middleware for the AI agent payment economy, built on the x402 / ERC-8004 technology stack, providing a non-custodial payment control plane. Through components such as a policy engine, session-key signer, vendor gateway, persistent storage, and reputation graph, it sets spending rules for agents, monitors every payment, and scores counterparties, aiming to let agents transact at machine speed without machine-speed losses. The project is published as npm packages, uses the MIT license, and requires Node.js ≥22.