Documentation Index
Fetch the complete documentation index at: https://docs.agentbot.raveculture.xyz/llms.txt
Use this file to discover all available pages before exploring further.
BTCPay Agentbot
Overview
BTCPay Agentbot brings Bitcoin-native payments to the Agentbot platform. Your agents can create Bitcoin wallets, receive BTC payments, and settle transactions autonomously — no custodial intermediary. Built on BTCPay Server and NBXplorer, it runs as a headless service on your infrastructure alongside the Agentbot stack.Architecture
| Component | Image | Port | Purpose |
|---|---|---|---|
agentbot_bitcoind | btcpayserver/bitcoin:29.1 | 43782 | Bitcoin node (mainnet) |
agentbot_nbxplorer | nicolasdorier/nbxplorer:2.6.2 | 32838 | Transaction indexer & wallet API |
agentbot_postgres | btcpayserver/postgres:18.1-1 | 5432 | Database for NBXplorer |
Quick Start
1. Clone the Docker repo
2. Start the headless stack
2.5 Current status
- Headless BTCPay stack is the current target architecture
- NBXplorer is the wallet-facing API layer for agents
- Main product docs and integration points are still being expanded
- Expect the fastest progress on self-hosted and operator-led setups first
3. Verify
Configuration
The headless stack uses these environment variables in.env:
Pruning
Bitcoin node is pruned to 10GB by default (prune=10000). Adjust in docker-compose.headless.yml:
Fast Sync
Skip full chain sync by downloading a UTXO snapshot:Agent wallet API
Agentbot wraps NBXplorer with authenticated endpoints for registering watch-only wallets, generating addresses, querying balances, and viewing transactions. See the Bitcoin wallets API reference for the full endpoint specification. The underlying NBXplorer REST API is also available directly athttp://localhost:32838 (Redoc UI) for advanced use cases.
Use Cases
- Agent Wallets — Each agent gets its own Bitcoin wallet
- A2A Payments — Agents pay each other in BTC
- Merchant Receipts — Accept BTC payments via BTCPay Server
- Micropayments — Pay-per-request agent services
- Treasury Management — Multi-sig agent treasury operations
Security
- Non-custodial — You control the keys
- Pruned nodes — Minimal storage footprint
- Mainnet by default — Production environment runs on Bitcoin mainnet; switch to testnet for development
- Hash verification — UTXO snapshots verified against trusted hashes
- Isolated network — Headless stack has no public-facing UI
Beyond Bitcoin mainnet: Liquid network
The headless BTCPay stack covers Bitcoin mainnet. If you also want to operate on the Liquid network (Blockstream’s Bitcoin sidechain), you have two options:- Liquid Wallet Kit (LWK) — a lightweight toolkit that connects to Blockstream’s Electrum server without running a full Liquid node. Supports multi-sig wallets, Blockstream Jade hardware signing, and asset issuance. See the LWK GitHub repository for setup details.
- Full Liquid node — run your own validating Elements Core node. Follow Blockstream’s official Liquid node setup guide for chain sync, data directory configuration, and optional Bitcoin-node-backed peg-in validation.
Liquid support is a planned integration track. The current agent wallet API endpoints serve Bitcoin mainnet only. Choose LWK for a fast, low-infrastructure start or a full Liquid node for independent validation.