aomi --help for the installed top-level surface and aomi <command> --help for exact options. This page describes npm latest (0.7.6 on September 22, 2026) and calls out the additional commands in merged 0.9.4 source.
Agent commands
chat
Send one message and exit:--verbose or -v streams Agent messages, tool calls, and events while the turn runs. Without it, the command prints the final response.
session
Closing or deleting a local record does not turn a session ID into an authentication boundary. Backend session ownership still comes from the guest or account credential.
model
app
The published0.7.6 package provides:
Select an App with
--app, --application-id, or /app in the REPL. There is no aomi app use command.
Merged client 0.9.4 source adds account-owned App installation and credentials:
Persistent App credentials, temporary session secrets, and model-provider BYOK keys are separate stores. See Apps and authentication.
Wallet and account commands
tx
The command group is namedtx, but its records are Agent Actions:
tx export supports --format eip5792 (default), moss, and metamask. See Transactions and signing.
chain
Current source includes Ethereum (1), Optimism (10), Polygon (137), Monad (143), MegaETH (4326), Robinhood Chain (4663), Arc (5042), Base (8453), Monad Testnet (10143), Arbitrum (42161), Linea Sepolia (59141), Linea (59144), Base Sepolia (84532), Sepolia (11155111), Arc Testnet (5042002), and local Anvil (31337). Your installed version can have an older table;
aomi chain list is authoritative for that binary.
wallet
wallet set writes signing keys to the owner-only local session file. Use a per-command signing flag or environment variable if you do not want to persist a key.
account
--wallet, --solana, and --provider are mutually exclusive on login and link commands.
Account credits are nested under account credits:
Reuse the same idempotency key only when retrying the same top-up.
Pipeline commands
Pipeline provides discovery and a stateless Build lifecycle:--arguments and lifecycle <input> accept an inline JSON object, a path, @path, or - for stdin. Supply --idempotency-key to pipeline invoke or a raw commit when you need to retry the same mutation.
Pipeline Build values are opaque transition inputs. Pass the complete staged value to simulate, and the complete simulated value to commit. Do not reconstruct them from displayed fields.
Configuration and deployment commands
There is no top-level
--secret flag. Shell history can retain NAME=value; prefer a private shell input mechanism for sensitive values.
The client bundle also exposes aomi deploy, aomi deploy status, and aomi deploy activate for Project deployment. Use aomi deploy --help for its Project ID, activation token, branch, commit, and preflight options. Builder documentation remains canonical for authoring and release workflows.
Global flags and environment variables
Flags override environment variables. Most global flags work on Agent, account, and wallet subcommands. Pipeline and deploy commands intentionally expose narrower sets; use their command help.
Root mode also accepts
-p, --prompt, --show-tool, and --provider-key <provider:key>. On aomi chat, -v means --verbose; use aomi --version for the package version.
If --public-key and --private-key are both present, the CLI requires them to describe the same EVM account. The same consistency check applies to --solana-public-key and a configured SVM signer.
Local state
The CLI stores sessions underAOMI_STATE_DIR or ~/.aomi:
sessions/session-N.jsonstores one local session record with file mode0600.active-session.txtselects the active local record.- The state directory is created with mode
0700where the operating system supports it.
aomi tx list fetches durable Actions from the Agent session.
Use --verbose to print the active state path for commands that support it.