@chibitek/chibi

中文文档
0.1.183发布于 2026/11/09Apache-2.0ES Module零依赖近 30 天下载 4011

Atomic by Chibitek: run your AI team's server anywhere and pair your devices to it

原始使用文档

chibi (Atomic server)

Your own team of AI bots, with guided terminal setup. Requires Node 24+.

npm install -g @chibitek/chibi
chibi

Or run npx @chibitek/chibi without a global install. Use the same command next time; chibi start is an alias for the bare command.

First launch: use arrow keys and Enter (numbered choices in plain terminals) to choose ChatGPT/Codex, Claude Code, or an API service; sign in or paste a hidden API key; choose a model and save. Setup asks before installing a missing Codex or Claude CLI. The saved model applies only to new bots; existing bots and conversations keep their settings.

One optional step connects your phone, defaulting to Skip for now. Choose an explicitly approved managed public HTTPS endpoint protected by pairing, existing Tailscale, or an HTTPS reverse proxy you already configured. Managed access uses a separate Atomic account and asks permission for the public endpoint and possible connector download. The pairing page and basic server identity are public; chat and settings require pairing. Tailscale must already be installed and signed in on both devices.

After the HTTPS connection is checked, scan the QR with your phone. When you pair an Android phone the QR is an app link, so scan it inside the Atomic app; the web address is printed beside it if you would rather use a browser. On iPhone or iPad, scan with Camera for Safari, or use the app's own scanner. Choose Connect on the phone; scanning alone is not a completed pairing. Codes are private, single-use, and expire after five minutes. Guided phone access permits chat and approvals, not settings or pairing administration. Localhost and a bare LAN address cannot connect your phone to this server.

Later launches reuse your saved choices and open the local workspace. Keep the terminal open: this is a foreground server, not a background service. Ctrl-C stops the server without deleting saved work. Automatic browser opening uses only the local address; it is skipped for SSH and headless sessions, and can be disabled with --no-open.

chibi setup          # reconfigure AI and optional phone access; not a reset
chibi --no-open      # do not open a browser
chibi --local        # ignore saved remote access for this launch
chibi --no-pair      # suppress phone prompts and invitations
chibi pair           # another phone while the HTTPS workspace is running
chibi sessions       # list devices; sessions revoke ID signs one out
chibi serve          # no onboarding prompts; explicit remote flags for services

Stop an existing server before reconfiguring or changing access mode. --local preserves your saved choice for next time. --no-pair does not turn off saved remote access; use --local for that on a new launch. With a custom --data-dir or --port, keep using those options when starting and pairing.

API services include OpenAI, OpenRouter, Groq, and compatible endpoints. API connections currently support chat only. Setup asks before a short, potentially billable API test; native setup confirms sign-in, with model access checked when you send a message. API billing is separate from ChatGPT/Claude subscriptions. New API keys in config.json and managed account credentials in tunnel-account.json are plaintext, not encrypted, with owner-only permissions (0600 on Unix). Keep these files private.

Ctrl-C before saving AI setup leaves its pending Atomic changes unapplied. During the later phone step, it keeps the AI setup already saved and exits without starting a server. Completed installs and sign-ins remain; run chibi setup to continue without deleting your data.

For a service, use serve --tunnel after login for managed HTTPS, serve --tailscale for your tailnet, or your own reverse proxy. The login command signs in to an Atomic account, not an AI provider; it does not start the tunnel itself.

Setup guide · Hosting guide

版本与发布记录

@chibitek/chibi 共发布 23 个版本,首次发布于 2026/10/25;过去 12 个月发布了 23 个版本。

版本发布日期距今
0.1.183latest2026/11/09今天
0.1.1822026/11/09今天
0.1.180next2026/11/09今天
0.1.1792026/11/072 天前
0.1.1782026/11/044 天前
0.1.1772026/11/045 天前

关于 @chibitek/chibi 的常见问题

@chibitek/chibi 是什么?

Atomic by Chibitek: run your AI team's server anywhere and pair your devices to it

如何安装 @chibitek/chibi?

在项目目录运行 npm install @chibitek/chibi,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 chibi,可以用 npx chibi 直接运行。

@chibitek/chibi 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/chibitek__chibi 是否存在。

@chibitek/chibi 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@chibitek/chibi 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@chibitek/chibi 可以商用吗?

@chibitek/chibi 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@chibitek/chibi 的下载量有多少?

根据 npm 官方下载统计,@chibitek/chibi 在 2026/10/10 – 2026/11/08 这 30 天内被下载 4,011 次,日均约 134 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@chibitek/chibi 还在维护吗?

最新版本 0.1.183 发布于 2026/11/09(今天);至今共发布 23 个版本,其中过去 12 个月发布了 23 个;首次发布于 2026/10/25。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。