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:
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.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:
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
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
Related
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.