Skip to Content
BuildBitcoin for AI AgentsFlow Coverage Matrix

Flow Coverage Matrix

This section covers which package supports which BTC, LBTC, and BTC.b flows, so you can confirm coverage before you build.

sdk-agentkit ships a curated subset focused on what AgentKit wallets can sign end-to-end today. sdk-agent covers the broader surface.


Coverage by flow

Flowsdk-agent toolsdk-agentkit action
Read LBTC / BTC.b balanceget_lbtc_balance, get_btcb_balance, get_balanceget_lbtc_balance, get_btcb_balance
Read any ERC-20 balanceget_token_balance-
Resolve a Lombard asset by symbol/addressget_token_info-
LBTC/BTC exchange rateget_exchange_rateget_lbtc_exchange_rate
LBTC base APYget_lbtc_apy-
Native BTC → LBTC (deposit address)check_fee_authorizationprepare_btc_to_lbtc_deposit- (use SDK directly)
Native BTC → BTC.b (deposit address)check_fee_authorizationprepare_btc_to_btcb_deposit- (use SDK directly)
Track BTC deposit status (LBTC + BTC.b)get_deposit_statusget_deposit_status
Claim notarized deposit → LBTCprepare_claim_lbtc_depositclaim_lbtc_deposit
BTC.b → LBTC (stake)prepare_btcb_to_lbtc_stakestake_btcb_to_lbtc
LBTC → BTC.b (same-chain redeem)prepare_lbtc_to_btcbredeem_lbtc_to_btcb
LBTC → native BTC (cross-chain unstake)prepare_lbtc_to_btcunstake_lbtc_to_btc
BTC.b → native BTC (redeem)prepare_redeem_btcb- (use SDK directly)
Track unstake / redeem progressget_redemption_statusget_redemption_status
Discover yield strategiesget_earn_strategies, get_lbtc_defi_opportunities-
Deploy LBTC → Bitcoin Earnprepare_earn_depositdeploy_to_earn
Bitcoin Earn positionsget_earn_positions-
Bitcoin Earn withdrawal historyget_earn_withdrawals (open, fulfilled, cancelled, expired)-
Request / cancel Earn withdrawalprepare_earn_withdrawal, prepare_cancel_earn_withdrawal-
Lux reward points (current season)get_lux_points-
Aggregated portfolio summaryget_positions_summary-
Morpho Blue (markets, supply, borrow, repay, position)get_morpho_lbtc_markets, prepare_morpho_supply_collateral, prepare_morpho_borrow, prepare_morpho_repay, get_morpho_position-

Two common BTC.b mistakes to flag in your agent’s system prompt

Deposit tool mismatch (LBTC vs BTC.b)

Native BTC → BTC.b uses a different tool than native BTC → LBTC.

prepare_btc_to_lbtc_deposit always mints LBTC. For BTC.b you must call prepare_btc_to_btcb_deposit.

Both deposits track through the same get_deposit_status, so once the address is generated the polling flow is identical.

LBTC redemption split into two tools

LBTC redemption is split into two distinct tools.

prepare_lbtc_to_btc does the cross-chain LBTC → native BTC unstake (requires a Bitcoin recipient).

prepare_lbtc_to_btcb does the same-chain LBTC → BTC.b redemption (no recipient needed).

For BTC.b → native BTC, use prepare_redeem_btcb; neither of the above operates on BTC.b.


Supported assets

LBTC
What it isYield-bearing Bitcoin
Mintable fromNative BTC or BTC.b
Best for: Yield + DeFi collateral
BTC.b
What it isCross-chain Bitcoin (no yield)
Redeemable toNative BTC
Best for: Neutral 1:1 BTC across chains

Supported chains

EthereumChain ID 1
BaseChain ID 8453
SepoliaTestnet
Base SepoliaTestnet
Last updated on