AgentMeter · Sandbox prototype

AgentMeter

Metered billing for AI tools. Give an agent a budget, track each tool call, and account for what tool authors earn.

Give every tool call a price and a receipt.

Agents can make many small tool calls. Buyers need a spending limit, and tool authors need a record of the work they provided. AgentMeter puts a metered ledger between an agent and its tools, with PayPal for prepaid test top-ups and sandbox payouts.

The flow reserves a call's price before execution, settles successful calls, and releases the reservation when a tool fails. Budget limits and balance changes use deterministic rules and integer amounts.

A verified sandbox flow

Starting test balance
$5.0000
Three calls at $0.0100 each
−$0.0300
Remaining test balance
$4.9700
Tool author's test earnings
$0.0300
Verified with sandbox test funds. Author earnings are shown before payout; funding fees are a separate platform expense.

What the prototype shows

  • Personal buyer signup, recovery-code sign-in, one-time client keys, revocation and scoped receipts.
  • A buyer view with available funds, reservations, tool calls, and budget limits.
  • Provider profiles, HTTPS API/MCP registration, connection tests, price protection and own sandbox payouts.
  • A reconciliation view that distinguishes ledger totals, payment fees, and net receipts.
  • A themed analytics view with custom money cells, a receipt widget, and Studio agent delegation.

Actual PayPal sandbox approval, capture, signed Webhooks, author payout, and reporting reconciliation have passed. The existing balance and receipt identities also survived a Render service restart. Licensed Grid and Studio were verified in Chrome, including chart creation through a custom analyst delegating to Studio’s Page agent. Gemini 3.5 Flash-Lite widget interpretation was also verified on Render using structured output, with an unchanged ledger. The server validates model intent and retains deterministic fallbacks. Expired or absent licenses retain the plain table and rule-driven widgets.

Information and support

AgentMeter is developed by EIEI / Eisuke and published through Dotfield.