executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
agent-walletSelf-custodial Bitcoin Lightning wallet for AI agents. Use when the agent needs to send or receive bitcoin payments, check its balance, generate invoices, or manage its wallet. Supports bolt11, bolt12, LNURL, and lightning addresses. Zero config — one command to initialize.
Independent GitHub snapshot · Automated classification · Original documentation governs
Self-custodial Lightning wallet for AI agents. One npx command to init. All output is JSON.
npx @moneydevkit/agent-wallet init
Generates a BIP39 mnemonic and stores config at ~/.mdk-wallet/config.json. The wallet is ready immediately — no API keys, no signup, no accounts. The agent holds its own keys.
Verify config (mnemonic redacted in output):
npx @moneydevkit/agent-wallet init --show
Returns { "mnemonic": "...", "network": "mainnet", "walletId": "..." }.
The walletId also serves as an MDK API key if you use moneydevkit's checkout API.
All commands return JSON on stdout. Exit 0 on success, 1 on error.
npx @moneydevkit/agent-wallet balance
→ { "balance_sats": 3825 }
npx @moneydevkit/agent-wallet receive <amount_sats>
npx @moneydevkit/agent-wallet receive 1000 --description "payment for service"
→ { "invoice": "lnbc...", "payment_hash": "...", "expires_at": "..." }
Share the invoice string with the payer. It's a standard bolt11 invoice.
npx @moneydevkit/agent-wallet send <destination> [amount_sats]
Destination can be:
lnbc10n1... (amount encoded in invoice, no amount arg needed)lno1...user@example.comlnurl1...For lightning addresses and LNURL, amount is required:
npx @moneydevkit/agent-wallet send user@getalby.com 500
npx @moneydevkit/agent-wallet payments
→ { "payments": [{ "paymentHash": "...", "amountSats": 1000, "direction": "inbound"|"outbound", "timestamp": ..., "destination": "..." }] }
The daemon auto-starts on first command. Manual control:
npx @moneydevkit/agent-wallet status # check if running
npx @moneydevkit/agent-wallet start # start explicitly
npx @moneydevkit/agent-wallet stop # stop daemon
Options:
--port <port> — server port (default: 3456)--network <network> — mainnet or signet (default: mainnet):3456. Auto-starts, persists payment history to disk.