Skip to main content
The ZBD Agents toolkit gives you an end-to-end stack for agentic payments: a wallet CLI (zbdw), an L402 client (agent-fetch), an L402 server middleware (agent-pay), and supporting apps for identity and operations.
Want the fastest hands-on path? Start with the runnable scripts in agent-pay/examples/http-server.mjs and agent-fetch/examples/zbd-agent-fetch.mjs.

Choose Your Path

Goal: launch a working agent payment flow fast.
  1. Start with the Quick Start
  2. Add payment-gated routes with agent-pay
  3. Pay those routes with agent-fetch or zbdw fetch

Core Repositories

zbdw is the binary shipped by @zbdpay/agent-wallet. It is designed for JSON-first CLI interoperability with agent runners.

What You Can Build

Use zbdw fetch to allow agents to pay per request and retrieve premium content in one command.
Combine wallet send/receive primitives with L402 middleware to create closed-loop service economies.
Track local wallet activity in ~/.zbd-wallet and visualize it with the dashboard.