Run one command:
npx --yes @agentlayer.tech/wallet@latest installIt works with:
- Codex
- Claude Code
- OpenClaw
- Hermes
You need:
- Node.js 24
- npm
- Python 3
AgentLayer detects the supported agent frameworks on your machine and asks where you want to install the plugin.
Restart the selected applications after installation.
To install into every detected framework without questions:
npx --yes @agentlayer.tech/wallet@latest install --yesnpx --yes @agentlayer.tech/wallet@latest install --yes --hosts codex,claude-codeSupported host names are:
codex
claude-code
openclaw
hermes
To see what AgentLayer detects:
npx --yes @agentlayer.tech/wallet@latest detect --jsonIf the wallet command is available:
wallet update --yesIf the CLI is missing or outdated:
npx --yes @agentlayer.tech/wallet@latest update --yesAn update refreshes the shared runtime and the frameworks already connected to AgentLayer. It does not add a newly installed framework without your choice.
To update only selected frameworks:
npx --yes @agentlayer.tech/wallet@latest update --yes --hosts codex,claude-codePreview an update without applying it:
wallet update --yes --dry-runwallet status
wallet doctorAny MCP client that supports the standard local stdio transport can use the
same wallet runtime, without installing a Codex, Claude Code, OpenClaw, or
Hermes plugin. Install the runtime, then print a ready-to-paste MCP config:
npx --yes @agentlayer.tech/wallet@latest install --yes --runtime-only
npx --yes @agentlayer.tech/wallet@latest mcp configThe generated config starts a local process at the stable
agent-wallet-runtime/current path. It exposes the same wallet tools as the
Codex and Claude Code bridges. Transaction policy, preview/prepare/execute,
and approval checks remain enforced by the shared Python wallet runtime.
For clients that ask for an executable path instead of JSON, use:
npx --yes @agentlayer.tech/wallet@latest mcp pathIf the global CLI is not installed:
npx --yes @agentlayer.tech/wallet@latest status
npx --yes @agentlayer.tech/wallet@latest doctorAfter an install or update, restart the connected agent applications when
wallet status shows restart_required: true.
Cloud-agent and mobile-host users can be served by the separate
x402-payment-mcp/. It is a new remote MCP with
first-party OAuth (Google/GitHub login), one CDP-managed Base wallet per user,
CDP Bazaar-only discovery, and Base USDC x402 payments. It does not replace or
share custody assumptions with the local wallet runtime.
wallet detect --json
wallet status
wallet doctor
wallet update --yes
wallet rollbackConnectors add optional third-party crypto and DeFi read tools without moving existing integrations such as Aave, Kamino, or Morpho out of the wallet core.
wallet connectors inspect ./connector.json
wallet connectors install ./connector.json --enable --yes
wallet connectors list
wallet connectors disable com.example.protocol
wallet connectors doctorEnabled read-only connectors appear in OpenClaw and Codex after the host is
restarted. Write-capable connectors remain unavailable until their verified,
AgentLayer-hosted execution path is fully enabled. See
connectors/README.md for the trust model and protocol.
AgentLayer connects supported agents to one local wallet runtime. The agent can:
- view balances and portfolio positions
- send and receive supported assets
- swap tokens
- use supported DeFi services
- access paid APIs through x402
- work with Solana, Ethereum, and Base
Read operations are available directly. Operations that move funds remain protected by wallet policy and approval checks.
Claude Code users can also install the plugin from its marketplace:
/plugin marketplace add lopushok9/Agent-Layer
/plugin install agent-wallet@agentlayer
Restart Claude Code after installation.
OpenClaw users can also install the native plugin from ClawHub:
openclaw plugins install clawhub:@agentlayertech/agent-wallet-pluginThe universal npm installer is still required to prepare the local wallet runtime.
The agent receives wallet capabilities, not wallet keys.
- Keys and signing stay on the user's machine.
- Wallet secrets are encrypted locally.
- Updates preserve existing wallets and identities.
- Transactions remain subject to wallet policy and approvals.
On macOS, AgentLayer uses the login Keychain by default. macOS may ask for Keychain access during an install or update. Approve it only when you initiated the AgentLayer command.
Keep a secure offline copy of your recovery key.
This repository is available under the PolyForm Small Business License 1.0.0. Individuals, researchers, students, security reviewers, hobbyists, and eligible small businesses may use and modify it under the terms of that license.
