Build from source.
With Git and Nix installed, enter the repository’s development environment and build the native binary.
git clone https://github.com/abird-ai/aw.git
cd aw
nix develop
cargo install --locked --path . --bin awChoose a model. Ask a question.
Run aw. The first launch walks you through provider and model selection. Use a hosted API or your own inference server.
aw -C . --tools-mode read-only "Explain this repository"The read-only mode grants file inspection for this run. Tool access is off by default; your host configuration decides what an agent may read, change, or execute.
aw --session-resumeWork where you want.
| Command | What opens |
|---|---|
aw | A focused agent in your terminal. |
aw workspace | The native workspace for conversations, files, and changes. |
aw web | The browser workspace. |
For scripts, print a response or stream structured output.
aw --output-format jsonl --output-print "Explain Rust ownership"Bring your inference server.
Connect to an OpenAI-compatible endpoint. Replace MODEL with the model alias your server exposes.
aw --provider-profile llama \
--model-id MODEL \
--provider-base-url http://127.0.0.1:8080/v1 \
--output-print "Explain Rust ownership"aw runs the agent. Your inference service owns the model weights and device execution. Native Ollama, Anthropic, and Gemini adapters are also available.
Provider guideMake the agent part of your software.
Use the Rust core directly. Supply a provider, add your tools and policies, and consume events from the same agent loop.
use aw_agent_core::{Agent, AgentOptions};
let mut agent = Agent::builder(
provider,
AgentOptions::new("reviewer", "MODEL"),
).build()?;
let turn = agent
.prompt("Review this change", cancel, on_event)
.await?;This excerpt assumes a host-supplied provider, cancellation future, and event callback. Add permitted tools and extensions through the builder.