bb

作者 get-bb已验证

The agent IDE that builds itself

2,560
Stars
300
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/get-bb/bb

快速入门

使用 bb 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

bb

bb

npm version Join Discord

bb is an agentic IDE that builds itself. It can control, customize, and automate itself, laying the groundwork for your own software factory.

Every surface — the desktop app, 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. Core architecture is stable, but workflows and surfaces are still evolving.

bb desktop app showing a code review thread, dispatch panel, and task board

Use bb

Download the desktop app

The recommended way to start using bb is the desktop app:

Download the latest desktop app

The desktop app supports macOS on Apple Silicon (arm64). The Linux x64 AppImage is alpha: expect problems, and please report them. Intel Mac users should run bb with npx instead. On Windows, run bb inside WSL2 (Windows Subsystem for Linux): install WSL2 first, then run the same npx command below from your WSL2 (Linux) shell. Native Windows PowerShell and CMD are not supported.

Early adopters can install bb Nightly alongside the stable desktop app. It has a separate application identity, yellow icon, and auto-update feed.

Or run it anywhere with npx

npx bb-app@latest

Then open http://localhost:38886.

To run the newest automated build instead:

npx bb-app@nightly

npm 12 and later block dependency install scripts by default. bb needs those scripts to build its native add-ons. If your npm version is 12 or later, allow the scripts for the install:

npx --allow-scripts=better-sqlite3,node-pty,@parcel/watcher bb-app@latest

Or set the policy once for all global installs:

npm config set allow-scripts=better-sqlite3,node-pty,@parcel/watcher --location=user

bb uses the provider CLI you already have authenticated.

For install requirements, provider setup, configuration, and package-focused docs, start with packages/bb-app.

Telemetry

Production runs (the desktop app and npx bb-app) send anonymous usage telemetry (app starts, thread creation counts, user message counts, and plugin installs) to help us understand adoption. Identification is a random per-install id stored in your data dir — no user, host, project, workspace, or message content is ever attached. Plugin install events name only public plugins (bundled plugins and bb-community marketplace entries); installs from a local path, a private git or npm source, or a third-party marketplace report no name. Development/source runs never send. Opt out any run with BB_TELEMETRY=false. See apps/server/src/services/system/telemetry.ts.

Development

Use the development loop when working on bb itself:

pnpm dev

That starts the Vite app and proxies API and WebSocket traffic to a separate dev server. The launcher prints the actual ports at startup. Each checkout gets a data directory under ~/.bb-dev/<checkout-instance>/ and deterministic high ports derived from the checkout path. The checkout instance id is the sanitized path to the checkout, relative to your home directory, plus a short hash suffix. Separate worktrees can run alongside each other and the packaged npx bb-app@latest instance.

To test the production bundle and serving path without switching to production data or ports, use:

pnpm start:worktree

This builds the same optimized frontend and runtime artifacts as pnpm start, then serves the app from the BB server on the checkout-specific dev server port. It keeps the normal checkout-specific dev data directory and host-daemon port. There is no Vite dev server or hot reload in this mode; rerun the command after source changes. As with pnpm dev, worktree starts do not send telemetry.

To run that same source dev server with the Electron desktop shell:

pnpm dev:desktop

This uses scripts/bb-dev-app current --desktop, which stops stale launcher sessions, checks dependencies and native modules, starts the source dev server, then opens the desktop shell against that dev app. The launcher prints the web URL but does not open a browser unless you pass --open.

To use the dev app from another machine over Tailscale, run pnpm dev, note the printed app port, and publish the loopback Vite listener:

tailscale serve --bg --https=443 http://127.0.0.1:<app-port>

Then open https://<machine>.<tailnet>.ts.net. Source dev binds both the Vite app and main server to loopback by default; Vite continues to proxy API and WebSocket traffic.

For direct access at http://<tailscale-ip>:<app-port> instead, run:

pnpm dev:remote

This binds the Vite app and main server to all IPv4 interfaces. The remote browser must be able to reach both the printed app and server ports for realtime updates. The server API is unauthenticated and permits command execution and file reads, so use this only behind a trusted network boundary and restrict the ports to Tailscale traffic with the host firewall when the LAN is not trusted.

To use the component storybook from another machine, run:

pnpm storybook

Ladle binds to all interfaces and configures its HMR WebSocket to use the browser's current host instead of localhost. Do not run pnpm storybook on an untrusted network.

Development behavior is intentionally split:

  • the app hot reloads itself
  • the server does not hot reload
  • the host daemon does not hot reload

When you want the server and host daemon to pick up the latest build output, use:

pnpm dev:restart
pnpm dev:restart-server
pnpm dev:restart-host-daemon

These rebuild first, then restart only the targeted stateful services.

To run a production-mode build from a source checkout:

pnpm start

That builds only the app, server, and host-daemon runtime artifacts, then runs the launcher directly against those workspace outputs. Use the bb-app tarball smoke task when validating the published npx bb-app@latest package layout.

pnpm bb --help            # built CLI, targets the default/prod instance
pnpm reset                # clear production state

pnpm bb:dev --help        # source CLI, targets this checkout's dev instance
pnpm reset:dev            # clear this checkout's dev state

pnpm reset:all            # clear both production and dev states

These reset commands prompt for confirmation before deleting anything.

Repository Overview

See Repository overview for the monorepo package and app map.

System Overview

See System overview for runtime architecture, data model, and component boundaries.

Further Reading

Contributing

See CONTRIBUTING.md for contribution guidelines.

Troubleshooting

Could not locate the bindings file

bb uses native add-ons, for example better-sqlite3 and @parcel/watcher. npm downloads or builds those binaries in a package install script. If npm does not run install scripts, the binaries are absent. bb then stops at startup with this error:

Error: Could not locate the bindings file. Tried:
 → .../node_modules/better-sqlite3/build/better_sqlite3.node

There are two usual causes.

The first cause is npm 12 or later. Since npm 12, npm blocks dependency install scripts by default and prints npm warn install-scripts N packages had install scripts blocked. Name bb's native add-ons in --allow-scripts to let this one command run their install scripts:

npx --allow-scripts=better-sqlite3,node-pty,@parcel/watcher bb-app@latest

For a permanent install with the same setting, use:

npm install -g --allow-scripts=better-sqlite3,node-pty,@parcel/watcher bb-app
bb-app

To allow them for all global installs on this machine, run npm config set allow-scripts=better-sqlite3,node-pty,@parcel/watcher --location=user. npm 10 and 11 accept or ignore the flag, so it is safe on every supported Node.

The second cause is ignore-scripts=true in your ~/.npmrc. Set the npm_config_ignore_scripts environment variable to let this one command run its install scripts:

npm_config_ignore_scripts=false npx bb-app@latest

For a permanent install with the same setting, use:

npm_config_ignore_scripts=false npm install -g bb-app
bb-app

The environment variable applies to that one command only. Keep ignore-scripts=true in your ~/.npmrc if you want it for security.

The same error has other causes. A Node.js major-version change after the install causes it. A copy of node_modules from a different operating system, CPU architecture, or libc variant also causes it. To recover, install the package again, or run npm rebuild better-sqlite3.

Acknowledgements

CI powered by Blacksmith

常见问题

What is bb?

bb is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by get-bb. The agent IDE that builds itself. It has 2,560 GitHub stars.

Is bb safe to use?

Yes. bb passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install bb?

Clone the repository with "git clone https://github.com/get-bb/bb" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is bb written in?

bb is primarily written in TypeScript. It is open-source under get-bb on GitHub, so you can review or fork the full source.

Are there alternatives to bb?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh bb against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情