← Back to library

Require hardware-wallet approval for agent crypto moves

u/pzarevich, building an open-source, Grok-powered agent harness for the terminal, added Ledger hardware wallet support. The agent spots a connected device and can read balances and history or prepare sends and swaps, but every transfer of value needs a physical press on the device. The model drafts; a person signs, and private keys stay on the device.

  • OutcomeIf a coding agent can read or move crypto, connect it through a hardware wallet so every value-moving step needs a physical button press and keys never leave the device.
  • SetupUnder an hour
  • LevelAdvanced
  • Creditu/pzarevich on r/AI_Agents
View original
Works with
GrokCustom agent

Published Oct 23, 2026Updated Oct 23, 2026AI dry run on sample input: passed Oct 23, 2026Source verified Oct 23, 2026

When should you use it?

  • An agent helps you manage crypto holdings
  • You want balance checks without exposing keys
  • You run a terminal agent with tool permissions

Not for: Exchange accounts with API keys; Anyone new to self-custody

What do you need, and what do you get?

You need

  • Hardware wallet
  • Agent harness with a wallet integration
  • Clear list of allowed read actions

You get

  • Balance and history reports
  • Proposed transactions waiting on the device
  • Log of approvals

How does it work, step by step?

  1. Keys stay in the walletNever paste seed phrases or private keys into any agent.
  2. Start read-onlyLet the agent read balances and history before any send is possible.
  3. Require the buttonMake every send or swap wait for physical approval on the wallet.
  4. Read the screenCheck the address and amount on the device itself, not the agent's summary.
  5. Log itKeep a record of each proposal and whether you approved it.

The prompt

Our own prompt, inspired by u/pzarevich on r/AI_Agents and written to work in Grok and Custom agent. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt3 variables
Using my connected hardware wallet, show my balances and last {n} transactions. Then prepare this transfer: {amount} to {address}.
Do not ask for or handle any seed phrase or private key. Show the exact amount, fee and address you sent to the device so I can compare it with the device screen before approving.

Inspired by u/pzarevich on r/AI_Agents: grok is surprisingly good as a terminal coding agent. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • A wrong address shown in chat is easy to miss; trust the device screen.
  • Swaps can include fees and slippage the summary leaves out.
  • Test with a tiny amount first.

Our take

Strip away the crypto and u/pzarevich's design is a pattern every agent builder should know: let the model prepare an action freely, but put the final step behind a control it physically cannot operate. A hardware wallet suits that role because it shows the destination address and amount on its own trusted screen, independent of whatever the chat window claims. That is also where the human weak point lies. If you approve by glancing at the agent's summary rather than reading the device display, a manipulated address can still get through, so make reading the screen a ritual. Start with balance and history queries only, then allow small test sends to an address you control, and keep amounts tiny until the flow has been dull for weeks. Treat swap routes with extra suspicion, since slippage and contract approvals are harder to judge on a small screen. Log every proposal the agent makes, approved or rejected, so you can see whether it ever suggested something you did not ask for.

Where the time goes back: Routine balance checks and transaction prep happen in the terminal while the final yes stays physical.

FAQ

Is the agent able to move funds alone?
Not with this design; each value-moving step waits for the device.
Which wallets work?
The poster built support for one brand of device; check what your harness supports.

Source and credit

Inspired by u/pzarevich on r/AI_Agents. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
grok is surprisingly good as a terminal coding agent
Creator
u/pzarevich on r/AI_Agents
Published on
Reddit
Original date
Jul 22, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Custom agent
AI dry run
Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends, bookings or purchases.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Privacy & Security

All 22 Privacy & Security playbooks →

Related playbooks

Privacy & SecurityPrompt✓ AI dry run

Check your family's cars for open safety recalls

With your relatives' permission, have an assistant work out which cars the family drives from routine emails, check each one against official recall records, explain any open recall in plain words and keep watching, while it flags scam emails on the side.

Credit: Albus (@0xAlbus)

Minutes
Privacy & SecurityPrompt✓ AI dry run

Hand small desktop jobs to your terminal agent

Hand a terminal agent the small, fiddly jobs on your own computer, from fixing photos and killing frozen apps to checking warranties, not just programming.

Credit: pta2la (@peta2la)

Minutes
Privacy & SecurityRoutine✓ AI dry run

Approve a daily memory diff from your personal agent

Keep a personal agent's long-term memory accurate by reviewing a short daily list of proposed additions and edits before they are saved.

Credit: PrincessEe on Hacker News

An afternoon+
Privacy & SecurityPrompt✓ AI dry run

Audit and clean up your digital footprint

Find what anyone can see about you online, decide what to delete, lock down or update, and work through a cleanup plan.

Credit: Theo Builds AI (@TheoBuildsAI)

Under an hour
Privacy & SecurityPrompt✓ AI dry run

Have Claude check your Home Assistant every 3 hours

Run a scheduled Claude task that inspects your Home Assistant through a local MCP connection every few hours, compares the results with a running log, and messages you only when something is wrong or new, with causes, impact and fix steps, while never changing a setting itself.

Credit: u/valain on r/homeassistant

An afternoon+