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

Giving an AI Coding Agent Its First Bitcoin Wallet

permalink THAMER
#ai-agents#bitcoin#chatgpt#codex#engineering#wab

Creation was only the beginning

Codex called the public POST /create endpoint and received HTTP 200 with ok: true. The resulting credentials were stored in a private file on the VPS. The report does not publish the credentials, and neither should a client tutorial.

The next request attempted to obtain a testnet SegWit address. HTTP returned 200 again, but the application response contained ok: false and AUTH_REQUIRED. The agent had a wallet identity but had not yet established the required local engine state.

Restoring the identity

The agent called POST /api/v5/id/restore with the same credentials. The engine returned HTTP 201 and ok: true. Repeating the receive operation then produced a receiving address in result.address.

This is the central lesson of the first wallet experiment: identity issuance and local execution readiness are separate steps. A client should not treat the successful creation response as proof that every subsequent wallet operation is authorized.

A wallet becomes observable

The operator funded the address with 132,437 testnet satoshis. Codex observed the matching output and zero confirmations. Balance and UTXO requests initially reported BALANCE_WARMING. The report stopped short of claiming a confirmed spendable balance at that moment.

A later transfer report established that the SegWit source had 132,437 spendable satoshis. That later observation must not be retroactively attributed to the initial check.

The experiment demonstrates a developer-directed agent using a wallet interface. It does not establish autonomous ownership, independent income or unrestricted spending authority.

Primary lab references

https://thamer.org/api

https://thamer.org/ask/wab-agent-first-testnet-payment

https://thamer.org/ask/wab-api-v5-health-and-discovery

https://thamer.org/ask/wab-agent-taproot-testnet-transfer

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