bb-app
v0.0.10
Published
bb app launcher for npx
Maintainers
Readme
bb
bb is an agentic IDE that can control itself. You can seamlessly orchestrate all of your favorite coding agents together and have them programmatically use bb too.
This package provides the npx bb-app launcher. Every surface — the web
app, CLI, and HTTP API — is a first-class way to drive bb. Work runs in
threads you can follow live, steer at any point, or hand off to another
agent.
Note: bb is in active development. Workflows and surfaces are still evolving.
Quick Start
bb runs from npm and orchestrates coding agents you already have installed.
Prerequisites
- Node.js
22.12.0or newer. Node20.19.xalso works. - Git.
- At least one supported agent provider: Claude Code, Codex, or Pi.
If you already use one of these providers, bb will pick up your existing credentials. If you use all three, you can mix and match per task.
Supported host environments
- macOS
- Linux
Run all bb commands inside WSL2, install Node.js, Git, and your provider CLIs
inside that WSL2 distro, and use Linux-style paths such as /home/me/repo or
/mnt/c/Users/me/repo.
Native Windows PowerShell, CMD, drive-letter paths, and UNC paths are not
supported product paths. Repos inside the WSL filesystem are recommended;
/mnt/c/... is intentionally supported so you can keep an existing Windows
checkout, but it is slower and less reliable for file watching.
Install and run
npx bb-app@latestThen open: http://localhost:38886
npx bb-app@latest downloads the published bb-app package, starts the server and
local host daemon, and serves the web app. It stores bb-managed state under
~/.bb/ by default. Press Ctrl+C in the terminal to stop both processes.
From the app, add or open a project, start a thread, and choose the provider you want that thread to use.
Provider Credentials
bb uses whichever providers you have configured. If you need to set one up:
| Provider | Setup |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| codex | Install the Codex CLI. Then run codex login or configure credentials per the Codex docs. |
| claude-code | Install Claude Code and authenticate per its docs. |
| pi | See the Pi coding agent docs. Run pi and then /login for interactive setup. |
Configuration
Use bb-app config for persistent non-secret package settings under
~/.bb/config.json:
npx bb-app config set BB_APP_URL http://<machine>.<tailnet>.ts.net:38886
npx bb-app config set BB_INFERENCE codex/gpt-5.4-mini
npx bb-app config set BB_TRANSCRIPTION codex/gpt-4o-mini-transcribe
npx bb-app config list
npx bb-app config refreshUse bb-app env for provider credentials under ~/.bb/env.json:
npx bb-app env set OPENAI_API_KEY <key>
npx bb-app env list
npx bb-app env unset OPENAI_API_KEYenv list redacts all values. Config and env writes ask a running local bb
server to reload; if bb is stopped, the values apply on the next start.
For all config keys, precedence, startup flags, and source-development .env
behavior, see the
configuration docs.
