Skip to content

Get started.

Build from source.

With Git and Nix installed, enter the repository’s development environment and build the native binary.

Terminal
git clone https://github.com/abird-ai/aw.git
cd aw
nix develop
cargo install --locked --path . --bin aw
Development guide

Choose 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.

Inspect a repository
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.

Pick up where you left off
aw --session-resume

Work where you want.

CommandWhat opens
awA focused agent in your terminal.
aw workspaceThe native workspace for conversations, files, and changes.
aw webThe browser workspace.

For scripts, print a response or stream structured output.

Shell automation
aw --output-format jsonl --output-print "Explain Rust ownership"
Full CLI reference

Bring your inference server.

Connect to an OpenAI-compatible endpoint. Replace MODEL with the model alias your server exposes.

Local endpoint
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 guide

Make 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.

Rust · embedding excerpt
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.