selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

bbarit-oss logo

Self-host bbarit-oss

v0.1.21

Terminal-native AI coding agent as a single Rust binary

BetaOpen SourceOther
Updated3 months ago
LanguageRust
Setup difficultyEasy
Stars
149
Install with macOS
bbarit-oss demo showing the agent writing and running code in the terminalbbarit-oss building a landing page in the terminal, then showing the finished result

What is bbarit-oss?

bbarit-oss is a terminal-based AI coding assistant delivered as one self-contained Rust executable that requires no separate runtime. It works with more than fifteen LLM providers — including Anthropic, OpenAI, Google, OpenRouter, and local models through Ollama — covering over a thousand models from a single registry. The agent can read and write files, execute shell commands, search code semantically, retrieve web pages, and launch parallel sub-agents on its own. It includes 295 ready-made specialist personas spanning 30 fields, automatic cross-session memory that captures lasting facts, a per-project wiki for durable codebase knowledge, and support for MCP, LSP, and custom skills. A toggle lets it reuse MCP servers and skills already configured in Claude Code or Codex. You install it with one curl command on macOS or Linux, one PowerShell line on Windows, or grab a binary from GitHub releases. The code is MIT licensed and runs entirely on your hardware; nothing phones home.

Should you self-host bbarit-oss?

bbarit-oss scores 45/100 on selfhost.directory (how scoring works) and ranks #66 of 120 in AI Assistant. It has 149 GitHub stars.

It shipped 10 stable releases in the past year. The latest, v0.1.21, came out on 21 July 2026.

Setup is easy: most people get it running in one sitting. It is Other-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is Theia IDE (59/100, 613 stars). It scores higher overall, so compare the two before you pick. See bbarit-oss vs Theia IDE side by side.

Features

  • 295 built-in personas
  • Claude Code & Codex interop
  • Cross-session auto-memory
  • LSP integration
  • MCP server support
  • Multi-Provider LLM Support
  • Offline/local model support
  • Parallel sub-agents
  • Project wiki
  • Self-update
  • Semantic code search
  • Session Management
  • Single static binary
  • Skills & Extensions
  • TUI with themes

bbarit-oss README

How to install bbarit-oss

Install bbarit-oss with macOS

Environment variables
BBARIT_INSTALL_DIR

Downloads prebuilt binary for platform and installs to ~/.local/bin (override with BBARIT_INSTALL_DIR)

How to configure bbarit-oss

  • ANTHROPIC_API_KEYAnthropic Claude API key

    Anthropic Claude API key

  • BBARIT_AUTO_CONTEXTDisable start-of-turn code-context injection (set to 0)

    Disable start-of-turn code-context injection (set to 0)

    values: 0, 1

  • BBARIT_AUTO_MEMORYDisable auto-memory recall/extract (set to 0)

    Disable auto-memory recall/extract (set to 0)

    values: 0, 1

  • BBARIT_AUTO_UPGRADEAutomatically upgrade at launch (set to 1)

    Automatically upgrade at launch (set to 1)

    values: 0, 1

  • BBARIT_INSTALL_DIROverride the installation directory for the binary

    Override the installation directory for the binary

  • BBARIT_INTEROP0Enable reuse of Claude Code/Codex MCP servers and skills (set to 1)

    Enable reuse of Claude Code/Codex MCP servers and skills (set to 1)

    values: 0, 1

  • BBARIT_NO_UPDATE_CHECKTurn off background update check (set to 1)

    Turn off background update check (set to 1)

    values: 0, 1

  • BBARIT_PERSONAStartup persona ID

    Startup persona ID

  • BBARIT_UPDATE_BASEOverride the update/install server URL

    Override the update/install server URL

  • GEMINI_API_KEYGoogle Gemini API key

    Google Gemini API key

  • OLLAMA_HOSTOllama host for local models (auto-discovered)

    Ollama host for local models (auto-discovered)

  • OPENAI_API_KEYOpenAI API key

    OpenAI API key

  • OPENROUTER_API_KEYOpenRouter API key

    OpenRouter API key

bbarit-oss releases & version history

FAQ

Does it phone home?

No, your API keys and code stay on your machine.

Is my code private?

Yes, your keys and code stay on your machine and go only to the provider you choose. It is fully self-hostable; nothing routes through the vendor.

How do I install it on Windows?

One line in PowerShell: irm https://bbarit.com/agent/install.ps1 | iex — installs to %LOCALAPPDATA%\Programs\bbarit-oss and adds to PATH.

Is it free?

The agent is free and open source (MIT). You only pay your own LLM provider or run a local model for $0.

Can I use it with a local model / offline?

Yes, point it at Ollama (/ollama) to run entirely on your machine with no API key and no data leaving your computer.

Which LLM providers are supported?

Anthropic Claude, OpenAI (GPT + Codex), Google Gemini/Vertex, OpenRouter, Groq, Mistral, Together, Fireworks, DeepSeek, Cerebras, Amazon Bedrock, GitHub Copilot, and local models via Ollama — 15+ providers, 1,000+ models.

Is it related to Pi?

Yes, its design is based on Pi (MIT). It is an independent Rust rewrite with exact measured source overlap and differences published in PROVENANCE.md.

How is this different from Claude Code / Codex CLI / Gemini CLI?

It is open source, model-agnostic (any provider or local model), and ships as a single Rust binary with no runtime.

More in CLI Tools

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…