# Repository Briefing: get-bb/bb
> Source: https://repoforai.com/repo/get-bb/bb (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/get-bb/bb
- **Official Docs / Website**: https://getbb.app
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (97/100 · Maintenance 35/35 · Adoption 22/25 · Releases 20/20 · License 20/20)
- **Latest Release**: desktop-v0.51.0 (2026-12-02) — https://github.com/get-bb/bb/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Self-Hosted, CLI, API
- **Momentum**: 6,397 ★ total (+45 24h / +324 7d) · 905 forks
- **Topics**: `ade`, `agent-ide`, `claude-code`, `codex`, `devtools`, `ide`
- **When to Use**: Best for: 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. Skip if: 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.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Control surfaces: Desktop, web, CLI, and HTTP API operate bb; threads support live follow-along, steering, and handoff.
- Provider integration: Uses a separately authenticated provider CLI rather than an embedded inference engine.
- Native runtime: `better-sqlite3`, `node-pty`, and `@parcel/watcher` need working native bindings; npm 12+ may require scoped install-script approval.
- Development isolation: Checkout-specific data directories and ports let source worktrees coexist with the packaged app.
- Desktop support: Apple Silicon is the recommended desktop path; Linux x64 and Windows x64 builds are alpha.
- Telemetry control: Production sends usage events by default; `BB_TELEMETRY=false` opts out, while `pnpm dev` and `pnpm start:worktree` do not send them.
```

## Quick Start / Clone
```bash
npx bb-app@latest
```
