get-bb/bb
Self-hostable agent IDE for steering coding threads from desktop, web, CLI, or API
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
bb is a TypeScript agent IDE organized as a pnpm/Turbo monorepo, with apps/, packages/, and plugins/ at the root. The thread is the unit of work: users can follow execution live, intervene, or hand the thread to another agent. The desktop, web, CLI, and HTTP API are all control surfaces. Execution uses an already authenticated provider CLI, so provider authentication is separate from launching bb.
In development, the Vite frontend proxies API and WebSocket traffic to a separate server. The Electron development shell connects to that running app rather than starting an independent frontend. In pnpm start:worktree, the bb server serves the optimized frontend and runtime artifacts without Vite hot reload. The installation path depends on native SQLite, PTY, and file-watcher bindings. Plugins can come from bundled or marketplace entries as well as local, Git, and npm sources; a stable plugin ABI or specific MCP server/client behavior is not established here.
Key Capabilities & Differentiators
bb's useful distinction is that agent execution remains visible and steerable after launch: an operator can follow a thread as work progresses, redirect it, or pass it to another agent. The bb command can be installed onto PATH from application settings for external control, and the HTTP API gives other tools a separate integration path. These are ways to drive bb, not guarantees that every provider can resume every other provider's session.
Provider access is based on compatible, independently authenticated CLI tools. Do not make a purchase or migration decision on a presumed list of model families, versions, or cross-provider handoff guarantees; test the exact CLI and handoff flow you intend to use. For contributors, checkout-specific data and deterministic ports allow several source worktrees to run beside the packaged app. pnpm dev is the iterative loop; pnpm start:worktree tests the built serving path without sharing production data or ports.
Trade-offs & Limitations
Compared with considering Cursor or Windsurf as the team's primary editor, evaluate bb first as a self-hostable control layer for coding agents. It is a good fit when operators need to inspect work in a UI and control it from a shell or service. The trade-off is more integration work: teams must keep provider CLIs working, account for native add-ons, and validate platform support. The core architecture is stable, but workflows and surfaces are still evolving, and Linux and Windows desktop builds are alpha.
The MIT license gives teams room to modify and redistribute bb under its notice conditions. Self-hosting bb does not make model inference offline or eliminate provider fees, terms, or data-handling obligations; those depend on the provider setup. Production desktop, npm, and pnpm start runs send usage telemetry by default, with an opt-out through BB_TELEMETRY=false. In restricted environments, assess provider traffic and third-party plugin code separately from bb telemetry.
Hardware & Deployment Guide
On Apple Silicon macOS, start with the stable desktop build. On Intel macOS, use npx bb-app@latest and open http://localhost:38886. Linux x64 AppImage and Windows x64 installer builds are alpha. Native Windows requires Git for Windows; WSL2 offers a separate route by running the npx command inside the Linux shell. Source checkouts require Node.js 22.19 or newer and pnpm 9.15.0 on PATH. Enable Corepack, install dependencies with pnpm install, then use pnpm dev or pnpm start:worktree as appropriate.
On npm 12 or later, blocked dependency scripts can leave native bindings missing. If that is the cause, use the scoped command npx --allow-scripts=better-sqlite3,node-pty,@parcel/watcher bb-app@latest rather than broadly enabling install scripts. Desktop release desktop-v0.51.0 is listed alongside the separate desktop-latest and desktop-nightly channels. Nightly can coexist with stable and has its own application identity and update feed; use it for early testing, not as a substitute for validating stable on the intended platform.
better-sqlite3, node-pty, and @parcel/watcher need working native bindings; npm 12+ may require scoped install-script approval.BB_TELEMETRY=false opts out, while pnpm dev and pnpm start:worktree do not send them.Teams already using authenticated provider CLIs that want a self-hosted way to follow agent work live, intervene through a UI, and drive bb from scripts or services.
You require offline inference out of the box, a mature native Linux or Windows desktop deployment, or a drop-in replacement for your current editor without workflow validation.
Quick Start & Installation
npx bb-app@latestComparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| bb ★ | 6.4k | +324 | TypeScript | MIT | Self-hostable agent IDE for steering coding threads from desktop, web, CLI, or A |
| openinterpreter | 69k | +65 | Rust | Apache-2.0 | A Rust coding CLI with swappable harnesses for low-cost models |
| oh-my-pi | 40.5k | +483 | TypeScript | MIT | A Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat |
| cline | 72.1k | +116 | TypeScript | Apache-2.0 | Shared coding-agent engine for IDEs and terminals, with pluggable models and MCP |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/get-bb/bb.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about bb
How do I connect a provider and control bb from outside the UI?
bb CLI for external control. Install the bb command from Settings → General → Command line; bb-app is the package used to launch the application.Does the bb host need a GPU, and how should I size it?
Can a company self-host or redistribute bb?
BB_TELEMETRY=false and verify provider data handling and network access independently.When should I choose bb over Cursor or Windsurf?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy