bbarit-oss
An open-source terminal AI coding agent: one Rust binary, 15+ providers, 1,000+ models, self-hostable.
- Source repo
- bbarit/bbarit-agent-oss
- Stars
- ★ 150
- Last updated
- 3mo ago
- License
- NOASSERTION
- Primary language
- Rust
- FA score
- 57/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformChatGPT · Codex · Claude Code · OpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Developers who live in the terminal and want to switch between Claude, GPT, Gemini and local Ollama models with one command set.
- Not a fit if
- Teams that need a GUI IDE plugin rather than a terminal TUI
- Users unwilling to supply LLM API keys or run local Ollama
- Anyone needing a native Windows ARM binary (x64 only)
- Website
- bbarit.com ↗ set on GitHub
- Maintenance
- Commits in the last 6 monthslast commit 2026-07-21latest release v0.1.21 (2026-07-21)
- Source review
- 57/100 · Major gaps
What does this agent do, and when should you use it?
bbarit-oss is a terminal-native AI coding agent distributed as a single static Rust binary with no Node or Python runtime to install. A unified model registry covers Anthropic Claude, OpenAI GPT/Codex, Google Gemini/Vertex, OpenRouter, Groq, Mistral, Together, Fireworks, DeepSeek, Cerebras, Amazon Bedrock, GitHub Copilot and local Ollama models — 15+ providers and 1,000+ models, switchable mid-session. At runtime it drives an iterative assistant → tool call → tool result loop, autonomously invoking read/write/edit, bash, grep/find/tree, bundled semble hybrid BM25 + semantic code search, web_search/web_fetch and task sub-agents. Beyond the interactive TUI it offers one-shot --print output, a --mode json event stream and --orchestrate multi-process parallel sub-agents. It ships 295 personas across 30 domains, qwen-code-derived cross-session auto-memory, a per-project markdown wiki, and an opt-in /interop mode that reuses Claude Code and Codex MCP servers and skills read-only. All credentials, sessions and memories live under ~/.bbarit-oss/agent/, and code and keys only reach the provider you pick; MIT licensed.
Launching bbarit-oss opens a full-screen TUI in the current directory; with no credentials it opens a login picker where /login <provider> completes OAuth or accepts an API key. You issue natural-language instructions, and the agent loops: call the LLM, parse its tool calls, execute read/write/edit (hash-checked targeted edits), bash commands, gitignore-aware grep/find/ls/tree, code_search (semble's hybrid BM25 + semantic retrieval), web_search/web_fetch, or spawn a focused sub-agent via task — until the model returns a final answer with no further tool calls. Before each turn src/memory.rs scores stored memories by keyword overlap and injects the most relevant ones with no extra LLM call; after the turn a background --print sub-agent extracts user/feedback/project/reference facts into <slug>.md files and a MEMORY.md index. The wiki tool's get/set/list/search/delete actions maintain per-project markdown pages under ~/Documents/octo-notes, scoped so one project's notes never leak into another's prompt. Sessions are stored as JSONL trees supporting fork/clone/resume and self-contained HTML export. --print keeps stdout to the final answer only, --mode json emits session/agent_start/message_update/turn_end/agent_end events, and --orchestrate runs each task as an independent sub-agent process in parallel.
- Developers who live in the terminal and want to switch between Claude, GPT, Gemini and local Ollama models with one command set.
- Teams with MCP servers and skills already wired into Claude Code or Codex who want a lighter single-binary tool without re-registering anything (enable /interop).
- Security-sensitive teams that must run the agent offline or on an internal network with local models via Ollama.
- Engineers embedding a coding agent in scripts or CI: clean stdout via --print, structured NDJSON via --mode json.
- Individuals or small teams that want several subtasks — auditing, test writing, doc updates — running in parallel with --orchestrate.
- Review workflows that need the agent constrained to a specialist role and forbidden from mutating files (--persona with %%mode=readonly).
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://bbarit.com/agent/install.sh | shirm https://bbarit.com/agent/install.ps1 | iex
- Environment variables
BBARIT_INSTALL_DIRANTHROPIC_API_KEYOPENAI_API_KEYGEMINI_API_KEYOPENROUTER_API_KEYOLLAMA_HOST- Config files
~/.local/bin- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
One-line install on macOS / Linux (installs to ~/.local/bin; override with BBARIT_INSTALL_DIR):
curl -fsSL https://bbarit.com/agent/install.sh | shOne-line install on Windows PowerShell (installs to %LOCALAPPDATA%\Programs\bbarit-oss and adds it to your user PATH):
irm https://bbarit.com/agent/install.ps1 | iexBuilding from source requires a stable Rust toolchain:
# install Rust first: https://rustup.rs
git clone https://github.com/bbarit/bbarit-agent-oss
cd bbarit-agent-oss
cargo build --release
./target/release/bbarit --helpSupported platforms: macOS (arm64/x64), Linux (x64/arm64), Windows (x64; Windows-on-ARM runs the x64 binary under emulation). Prebuilt binaries are also on the releases page.
How do you use this agent?
Start the interactive TUI from your project directory; on first launch with no credentials the login picker opens automatically:
cd my-project && bbarit-ossOr log in and pick a model explicitly (Anthropic uses an API key; browser OAuth is disabled):
/login anthropic sk-ant-api03-...
/login openai-codex
/model claude-sonnet-5For scripts, use one-shot mode where stdout carries only the final answer:
bbarit-oss --print --no-session \
--provider anthropic --model claude-sonnet-5 \
"Explain what this repo does in one paragraph"Parallel sub-agents and structured events:
bbarit-oss --orchestrate "audit auth.rs for bugs" "write tests for parser.rs" "update the README"
bbarit-oss --mode json "summarize the build scripts"Handy flags include --thinking low|medium|high, --persona <id>, -t/--tools allowlist, --no-tools, --append-system-prompt and --upgrade. API keys resolve in order --api-key → stored /login credentials → provider config → environment variables; you can also set ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, OPENROUTER_API_KEY and others. For fully offline use, point it at Ollama (auto-discovered from OLLAMA_HOST).
What are this agent's strengths and limitations?
- One static Rust binary with no Node/Python runtime, instant startup, cross-compiled for macOS/Linux/Windows and self-updating in place via --upgrade.
- Provider-agnostic by design: 15+ providers and 1,000+ models in one registry, switchable mid-session with /model, including local Ollama models for offline work.
- Bundled semble hybrid BM25 + semantic code search, qwen-code-derived cross-session auto-memory and a per-project markdown wiki cut repeated exploration cost.
- /interop reuses ~/.claude.json, ~/.claude/skills, ~/.codex/config.toml and ~/.codex/skills read-only, so existing MCP servers and skills work without re-registration — and it is off by default to keep fresh installs lean.
- Three programmatic interfaces — --print (clean stdout), --mode json (NDJSON events) and --orchestrate (parallel sub-agent processes) — make it embeddable in scripts and CI.
- The license field reports NOASSERTION; the README claims MIT and credits Pi (MIT), qwen-code (Apache-2.0) and the AgentLand persona library, so the actual terms need checking against LICENSE/NOTICE/PROVENANCE.md.
- Windows ships only an x64 binary (ARM devices run under emulation), and the project is maintained by a single organization with limited evidence of third-party ecosystem maturity.
- Its value depends on external LLM providers or a local Ollama install; you bear model costs, and the Anthropic path does not support browser OAuth — API key only.
- Persona injection, auto-memory and the project wiki add system-prompt and context overhead, and memory extraction still spends background sub-agent calls even with /interop off.
- Extension (JS/TS) and LSP support are only sketched in the README with no detailed API docs or examples; the claimed .pi config compatibility still needs verification.
How does this agent compare with similar options?
The README explicitly positions itself as a self-hostable, provider-agnostic alternative to Claude Code, Codex CLI and Gemini CLI, with a feature-by-feature table covering open source status, language/runtime, multi-provider support, local models, built-in personas, semantic code search, cross-session memory, project wiki, parallel sub-agents, reuse of Claude/Codex MCP and skills, MCP support and self-update. It also states the design is based on Pi (MIT, TypeScript/Node), rewritten in Rust to keep Pi's small core while adding the orchestrator, wiki, personas, auto-memory and interop that Pi lacks, with exact measured source overlap disclosed in PROVENANCE.md.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| bbarit-oss This agent | 57 · Major gaps | CLIFree + model costs | ★ 150 | 3mo ago | Rust | ChatGPT · Codex · Claude Code · OpenAI API · Claude API |
| Aster | 70 · Some gaps | CLIFree + model costs | ★ 139 | 10d ago | Rust | OpenAI API |
| zerostack | 69 · Some gaps | CLIFree + model costs | ★ 1.8k | today | Rust | OpenAI API · Claude API |
| VT Code | 63 · Some gaps | CLIFree + model costs | ★ 907 | 1d ago | Rust | OpenAI API |
How does FollowAgents rate this agent?
Why each dimension lost points
The README lists broad capabilities including file access and edits, bash, web access, sub-agents, and optional computer control. Tool allowlists, disabling tools, project trust, and read-only personas provide some constraints, so least privilege and confirmation are not shown as comprehensively fine-grained. The README says users supply keys, interop is off by default, and foreign configs are read-only, but gives limited detail on key storage, transmission, and retention. The release workflow disables SSH host-key checking during deployment, weakening external-effect controls. Session retention and update paths are described, but no rollback plan is shown. LICENSE, NOTICE references, and source descriptions support partial attribution; publisher identity remains unknown.
lib.rs shows CLI branches, propagated errors, and interactive-loop error output, but the supplied snippets cannot fully corroborate the documented feature set. Cargo.toml lists registry and vendored dependencies, and CI uses locked build and test commands; specific evidence for dependency availability, vulnerability response, or supply-chain verification is limited. Errors are generally returned through anyhow or printed, with no demonstrated systematic recovery guidance.
The README clearly targets terminal coding, scripts, and parallel tasks, with TUI, print, JSON, provider/model selection, tool restrictions, and multi-platform installation. It also marks some capabilities as optional or disabled and discloses that Anthropic browser OAuth is unavailable and interop is off by default; complete permission boundaries, network behavior, and model-specific limitations are not established. A Rust binary and local Ollama option suit varied environments, though supported targets and runtime conditions are only partly documented.
The README provides a table of contents, installation instructions, quick start, commands, and FAQ navigation, with reusable examples. Platform, architecture, provider, and configuration notes help, but the supplied README ends mid-section, so the remainder of installation guidance, limitations, and FAQ cannot be assessed. Cargo.toml has a version, and CI and release workflows show a release process, but no changelog or clear maintainer responsibility is included. The complete MIT license and attribution notes for Pi and persona material make licensing comparatively clear.
The product offers TUI, plain-text output, structured JSON events, and optional session handling for human and programmatic use, with tools for editing, search, shell work, and subtasks. A single binary, multiple providers, memory, wiki, and personas may provide practical value, but benefits and resource costs are mostly project claims; persistent auto-memory also requires user judgment.
The README links major claims to CLI, license, NOTICE, provenance, and contribution materials, while Cargo.toml, lib.rs, and workflows corroborate parts of the implementation, dependencies, and release process. Several performance, privacy, model-count, and provenance-overlap claims lack independent support in the packet. The documentation and source excerpts do not cover the whole product, and facts are not always clearly separated from inference.
- The agent can run shell commands, modify files, and access the web autonomously; review enabled tools and project-trust settings before use.
- The release workflow disables SSH host-key checking, weakening verification of the deployment host.
- Although the README says keys and code stay local, prompts and relevant context are sent to the selected remote provider when one is used; assess data boundaries based on the provider and configuration.
- The supplied README is incomplete, and full dependency-security and rollback details are absent; this assessment does not imply execution or independent verification.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Full Changelog: https://github.com/bbarit/bbarit-agent-oss/compare/v0.1.20...v0.1.21View on GitHub ↗ -
Release notes excerpt
Full Changelog: https://github.com/bbarit/bbarit-agent-oss/compare/v0.1.19...v0.1.20View on GitHub ↗ -
Release notes excerpt
Full Changelog: https://github.com/bbarit/bbarit-agent-oss/compare/v0.1.18...v0.1.19View on GitHub ↗
FAQ
Does it cost anything to use?
Where do my keys and code go?
Will it automatically pick up my Claude Code / Codex MCP servers?
Can auto-memory store things I don't want kept?
Which platforms are supported?
Does bbarit-oss work on Windows?
irm https://bbarit.com/agent/install.ps1 | iex.Is bbarit-oss open source?
Is bbarit-oss safe to use?
Is bbarit-oss still maintained?
Who makes bbarit-oss?
What is bbarit-oss's official website?
Thanks — we use this to improve the page.