Skip to main content

๐Ÿงจ Bonanza Labs โœฆ Agent Wallet

The missing payment layer for AI agents.

PyPI License Python

The Problem

AI agents can browse, code, and create โ€” but they can't pay for anything. Every API call, every SaaS subscription, every micro-transaction requires a human.

The Solution

Agent Wallet gives AI agents:

  • ๐Ÿ’ณ A wallet with budget limits
  • ๐Ÿ”’ Policy-based approval (auto-approve under $X, human approval above)
  • ๐Ÿ“Š Spending tracking & analytics
  • โšก Instant settlements (USDC/USD1 on BSC, Solana)
  • ๐Ÿ–ฅ๏ธ REST API + CLI + Dashboard

Quick Start

pip install agent-wallet

# Create a wallet
agent-wallet create --name MyAgent --chain solana --budget 100

# Propose a payment
agent-wallet pay <wallet-id> 3.50 --recipient alice --description "API call"

# Check balance
agent-wallet balance <wallet-id>

# View analytics
agent-wallet analytics <wallet-id>

Policy Engine

Auto-approve small payments, require human approval for large ones:

# policy.yaml
name: default
auto_approve_under: 5.0
human_approval_above: 5.0
daily_limit: 100.0
monthly_limit: 500.0
allowed_chains: [solana, bsc]
blocked_recipients: []
cooldown_seconds: 60
max_transactions_per_day: 50

REST API

pip install agent-wallet[dashboard]
uvicorn agent_wallet.api.server:app --port 8000
Endpoint Method Description
/wallets POST Create wallet
/wallets GET List wallets
/wallets/{id} GET Get wallet
/wallets/{id}/pay POST Propose payment
/wallets/{id}/transactions/{tid}/approve POST Approve/reject
/wallets/{id}/analytics GET Spending analytics

Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   CLI / API  โ”‚โ”€โ”€โ”€โ–ถโ”‚ Policy Engine โ”‚โ”€โ”€โ”€โ–ถโ”‚  Settlement  โ”‚
โ”‚   (FastAPI)  โ”‚    โ”‚  (YAML rules) โ”‚    โ”‚ (Solana/BSC)โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                          โ”‚
                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”
                    โ”‚  Approval  โ”‚
                    โ”‚   Queue    โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Revenue Model

  • Free: 1 agent, $50/mo limit
  • Pro: $29/mo โ€” 10 agents, $5K/mo, analytics
  • Enterprise: $199/mo โ€” unlimited, custom policies, SSO

License

Apache 2.0 โ€” ยฉ Bonanza Labs

Metadata

Release files for bonanza-wallet 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bonanza-wallet 0.1.0
File Size Uploaded Provenance
bonanza_wallet-0.1.0.tar.gz 15.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bonanza-wallet 0.1.0
File Interpreter ABI Platform
bonanza_wallet-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.5 kB

Release files / bonanza_wallet-0.1.0.tar.gz

Download URL bonanza_wallet-0.1.0.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1b051d3d2ab83a6d687ea6b57cfc6a1901136bf614d1cc03878b3b30fad38a3a
BLAKE2b-256 checksum
How to use checksums
f7acf5a90b88d5ffaab0bc7c3d42c33aed9d06e905fdd38b8ba5ae43c3b91446
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / bonanza_wallet-0.1.0-py3-none-any.whl

Download URL bonanza_wallet-0.1.0-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2f962a7c23950e2ac5278bb955625e7ed5ffa646ea989533a741ace7f36856e
BLAKE2b-256 checksum
How to use checksums
c055c0ae4400d0feef9e1fbc884be4812ea74533e6df5529fdfcbb86074b4eec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for bonanza-wallet 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page