Skip to main content
Verified against published aomi-sdk 5.1.1 at commit 2ef3e04 on 2026-09-22.
aomi-run is the local dev runtime. It ships as a binary from the aomi-sdk crate on crates.io. It loads a compiled plugin, reads its manifest, and opens an interactive REPL connected to Anthropic, OpenAI, or OpenRouter. It does not require a backend or deployment. Use it to inspect which tools the model selects before you ship.

Install

aomi-run installs from the published aomi-sdk crate, alongside its sibling aomi-build:
The dev-runtime feature builds aomi-run; the cli feature builds aomi-build. Install with --features cli alone and you get only aomi-build, not aomi-run. The binary has no --version flag; run aomi-run --help to confirm the install.
These are not standalone crates or npm packages, so there is no aomi-run to find on crates.io or npm. They are binaries built from the aomi-sdk crate, which is why the install command points at that crate and uses feature flags to choose which binaries you get.
You can also run it without installing: prefix with cargo run -p aomi-sdk --features dev-runtime --bin aomi-run --. The install is just a convenience.

Run your plugin

There are no subcommands. You pass the plugin path as the one positional argument, then a handful of flags.
On start, aomi-run prints a summary of what it loaded, stubs any host namespaces the plugin asked for, and opens the REPL. The block below is illustrative, not literal output:
The tools line lists your plugin’s own tools. The namespaces line and the ⚙ stubbed line show the host capabilities the dev runtime stands in for, since the real backend is not present. Inside the REPL, /help lists commands and /quit exits.
aomi-run calls a real LLM, so it needs a provider key in your environment. With the default Anthropic provider, set ANTHROPIC_API_KEY before you run. aomi-run checks for the key before it even loads the plugin. Pass --env-file to load it from a dotenv file.

Flags

The default model per provider is claude-sonnet-4-6 for Anthropic, gpt-5 for OpenAI, and anthropic/claude-sonnet-4 for OpenRouter. The provider’s API key must be present in the environment (or in --env-file); aomi-run checks for it before it even loads the plugin.

What the dev runtime stubs

aomi-run is a v1 dev runtime, not the real backend. Some behavior is intentionally stubbed:
  • Routed return envelopes (evm_commit_message, stage_tx, svm_sign_tx, and the rest) do not fire. The model receives the envelope as opaque JSON; no wallet UX runs.
  • Host namespace toolsets (evm-core, database, forge, and others) are replaced with stub tools that return an “unavailable in dev runtime” value. The model still sees them by name, but a call resolves to a no op note.
  • Skill activation is not supported.
  • Host secret injection does not run. Operator-owned secrets can still use the plugin’s environment fallback. User-owned credentials have no environment fallback, so test them with TestCtxBuilder::secret or against the hosted runtime.
  • State attributes always return None.
For any of those, deploy the plugin and exercise it against the real backend.

aomi-build

Scaffold, compile, and deploy the plugin you just chatted with.

Aomi App

What is inside a plugin: tools, system prompt, manifest, secrets.

Rust SDK

The plugin SDK that your plugin compiles against.
Last modified on August 10, 2026