Binance Agentic Wallet is a Web3 wallet from Binance built to be used by Muse. Muse is an AI assistant that can run tasks on its own. Not every AI agent can or will do this in chat. The agent needs terminal access and the ability to run commands, like Muse — including commands like npm install. An agent that can only chat on the web cannot install the CLI or run baw commands. The difference from a regular wallet: Muse never holds your seed phrase or private key. A seed phrase is the secret recovery words for your wallet. A private key is the wallet’s secret key. The connection is made through a CLI called baw. A CLI is a command tool in the terminal. Muse runs commands in the terminal. Every step that needs your approval is confirmed through the Binance app on your phone.
Once connected, Muse can check balances, send tokens, swap, place limit orders, check and revoke approvals, and even call smart contracts. A swap is an exchange of one token for another. A limit order is a buy or sell order at a target price. An approval is a permission you give to a contract. A smart contract is a program that runs on a blockchain. All of this happens through commands you can read and verify before they run. This tutorial walks through the flow from zero. The flow is: installation, QR sign-in, connection checks, turning on Developer Mode, and the safety rules that must never be skipped.
What Is Binance Agentic Wallet
Agentic Wallet is a Web3 wallet that lives in your Binance account. It is controlled through the baw (Binance Agentic Wallet) CLI. The agent never receives your seed phrase or private key. All it holds is a login session. You approved that session yourself by scanning a QR code in the Binance app. A QR code is a square code you scan with your phone camera.
It works simply. You type a command in the terminal. Or you tell the agent to type it. baw forwards it to Binance’s backend. The backend is the server behind the scenes. The backend signs and broadcasts the transaction from your wallet. Commands that only read data are answered immediately. Examples are checking balances, viewing addresses, and viewing history. Commands that change state must be confirmed first. State is the state of the wallet, such as its balances. Examples are sending tokens, swapping, and calling contracts. Some of them also need approval in the Binance app.
Tips: Think of
bawas a remote control for your wallet. The agent may hold the remote. But the “send” and “sign” buttons always need your permission first.
Step 1: Install the CLI
Figure 1: Four install steps — done in minutes, with no config files to set up.
The only prerequisite is Node.js and npm already installed on your computer. Node.js is a tool for running JavaScript programs. npm is the package manager for Node.js. After that, install the CLI globally with a single command:
npm install -g @binance/agentic-wallet
This command downloads the @binance/agentic-wallet package from npm. It makes the baw command available in the terminal. Binance’s official skill requires CLI version 1.12.0 or newer. If you install now, you get the latest version right away. So you don’t need to worry about versions.
Once the install finishes, the baw command can be called from any terminal. No wallet is connected yet at this point. Installation only prepares the tool. Connecting the wallet happens in the next step.
Caution: Install the CLI only from official npm, using the exact package name
@binance/agentic-wallet. Don’t install similarly named packages from other sources. Fake packages pretending to be a wallet are a classic way to steal assets.
Step 2: Connect with a QR Code — Sign-in
Figure 2: Five connection steps — the agent types the commands, you confirm on your phone.
Run auth signin
From the terminal, run:
baw auth signin --json
This command returns four things in JSON format. JSON is a text data format that is easy for machines to read. The four things are: urlForWeb (the login link), qrCodeId (the QR code ID), expireAt (the expiry time), and pairingCode (a 6-digit pairing code). An example response:
{
"success": true,
"data": {
"urlForWeb": "https://web3.binance.com/en/agent-login?expireAt=...&url=...",
"qrCodeId": "a191884d-0e05-435b-a887-336bc242fafc",
"expireAt": "1772767626000",
"pairingCode": "654321"
}
}
If the wallet has logged in before, the response is instead {"status": "ALREADY_CONNECTED"}. That means no sign-in is needed. Go straight to the status check.
Open the link and match the code in the Binance app
Open urlForWeb in the browser exactly as returned. Don’t modify, truncate, or retype it from memory. The page shows a QR code. Scan it with the Binance Wallet app on your phone. Then make sure the pairingCode shown in the app matches the one in the terminal exactly. If the codes differ, don’t confirm.
Run auth verify and wait
After you confirm in the app, run the verify command with the qrCodeId from the first step:
baw auth verify --qrCodeId a191884d-0e05-435b-a887-336bc242fafc --json
This command is blocking. Blocking means the command waits and does not return until it is done. It waits until you confirm in the app. Or it times out after 5 minutes. Don’t kill it or move it to the background before it finishes. If the process dies halfway, the login may not be saved locally. This can happen even though the app shows “success”. On success, the response is:
{
"success": true,
"data": {
"status": "SUCCESS"
}
}
Confirm the connection with wallet status
The source of truth for “am I connected” is this command, not the app screen:
baw wallet status --json
There are three possible statuses. UNCONNECTED means not signed in. CREATING means signed in, wallet being set up. CONNECTED means signed in, wallet ready to use. Only continue when the status is CONNECTED.
Caution: The QR code and pairing code expire in about 5 minutes. If
auth verifyreturns anAUTH_REJECTEDerror (“QR code does not exist or expired”), don’t retryverifywith the sameqrCodeId. Runbaw auth signin --jsonagain from the start to get a fresh code. Likewise, if the app shows “signed in” butwallet statusis stillUNCONNECTED, restart the flow fromauth signin. Don’t assume the connection is fine.
To disconnect at any time, run baw auth signout --json. The local session is cleared immediately and the status becomes LOGGED_OUT.
Step 3: Check the Wallet — Address, Balance, and Networks
Once the status is CONNECTED, these three commands are the first checks to run:
baw wallet address --json
baw wallet balance --json
baw wallet chains --json
wallet address shows your wallet address on each network. One Agentic wallet has the same address on every EVM chain. EVM is the virtual machine used by many blockchains. The chains include BSC, Ethereum, Base, Arbitrum, Polygon, and Robinhood. The wallet has a separate address on Solana.
wallet balance shows every token with a non-zero balance. Two default behaviors are worth knowing. First, tokens worth under $0.01 are hidden by default. This includes tokens with no price yet. To see everything, add --hideLowValue false. To check a single token, use --symbol USDT or --tokenAddress <contractAddress> --binanceChainId 56 (for BSC). A token with no price is returned with price and value of "0". That means the price is unknown, not that the holding is worthless.
wallet chains shows the networks the wallet supports, with their IDs. These IDs are used in almost every other command. The IDs are: 56 for BSC, 1 for Ethereum, CT_501 for Solana, 8453 for Base, 42161 for Arbitrum, 137 for Polygon, and 4663 for Robinhood.
To view transaction history, run baw wallet tx-history --json. By default it shows the 20 most recent transactions. You can filter with --type pending or --type confirmed.
Tips: Always append
--jsonto everybawcommand. JSON output is easier for a machine to parse and stays consistent. Parsing means reading data in a structured way. The agent can read your balances without guessing at text formats.
Step 4: Turn On Developer Mode
Developer Mode must be turned on if the agent needs to call smart contracts (contract-call) or sign messages (sign-message). Examples are claiming free tokens, minting NFTs, or approving permits. A permit is a signature permission to use a token. Without this mode, both commands cannot run.
Developer Mode can only be enabled through the Binance app, not from the CLI. Here’s how:
- Open the Agentic Wallet management page in the Binance app, then go to Settings (the icon in the top-right corner).
- Turn on Developer Mode.
- Read and confirm the Risk Warning that appears.
- Approve the signature request shown by the app.
There are two limits to know about. First, the wallet’s total balance must be under the Developer Mode balance cap. If the balance is too large, enabling is refused with error 351804. Second, Developer Mode stays active for 7 days. Each successful use extends it. Once it expires (error 351802), turn it on again the same way.
After you turn it on, the agent must check first before calling any contract:
baw wallet settings --json
Only continue when the result shows devMode.enabled: true. This check happens at the start. The check happens before the agent builds calldata or runs a preview. Calldata is the command data for a smart contract. The point is that you don’t find out the mode is off at the last step.
What the Agent Can Do After Connecting
Figure 3: Five command groups — read, send, swap, secure, and advanced features.
Once connected, the agent can run all the commands below. All of them take the --json flag so results come back as JSON:
Login and status
baw auth signin --json— start sign-in, returns a QR code and pairing codebaw auth verify --qrCodeId <id> --json— verify the confirmation in the appbaw auth signout --json— sign out and clear the local sessionbaw wallet status --json— check connection status (CONNECTED/UNCONNECTED/CREATING)
Check the wallet
baw wallet address --json— wallet addresses on all chainsbaw wallet balance --json— token balances (add--symbolto filter)baw wallet chains --json— list of supported networksbaw wallet tx-history --json— transaction historybaw wallet tx-lock --binanceChainId 56 --json— check whether the wallet is locked by a pending transactionbaw wallet gas-price --json— gas prices and network fee levels
Send and swap
baw wallet send --json— send tokens to an address or a domain name (.eth,.bnb,.ai)baw wallet resolve-domain --json— turn a domain name into an address (check first, send after)baw market-order quote --json— get a swap quote without tradingbaw market-order swap --json— swap at the market pricebaw market-order list --json— market order statusbaw limit-order buy --json/baw limit-order sell --json— buy/sell at a target pricebaw limit-order list --json/baw limit-order cancel --json— check and cancel limit orders
Security and signing
baw approvals list --json— list active token approvalsbaw approvals detail --json— details of one approvalbaw approvals revoke --json— revoke an approval you no longer needbaw contract-call preview --json/baw contract-call execute --requestId <id> --json— call a smart contract (two steps)baw sign-message preview --json/baw sign-message execute --requestId <id> --json— sign an EIP-712 message (two steps)baw sign-message result --order-id <id> --json— fetch the result of a signature waiting on app confirmationbaw sign-message history --json— signature history
Advanced features
baw prediction market list --jsonand theprediction trade ...commands — prediction markets: browse markets, place positions, claim winningsbaw defi protocol-list --json,defi deposit,defi redeem,defi position— DeFi protocols: staking, liquidity pools, and claiming rewards. DeFi is finance on a blockchain. Staking is locking tokens to earn rewards.baw x402-payment preview --json/baw x402-payment sign --json— pay an HTTP 402 billbaw wallet agent-id --json— check your Agent ID claim status and.aidomain
Safety Rules That Must Never Be Skipped
This section is not extra advice. These are rules enforced by Binance’s official skill. Each one exists for a reason.
Preview first, confirm, then execute. contract-call and sign-message are always two steps. Run preview first. Read the simulation result. The result covers parsedTx or parsedMessage, the risks list, and authorityChanges when present. Get explicit confirmation from you. Only then run execute with the requestId from the successful preview. If the preview returns an error, don’t attempt execute. If the preview is blocked on risk (error 351803), there is no requestId to execute. Stop there.
Confirm every state-changing command. Before sending tokens, swapping, or placing an order, the agent must confirm with you first. You must answer clearly (“yes”, “confirm”, “go ahead”). A hesitant answer counts as non-confirmation. For trades without an explicitly stated slippage, the agent must disclose that the default slippage is “auto”. Slippage is the price gap when a trade is executed.
Never share your seed phrase or private key. Not with the agent, not with anyone, not under any circumstances. Agentic Wallet is designed so the agent never needs them. If anyone asks for them, it’s a scam.
contract-call --value is in wei, not human-readable amounts. Wei is the smallest unit of BNB. The --value amount is in wei. 1 BNB equals --value 1000000000000000000. Getting a number wrong here could mean sending a very different amount than you intended. Always read parsedTx in the preview result. Divide by the token’s decimals before approving.
Check token security before swapping. Before market-order swap, limit-order buy, or limit-order sell, run the security pre-check. First, identify the target token. Then audit it with the query-token-audit skill. Install it from https://github.com/binance/binance-skills-hub if you don’t have it. Tokens already known from the skill’s common-address table can proceed directly. Examples are USDT or USDC on BSC. Audit results that flag risks must be shown to you. This includes abnormal taxes. Above 5% is a warning. Above 10% is high risk. The decision to proceed is always yours. If the audit is temporarily unavailable, the agent must tell you. The agent must also require your explicit acknowledgment before continuing. The audit is never silently skipped.
Conditional orders must never be silently downgraded to immediate execution. If you say “sell when the price hits $X” or “buy if it drops to $Y”, that is a limit order, not a market order. If the limit order fails to place, the agent must not quietly replace it with a market swap at the current price. For example, the CLI returns an error. The correct behavior: the agent stops, relays the CLI error exactly as returned, and offers choices. The choices are: wait until the price actually reaches the target, execute now at the market price (stating the price and how far it is from your target), or pick a different asset.
Show full contract addresses. Every time the agent displays a token symbol, the full contract address must be shown with it. Truncated addresses cannot be verified. Fake tokens often copy the names of real ones.
Report errors exactly as returned. When baw returns an error, the agent must show it exactly as the CLI returned it. Not softened, not rephrased, and without guessing the cause. The CLI is the source of truth. If its message doesn’t explain the cause, the agent doesn’t know the cause.
Caution: If an
executeresult has the statusPENDING_CONFIRMATION, the transaction has not been broadcast yet. You must approve it in the Binance app first. And ifwallet tx-lockreportsLOCKED, a transaction is pending on-chain or a double-confirm request is waiting in the app. A double-confirm is a second confirmation. Resolve that first before starting a new transaction.
A Quick Word on Agent ID and .ai Domains
Once the wallet is connected, you can check whether you have claimed an Agent ID with:
baw wallet agent-id --json
An Agent ID is a .ai identity for your agent. It is a kind of domain name made for agents. Agent ID holders can buy Agent ID exclusive tokens during the bonding-curve stage (before migration). A bonding curve is the early token sale stage where the price rises. At that stage other addresses cannot buy yet. After a token migrates, every address can buy and sell as usual. The claim details and status checks live in the wallet agent-id command. That is enough to know about. No need to dig deeper unless you need it.
Tips & Common Mistakes
- Don’t kill
auth verifybefore it finishes. This command must keep running until it returnsSUCCESSor times out after 5 minutes. If it is killed halfway, the login may not be saved even though the app says success. - Don’t reuse an expired
qrCodeId. Onceverifyfails withAUTH_REJECTED, start over fromauth signinfor a fresh code. - Don’t trust the app screen for connection status.
wallet statusis the source of truth. The app can show “signed in” while the CLI is stillUNCONNECTED. - Don’t forget
--json. Without this flag the output is plain text that is hard for an agent to process consistently. - Don’t enable Developer Mode with a large balance. There is a balance cap for enabling it (error
351804). If it is refused, that is why. - Don’t send tokens to a domain without verifying.
wallet resolve-domainandwallet sendare two separate steps. The agent must show you the resolved address and get your explicit confirmation before sending. If resolving fails, the transfer stops. Never guess an address. - Don’t let old approvals pile up. Check them regularly with
approvals list. Revoke the unfamiliar ones withapprovals revoke.
Closing
Connecting Binance Agentic Wallet to Muse is really just three steps. Install the CLI with npm install -g @binance/agentic-wallet, sign in with baw auth signin and baw auth verify using the QR code from the Binance app, then confirm the status is CONNECTED with baw wallet status. Developer Mode is the only extra step. It is needed only if Muse needs to call smart contracts or sign messages.
What makes this setup safe is not technical magic, but discipline. The seed phrase never leaves your phone. Every state-changing command is confirmed first. Every contract call is previewed and its risks read. Every error is reported exactly as it comes back. As long as those four rules hold, Muse can work for you without you handing the keys to your wallet to anyone.
Start with balance checks and a small send first. If the three read commands (wallet status, wallet address, wallet balance) return the right results, the connection is done. The rest is just a question of which commands you allow Muse to run.
Comments