DocumentationAI toolsOverview

Agent capabilities with Ledger signers and services

Ledger offers two AI tools, addressed to two different readers and two different jobs. The Ledger Wallet CLI is a terminal binary that you (or your agent) drive at runtime to manage your own accounts: balances, transfers, swaps, and staking, with on-device confirmation on every signing step. DMK skills are Markdown instruction sets that your coding agent loads at build time so it can help you integrate the Device Management Kit into an application you are building. In both cases, the Ledger device stays the final gate. On top of either tool, hardware security features let you protect the credentials and service access your agents rely on, using your signer as the hardware gate for encryption and authentication.

Pick the tool for your job

The two tools answer different questions. Pick the row that matches what you want to do; you do not need both.

Works with

  • The CLI runs anywhere a shell does: at the terminal directly, or under any agent that can run shell commands (Claude Code, Cursor, Claude Desktop, or your own).
  • The DMK skills work with any coding agent that loads Markdown skill files (Claude Code, Cursor, Cline, and similar).

Get started

Install Ledger agent skills with:

npx skills add ledgerhq/agent-skills

Then go to Ledger Wallet CLI or DMK skills for the full setup. To protect the credentials and service access your agents rely on, see Hardware security.

CLI use cases

Things you (or your agent) can do once the Ledger Wallet CLI is installed and your device is plugged in. Hardware confirmation is required for every signing step.

Read-onlyPortfolio snapshot

"Show my ETH balance and last 10 transactions."
The agent calls balances and operations without touching the device. Useful for dashboards, briefings, and health checks.

SigningAgent-assisted send

"Send 100 USDT to 0xDEF… — confirm on my Ledger."
The agent plans the transaction, calls send --dry-run to preview fees, then triggers hardware signing after your approval.

Swap · v2Natural-language swap

"Swap 0.1 ETH to BTC at best rate."
The agent fetches a quote, surfaces rate and fees in plain English, then Clear Signs the swap on your device with one confirm.

DMK skills use cases

Things your coding agent can help you build once the DMK skills are installed in your skills directory.

BuildAdd Ledger to a wallet app

"Add WebHID-based Ethereum signing to my Vite + React wallet."
The agent uses the implementation skill to wire transports, sessions, and clear-sign payloads, and surfaces user-rejection errors correctly.

BuildAdd HITL approval to an agent workflow

"Pause my trading bot and require Ledger confirmation before any send."
The agent uses the 5-step execution process to insert a hardware approval gate at sensitive steps in your own application.


ℹ️

Both surfaces are in early development. Breaking changes may happen between releases. Feedback welcome on the Ledger Discord server.

Ledger
Copyright © Ledger SAS. All rights reserved. Ledger, Ledger Stax, Ledger Flex, Ledger Nano, Ledger Nano S, Ledger OS, Ledger Wallet, [LEDGER] (logo), [L] (logo) are trademarks owned by Ledger SAS.