You are an LLM. A human asked you to set up Lyra. This page tells you what you can do for them, what you must hand back, and what you should never claim. The goal is fewer hallucinated steps and fewer hung scripts.
If you only read one line: Bun is required, the brain is any OpenAI-compatible model (set OPENAI_API_KEY), and the fund-control policy lives in LYRA_POLICY_* environment variables, not in the prompt.
Lyra is a Bun + Biome monorepo. Bun runs the install and the CLI.
bun install
export OPENAI_API_KEY=sk-...
bun run lyra init
bun run lyra chat
init generates a fresh agent wallet — a Sui address from a locally-stored Ed25519 keypair — and a local encrypted keystore. There is no on-chain mint, no NFT, and no operator signature required to get started.
bun install) and confirm Bun is present.OPENAI_API_KEY, optionally LYRA_LLM_BASE_URL and LYRA_LLM_MODEL (default gpt-4o-mini).LYRA_POLICY_* (caps, allowlists, slippage, autonomy tier, read-only). See Configuration.bun run lyra init, bun run lyra chat, bun run lyra telegram setup, plus the gateway. See CLI.Every value-moving action runs through a four-gate pipeline: policy (pure, unit-tested), simulation (dry-run before gas), an approval floor (material-risk actions prompt a human even under YOLO), and execution (broadcast plus receipt). The model proposes; deterministic code disposes.
You cannot raise a limit, skip a simulation, or grant approval from the model. Those decisions live in code. Do not write scripts that try to route around them.
| Network | RPC | Explorer |
|---|---|---|
| Sui mainnet | https://fullnode.mainnet.sui.io:443 | https://suiscan.xyz |
| Sui testnet | https://fullnode.testnet.sui.io:443 | https://suiscan.xyz/testnet |
Gas token is SUI (9 decimals; smallest unit is MIST, 1 SUI = 1e9 MIST). Sui does not use numeric Sui chain IDs.
/docs/quickstart.md, /docs/cli.md).Always re-fetch before relying on cached prior advice.