ConceptsTools

Limbs that do, gates that decide.#

Tools do literal work, never safety logic. The brain decides which tool to call; the deterministic control layer decides whether a value-moving call is allowed. Reads are free. Every write (sui.send, cetus.swap, navi.supply / withdraw, scallop.*, walrus.store) goes through policy, simulation, and approval first.

On-chain tools (plugin-onchain)#

AreaToolsNotes
Wallet / accountaccount.info, sui.balanceIdentity plus coin snapshot plus activity; native SUI (MIST) position.
Balances / coinssui.balance, tokens.infoCoin-type discovery across owned objects (no curated list).
Transferssui.sendNative SUI and any Sui coin type; recipients are Sui addresses (0x + 64 hex).
Tradingcetus.quote, cetus.swap, deepbook.marketsCetus and Turbos (concentrated-liquidity AMMs) plus DeepBook's native CLOB. Quotes compare venues and route to the better one.
Lendingnavi.*, scallop.*NAVI, Suilend, and Scallop: live supply / borrow rates, supply / withdraw collateral, borrow / repay; receipts report the health factor.
Stakinghaedal.stake, springsui.stakeLiquid staking of SUI via Haedal and SpringSui.
Discoverydefi.yieldsDeFiLlama analytics: Sui pools ranked by APY / TVL with risk and RWA flags (read-only).
Riskrisk.tokenPre-trade vet: can you exit it (live Cetus / DeepBook quote), liquidity depth, restricted-RWA flag, real-package check, into a low / elevated / high verdict.
Controlspolicy.show, policy.create, tx.simulateReport or set the active fund-control policy; dry-run any PTB (would-succeed plus gas, or decoded failure) without broadcasting.
Receiptswalrus.storePersist auditable memory and execution receipts to Walrus, addressed by root hash.
Analysissui.tx, sui.object, sui.activityDecode tx, introspect objects and Move packages, recent transfers.
Blockchainsui.checkpoint, sui.gasLatest checkpoint, timestamp, reference gas price plus estimated SUI cost of common ops.
Genericsui.read, move.callAny Move function by package / module / function plus args.

Source: packages/plugin-onchain.

RWA and restricted awareness#

defi.yields surfaces every Sui pool but flags restricted RWA and tokenized yield products (for example Ondo's offerings) so the agent only proposes entering them with explicit eligibility confirmation. DeFiLlama is used for discovery and analytics only, never execution.

Host harness (plugin-system)#

The agent also has a general-purpose toolkit for the work around the chain: OS-sandboxed shell and code execution, file operations, web fetch, and a headless browser. These run on the operator's machine under the OS sandbox.

Source: packages/plugin-system.

Telegram (plugin-telegram)#

A Telegram listener turns inbound DMs into agent events. Approval prompts arrive as inline-keyboard buttons, so the same boundary applies whether you drive the agent from the terminal or your phone.

Source: packages/plugin-telegram.

Approval modes#

The session permission mode controls how much the agent does without prompting, but the approval floor sits beneath it. A material-risk action prompts for a human even when the session is in auto / YOLO, and is denied outright under strict and read-only. Configure it with LYRA_POLICY_AUTONOMY and the rest of the LYRA_POLICY_* variables. See Configuration.

Read CLI next.

Source: packages/plugin-onchain.

Source: packages/plugin-onchain

Tools · lyra docs