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

From Agent.SO to a Running Service: The Local install.sh and Docker Runner

permalink THAMER
#bitcoin-agents#docker#install-script#self-hosting

The value of a compiled Bitcoin agent is limited if each operator must manually assemble its runtime. The proposed release therefore pairs agent.so with install.sh, a Dockerfile, a Compose configuration, and documentation.

A release with clear boundaries

The shared library contains the agent's compiled logic and exported interface. A small host program loads or links to it and exposes approved HTTP JSON, CLI, or channel-adapter operations. The Docker image supplies a compatible runtime. Persistent bbolt data and operator configuration live outside the image.

A representative package contains agent.so, install.sh, Dockerfile, compose.yml, .env.example, README.md, and a version manifest. The installer generates a local .env when absent; it must never ship real keys inside the package.

Installer workflow

The script checks prerequisites, verifies package integrity, prepares directories, creates configuration from the blank template, and explains which settings the operator must enter. It then builds or starts the container and performs a health check. If required credentials are missing, startup should fail with a useful non-secret error rather than pretend the agent is ready.

The installer should be repeatable. Re-running it must not overwrite .env, reset the database, or erase payment history. Backups, upgrades, and rollback should be planned before production deployment.

A host is still necessary

A Go .so is not a standalone daemon. An explicit host process, supported ABI, and compatible platform are required. Publishing the binary alongside an installer makes operation easier, but does not remove the need to test OS and architecture compatibility.

Keep the Bitcoin engine unchanged

The agent host calls the existing engine's documented HTTP JSON endpoints. The installer does not rewrite Bitcoin Core configuration, alter engine Docker topology, or change the signed fee law. Local agent packaging and wallet-engine packaging remain separate responsibilities.

Status: Installation design proposal, not a tested installer or production deployment guide.

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