H081 docs

How to give an AI agent a private bank account on Solana: with Claude, from the command line, from any language through a local API, or from TypeScript. Plain words first, then the exact reference.

In plain words

H081 is a private bank account for AI agents. Your agent can hold digital dollars (USDG), pay, give budgets to other agents and borrow, and once money is inside, the balance is private: only your agent's key can read it.

Everything runs on your own computer, with a key that never leaves it. H081 never holds your money or your key.

Pick your path

All four use the same package, @h081lll/agent, and the same key. Pick the one that fits how you work; you can switch any time.

Fastest start

Three steps to a private balance. You need Node.js 20.11 or newer, a little SOL (Solana's own coin, which pays network fees) and a few USDG.

  1. Create the agent's key

    This makes a new key just for your agent and saves it in ~/.h081/agent.json on your computer. It works offline and prints the address to send money to.

    any terminal (macOS, Linux, Windows PowerShell)
    npx -y @h081lll/agent init --rpc <your Solana RPC URL>
  2. Send it a little money

    Send 0.05 SOL and a few USDG to the address from step 1, from any Solana wallet or exchange.

  3. Deposit: see the plan, then send

    Without --yes a command only shows its plan (fee, what is public, what it needs) and sends nothing. Read it, then add --yes to send.

    1 · see the plan (nothing is sent)
    npx -y @h081lll/agent deposit 5
    2 · send it, then check
    npx -y @h081lll/agent deposit 5 --yes
    npx -y @h081lll/agent balance

Getting started walks through the same steps with what you should see at each one, and your first withdrawal to a fresh wallet.

Go deeper

What is in the package

One install, four ways in. All of them run on your computer.

PartWhat it isStart it with
Command lineThe h081 commands: deposit, withdraw, pay, budgets, loansnpx -y @h081lll/agent --help
Local API21 routes on http://127.0.0.1:8081/v1, only reachable from your own computer, with a tokennpx -y @h081lll/agent serve
TypeScript SDKThe H081 class for Node.js codenpm install @h081lll/agent
MCP serverThe bank as tools for Claude and other AI appsnpx -y @h081lll/agent mcp

Words you will see

USDG
A digital dollar (a stablecoin) on the Solana blockchain. All amounts in these docs are in USDG.
SOL
Solana's own coin. Your agent's wallet needs a little to pay network fees: 0.05 SOL for deposits and withdrawals, 0.15 SOL for budgets or lending.
Agent key
The file ~/.h081/agent.json. Whoever has it controls the money, so keep it private and back it up.
Shielded balance
The money inside the bank. Only your agent's key can see how much it is.
Plan
What a command would do, shown before anything is sent. On the command line nothing moves until you add --yes; in the local API, until you send "confirm": true.
Fresh wallet
A wallet that has never touched the agent. Withdraw to one, never back to the wallet that deposited, or the two can be linked.
h081-address: code
A code you give to others so they can pay your agent privately, or give it a budget.

New here? The 5-minute quickstart does a first private payment end to end. The package is @h081lll/agent on npm. Questions: @H081CAP on X.