THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

CURL-First Engineering: A Universal Bitcoin Execution Interface

permalink THAMER
#ai-agents#bitcoin-engineering#curl#json#wab#wallet-ai-bitcoin

Research status: Engineering philosophy based on the stated product architecture and reported laboratory evidence. New examples and procedures are illustrative and have not been executed.

A small interface, not a small engine

“AI Agent Ready — Developer-friendly CURL / JSON interface” describes an integration boundary. CURL is a convenient reference client, not a required executable: Go, Python, Rust and other HTTP clients can express the same requests. The engine owns Bitcoin execution; clients own their interaction design. POST carries operation parameters, while the published v5 discovery evidence also lists GET health and identity inspection. CURL-first must not be interpreted as a claim that every endpoint uses POST.

A read-only first experiment

curl -sS --fail-with-body "$BASE_URL/api/v5/btc/health" | jq .

This illustrative command assumes a configured local engine URL and installed curl and jq. It does not create a wallet or authorize spending. A client should inspect synchronization and network information before asking for a receiving address. HTTP success is not proof of application success.

Contract boundaries

A JSON client must validate content type, parse the response, check ok and inspect the operation-specific result. Unknown fields should not silently become authorization inputs. Timeouts and malformed responses must remain distinct from explicit application errors. A failed transport can leave execution outcome unknown; a client must not blindly repeat a SEND with a new request identifier.

Why not require an SDK?

A library can provide types, validation and convenient retries, but making it mandatory ties integrations to its release cycle. A documented wire contract lets independent developers implement minimal clients and compare their behavior. The tradeoff is that each client must handle authentication, errors and compatibility correctly. A conformance suite is a useful future deliverable, not an existing guarantee.

Primary references and related research

  • [From SSH to a Bitcoin Testnet Payment with WAB](/ask/wab-agent-first-testnet-payment)
  • [Checking WAB API v5 Health and Endpoint Discovery](/ask/wab-api-v5-health-and-discovery)
  • [Local execution control](/docs/wab-philosophy-agent-local-execution-control)
  • [Flying Wallet architecture](/docs/wab-philosophy-flying-wallet-architecture)

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects