Explainer

QBT Labs is open-source infrastructure for autonomous AI agent payments

Autonomous agents do not buy SaaS seats. They pay per task: a search, an inference call, a piece of data, a tool invocation, a trade. QBT Labs builds the production layer that makes those payments work — x402-compatible HTTP 402 payments, AMP-style payment channels, an encrypted vault with a process-isolated signer, a spend policy engine, and structured receipts and audit logs.

x402-compatible payments

An MIT-licensed implementation of the HTTP 402 payment handshake. Drop the QBT Labs middleware on a paid endpoint, publish machine-readable pricing in the 402 response, verify the signed retry, and emit a structured receipt.

AMP-style payment channels

For sessions where the same agent makes hundreds or thousands of calls, channels deposit once, sign many off-chain payments, and settle periodically. The hot loop stays off-chain; cost and latency drop.

Encrypted vault and process-isolated signer

AES-256-GCM key storage with PBKDF2 derivation. Signing happens in a separate process behind a Unix socket — raw private keys never touch agent memory.

Spend policy engine

Per-agent budgets, daily caps, recipient allowlists, chain restrictions, and tool-level limits. Policy is what turns a wallet into a controlled financial actor.

Receipts, settlement, and audit logs

Each call produces a receipt with request ID, amount, asset, chain, recipient, and status. Settlement and audit records map cleanly to billing, reconciliation, and compliance review.

Multi-chain verification

Native support for Base, Solana, and Cardano. Facilitator choice is configurable, and the architecture is pluggable for new chains and payment rails.

Who QBT Labs is for

API providers

Monetize APIs and MCP tools for autonomous agents without onboarding human customers. Price per request, accept payment programmatically, and meter usage with receipts.

Agent builders

Give your agent a wallet bound by policy. Pay paid APIs and tools inside the workflow without manual key rotation, without subscription friction, and without exposing keys.

Platforms and marketplaces

Embed the QBT Labs payment, vault, and policy primitives inside your own agent platform. Choose your facilitator, your chains, and your billing model.

How it fits together

  1. Pricing. The server publishes machine-readable pricing in the 402 response.
  2. Authorization. The agent client checks budget, signs a payment authorization through the isolated signer, and retries.
  3. Verification and settlement. The server verifies the signature, the facilitator settles, and the server emits a structured receipt.
  4. Volume. When the agent makes repeated calls, the same flow runs over an AMP-style channel — deposit once, sign many off-chain payments, settle periodically.
  5. Policy and audit. Every signature passes the policy engine. Every settled call lands in the audit log.

Frequently asked questions

Put QBT Labs behind your agents

Whether you are monetizing an API for agents, embedding payments inside a platform, or building the agent itself, QBT Labs gives you the open-source primitives the production path needs.