Albatross
A terminal-first Rust coding agent that transparently routes each task across local or cloud models, with visible costs and approvals.
- Source repo
- morganlinton/Albatross
- Stars
- ★ 229
- Last updated
- 3mo ago
- FARS reviewed
- Sep 17, 2026
- License
- MIT
- Primary language
- Rust
- FA score
- 56/100 · Major gaps
At a glance
- Works with
- Universal · cross-platformChatGPT · Codex · OpenAI API · Claude APIClaude.ai (Unsupported)
- You'll need
- Typical use
- A developer running a 7B-class coder locally who does not want source leaving the machine: point it at Ollama or llama.cpp and use the same tools and commands.
- Main limitation
- Every backend is yours to run: Ollama, LM Studio, MLX and llama.cpp each have different ports and start commands, and connection failures are the most common first-day issue.
- Maintenance
- Commits in the last 6 monthslast commit 2026-08-25
- Source review
- 56/100 · Major gaps
What does this agent do, and when should you use it?
Albatross is an open-source, MIT-licensed coding agent written in Rust whose primary interface is a terminal TUI: you install it and run albatross. It talks to local inference servers (Ollama, LM Studio, MLX, llama.cpp) and cloud backends (OpenRouter, OpenAI, Anthropic, plus OAuth-logged-in openai-codex and grok), switching at runtime with /provider while the tool set, slash commands and session log stay identical. Built-in tools cover reading, editing, grep, shell, test runs and anything an MCP server exposes, and every mutating call is approval-gated with a diff preview. Beyond the chat loop it ships workflow features: /plan drafts a spec and a low/medium/high task graph, /iterate runs a generate→evaluate loop judged by a separate read-only critic, /auto runs that loop unattended under a budget and deadline, /undo reverts a turn's file mutations, and /path fork branches a session. The crate also exposes an embeddable Rust SDK (albatross_cli::sdk::AgentBuilder / AgentSession) alongside extensions, npm/Git resource packages and Agent Skills.
On launch Albatross resolves configuration from built-in defaults, agent.config.json, .env/.env.local, process environment and runtime slash commands, then selects one backend and model. The model can call read-only tools (file_read, grep, list_dir, glob, repo_search) and mutating ones (file_write, file_edit, apply_patch, batch_edit, shell); the latter follow an always / dangerous-only / never approval policy that shows a diff and caches allow-once, session-allow or always-allow decisions. Each turn prints token counts plus per-turn and running session cost — $0.00 for local backends, $? with a ≥ session prefix when a cloud model does not report price. /route select <task> sends the task and the configured modelSystem candidates to a selector model and prints a candidate scoreboard with eligibility, estimated turn cost, score, warnings and policy exclusions before switching the live session; receipts land in .albatross/routes.jsonl. /plan route <goal> has the planner emit a task graph to .albatross/plan.json, and /plan execute runs ready nodes through the low/medium/high coder tiers. /iterate and /auto score each pass with a separate read-only critic via the critique tool, while the harness — not the generator — computes the weighted total and pass/fail. Workspaces can additionally load MCP servers (tools surfaced as mcp__<server>__<tool>), trusted JSON-RPC extension processes, npm/Git resource packages and standard SKILL.md bundles.
- A developer running a 7B-class coder locally who does not want source leaving the machine: point it at Ollama or llama.cpp and use the same tools and commands.
- Someone who wants to A/B a local answer against a frontier model inside one session:
/comparere-sends the last prompt through OpenRouter, and/fusion onswitches to the deliberation alias. - A team that needs cost guardrails:
/route selectcombines withmaxTurnUsd,localOnly,unknownCostandminConfidenceinmodelSystem.policy, and every decision is written to a receipt ledger. - A long-running task that would blow the context window:
/planwrites the spec, then/auto --spec --budgetkeeps iterating and auto-resets when the window fills. - A team already shipping through GitHub CLI:
/shipcheck,/ship commit|push|prand/scorecardclose the local commit-to-PR loop with a quality record. - A Rust engineering team embedding the loop in its own service via
albatross_cli::sdk::AgentBuilder, with streaming events, snapshots, cancellation and approvals.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
brew install morganlinton/tap/albatrosscargo install albatross-clibrew install ollama
- Environment variables
ANTHROPIC_API_KEYOPENAI_API_KEYOPENROUTER_API_KEY- Config files
agent.config.json~/.config/albatross/auth.json- Runtime
- Rust 1.86+
- Install notes cover
- macOS
How do you install or deploy this agent?
On macOS, install with Homebrew:
brew install morganlinton/tap/albatrossOn any platform with Rust 1.86+, install through Cargo (this provides the albatross binary):
cargo install albatross-cliOr build from source:
git clone https://github.com/morganlinton/Albatross.git
cd Albatross
cargo build --release # binary at target/release/albatrossFor local models, start an inference server and pull a coder model (Ollama shown here):
brew install ollama
brew services start ollama
ollama pull qwen2.5-coder:7bFor cloud models, supply a key, for example:
export ANTHROPIC_API_KEY=sk-ant-...
# or OPENAI_API_KEY / OPENROUTER_API_KEYHow do you use this agent?
The first launch runs a short wizard that writes agent.config.json (provider, model, approval policy); every later launch opens straight into a session.
albatrossFrom a source checkout without installing, use cargo run --release. Skip the wizard with ALBATROSS_NO_WIZARD=true. To keep keys out of your environment, run /auth set anthropic (or openai / openrouter) inside the TUI; the key is stored in ~/.config/albatross/auth.json at mode 0600. Ollama is the default backend, so the local path needs nothing else:
> what files are in src/?
> add a function in src/util.rs that lowercases a string and trims itCommands worth knowing inside a session:
/provider ollama # switch backends at runtime; tools and log stay the same
/model qwen2.5-coder:14b # pick a model; add --default to persist it
/route select add OAuth login with refresh and tests
/plan route add retry logic to web_fetch
/plan execute --max 2
/undo # revert the last turn's file mutations
/shipcheck # summarize git and test readiness
/doctor --deep # probe backend, streaming and tool-call capabilityFor scripts and CI, one-shot mode denies approval-gated tools unless you opt in:
albatross --print "summarize this repo"
albatross --print "fix the failing test" --allow-toolsProject defaults live in agent.config.json at the repo root. For example, to attach an MCP server (trust it once with /mcp trust fs):
{
"mcpServers": {
"fs": {
"command": "/usr/local/bin/some-mcp-server",
"args": ["--root", "/tmp"],
"env": { "TOKEN": "abc" }
}
}
}Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- One tool set, command surface and session log across local and cloud backends, so
/providermid-session does not force a workflow rewrite. - Routing is auditable:
/route selectprints candidate scores, cost estimates, confidence and exclusions, and receipts land in.albatross/routes.jsonlfor/route explain|history|spend|report. - Generator and evaluator are kept apart:
/iterateand/autograde through a separate read-only critic, and the harness computes the weighted total and pass/fail. - Safety defaults are concrete: diff previews plus allow-once/session/always caching on mutating calls, and hash-based trust flows for MCP servers, extensions and hooks.
- MIT-licensed Rust with two delivery paths — a CLI and an embeddable
albatross_cli::sdkfor in-process sessions.
- Every backend is yours to run: Ollama, LM Studio, MLX and llama.cpp each have different ports and start commands, and connection failures are the most common first-day issue.
- The Anthropic path is API-key only; the README states there is no Claude.ai OAuth or Pro/Max/Team/Enterprise subscription allowance, so Claude usage is billed per token.
- The configuration surface is large (
modelSystem,hooks,scorecard,rubric,auto,paths), so routing and iteration pay off only if someone actually reads the docs. - Compaction-model grading,
/iteratescoring and/resethandoff drafts default to a local backend; mixing in cloud requiresrubric.allowCloudor--cloud, which narrows the feature set otherwise. - There is no IDE extension — the interface is a terminal TUI, which is a real adoption cost for teammates who work in a GUI editor.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Albatross This agent | 56 · Major gaps | — | ★ 229 | 3mo ago | Rust | ChatGPT · Codex · OpenAI API · Claude API |
| little-coder: Lightweight Local Coding Agent | 72 · Some gaps | CLIFree + model costs | ★ 2.7k | 2mo ago | TypeScript | — |
| hax | 66 · Some gaps | CLIFree + model costs | ★ 1k | 1d ago | C | OpenAI API · Claude API |
| Linghun | 52 · Major gaps | CLIFree + model costs | ★ 445 | 16d ago | TypeScript | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
README concretely documents approval policies (always/dangerous-only/never), diff previews before every mutation, allow once/session/always caching, /undo reverting the last turn's file mutations including created and untracked files, /auth storing keys in a 0600 auth.json, shell stripping hydrated API-key env vars from child processes, and CI running cargo audit. These earn 2 for least_privilege, user_confirmation, data_flow_transparency, sensitive_data_handling, dependency_security, and rollback. external_effects is only 1: /ship push, /ship pr, /plan execute --yolo, and /auto autonomous runs are mentioned but there is no clear evidence they are off by default or gated by explicit confirmation. source_attribution is only 1: README references pi and the Claude Agent SDK but gives no attribution for third-party code or data.
self_consistency scores 2: the provider table, default-model table, command list, and Cargo.toml package name/version/license are mutually consistent. dependency_availability is only 1: Cargo.toml uses loose version requirements (tokio "1", reqwest "0.12", etc.) with no pinned versions and no Cargo.lock evidence in the provided files, so build reproducibility cannot be confirmed. failure_messages is only 1: README mentions /doctor, /doctor --deep, and a $? marker for unknown cost, but provides no concrete error-message examples or failure-handling detail.
audience_and_scenarios scores 2: README targets terminal developers and covers local/cloud, multiple providers, MCP, and an SDK. capability_boundaries scores 2: it states one provider at a time, that Anthropic offers no subscription login, and distinguishes openai-codex/grok from API-key paths. trigger_precision is only 1: /route, /fusion, and /plan route describe behavior loosely without precise rules for when they auto-trigger versus require manual invocation. environment_fit scores 2: it lists macOS Homebrew, Cargo, and source builds plus Ollama/LM Studio/MLX/llama.cpp ports and start commands, but the release workflow only builds macOS targets and Linux/Windows support is unstated.
information_architecture scores 3: README has a clear table of contents, anchor navigation, and well-structured section tables. install_notes scores 2: Homebrew, Cargo, and source installs are given with the Rust 1.86+ requirement, but uninstall and upgrade guidance is missing. naming_stability scores 2: /provider with /backend alias and /model --default are stable, but the very large command surface includes near-duplicates (/ship vs /shipcheck, /scorecard vs /play score) that risk confusion. examples_and_faq scores 2: there is a first-session example, a command list, and a troubleshooting anchor, but no standalone FAQ content. known_limitations is only 1: only scattered notes (one provider at a time, Grok not scraping the full model list) with no consolidated limitations section. license scores 3: the LICENSE file is the full MIT text and matches Cargo.toml and the badge. versioning_changelog is only 1: Cargo.toml is at 2.4.0 and the release workflow publishes on tags, but there is no CHANGELOG file. maintenance_responsibility is only 1: the publisher is unverified and there is no maintainer, support channel, or security-disclosure policy.
output_usability scores 2: README shows diff previews, a cost status line, and session export as usable outputs. marginal_value scores 2: multi-model routing, /undo, /path fork, and /iterate differentiate it from generic coding agents, but no quantified comparison against alternatives is given. cost_benefit scores 2: per-turn/session cost display and a free local path exist, but token budgets, rate limits, or cost caps are not concretely documented.
claim_traceability is only 1: many functional claims (Fusion, routing scores, SDK) lack code-path or test references and cannot be traced statically. cross_source_corroboration is only 1: README, Cargo.toml, and CI agree on version and license, but functional claims lack multi-source corroboration. fact_inference_separation is only 1: README mixes factual descriptions with marketing phrasing ("No black box", "fully transparent") without separating verified facts from inference.
- Publisher identity is unverified; maintenance responsibility, update path, and security-disclosure channel cannot be confirmed.
- Cargo.toml dependencies are unpinned and no Cargo.lock is shown, so build reproducibility and supply-chain risk cannot be statically confirmed.
- The release workflow only builds macOS targets; Linux/Windows support and install paths are unstated.
- Default-off behavior and confirmation gating for external-effect commands (/ship push, /ship pr, /plan execute --yolo, /auto) lack clear evidence.
- Functional claims (Fusion, routing scores, SDK) lack code-path or test references and cannot be traced statically.
- No CHANGELOG and no consolidated known-limitations section.
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.