Go to file
王性驊 5493a812f9 備用模型(計畫 D1:Bot 不屬於任何一家供應商):每個 Bot 最多 8 個,照順序。Bot 自己的模型不能回答——額度用完(402、「已達用量上限」)、太忙或用量到上限(429,供應商自己重試完之後)、金鑰或登入不能用(401、403)、服務出錯(5xx、408、529)、連不上——就換下一個還沒休息的,從同一步接著做(失敗的那一步沒有做任何事),聊天裡那一步前面一行「改用 ○○ 繼續(○○:連不上,10 分鐘內先不用它)」,之後的回答標新的模型。不能用的那個休息 10 分鐘(providers::rest/is_resting):這段時間的新一輪一開始就用備用的(「改用 ○○ 回答(○○ 剛剛不能用,10 分鐘內先不用它)」),之後又先用 Bot 自己的。對話太長、模型不支援工具、模型名稱打錯不換(換了也一樣,或是我們這邊的事)。還沒設定金鑰的供應商跳過,跟自己一樣的不算;換過去不帶思考模式、不用快速模型(那是原本那家的)。
- model.rs:Bot.fallbacks(Fallback { provider, model }、MAX_FALLBACKS 8)。
- providers.rs:why_another_model(哪些錯誤換別的模型有用,和短的原因)、REST_SECS、rest、is_resting;StreamEvent::Switched(那一行, via)。
- agent.rs:Job.backups(Backup:可以直接送的位址、金鑰、模型、via、名字);主迴圈在一般的錯誤之前多一支:換 job.req、job.via,關掉快速模型,送 Switched,同一步再問一次。
- app.rs:一輪開始時把 Bot 的備用模型(準備好的)變成 Backup;自己的在休息就從第一個沒休息的開始並寫那一行(不再另外寫「上一個回答是」那行);Switched 在那一步前面插一行註記、正在寫的那則改標新模型。Bot 設定「思考模式」下面「備用模型」:每列供應商、模型名稱、「選擇」、×,「+ 加一個備用模型」先挑還沒用過、已經設定好的供應商;沒金鑰的那列寫「…還沒設定金鑰或登入:會跳過」。
- 手機:「改用 ○○ 回答/繼續」都用模型的星星圖示(以前只認「上一個回答是」那種)。
- 換模型本來就排在這一輪做完之後(一輪開始時 Job.req 就拿好了),文件寫明。

已驗證: cargo test 838 過(新:a_backup_model_carries_on_when_the_bots_own_cannot——兩個假模型服務,自己的回 401、備用的回答:Switched 那行、回答標備用的、自己的在休息;沒備用照舊報錯;備用跟自己一樣不換。only_failures_another_model_could_get_past_switch_models——429/402/401/503/連不上/已達用量上限會換,400 太長/404/不支援工具不換;含 featuremap::、layout_audit::);clippy 維持 12;scratch 照 models.md 那一步重跑(新的 scratch、zsh):Bot 1 改用連不上的 Ollama(127.0.0.1:9)、備用是假模型,第一輪「改用 自訂(OpenAI 相容) · fake-model 繼續(Ollama · llama3.2:連不上,10 分鐘內先不用它)」、回答標 fake-model,第二輪一開始就是「改用 … 回答(Ollama · llama3.2 剛剛不能用,10 分鐘內先不用它)」,手機兩行是星星圖示(重新整理後;舊頁面還是 ◎);桌面 Bot 設定「備用模型」按「+」多一列 Ollama · llama3.2、還沒金鑰的主模型提示在它上面。
未驗證: 真的供應商額度用完或 5xx(要付費帳號、真的出錯;用假服務的 401 和連不上代替);429 時供應商自己的重試要等完才換(可能幾十秒,沒有縮短);螢幕電腦上改備用模型同步到大腦(scratch 沒有第二台);Bot 自己改備用模型(要動 update_my_profile 的工具定義,鎖檔要簽名,沒做);手機的 Bot 設定還沒有這一欄;字數預算重建上下文沒做。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uirha2uBHmbnuWBhNzjbJm
2026-11-21 15:02:07 +08:00
.claude/skills feat: 交付確認——Bot 傳的檔案記下在哪台裝置顯示、點開沒,沒顯示出來叫醒 Bot 一次 2026-11-20 14:00:47 +08:00
.gitea/workflows chore: clippy 全部清乾淨,CI 有新警告就失敗;make lint 2026-11-17 11:18:12 +08:00
bench/computer-use new flow 2026-11-20 21:54:48 +08:00
box design: Bot 的電腦的桌面也換成思源黑體(第 14 版),拿掉粉圓 2026-11-16 22:18:32 +08:00
deploy make update 之後版本號還是舊的:Makefile 一開始就把「現在的 commit」放進 ANYBOT_GIT_COMMIT 並 export,deploy/update.sh 之後才 git pull,接著編的程式沿用那個舊值——程式是新的,設定 › 更新、--version、手機上寫的卻是更新前的版本(Jenny 那台 11/21 從 49055f1 更新到 5bf4444,--version 還說 49055f1;「升上來之後怪怪的」也讓人以為沒更新到)。update.sh 一開頭就清掉它,編譯時照新的 HEAD 重算;更新程式本身有改、用新版重跑自己時一樣清。 2026-11-21 10:54:33 +08:00
docs 備用模型(計畫 D1:Bot 不屬於任何一家供應商):每個 Bot 最多 8 個,照順序。Bot 自己的模型不能回答——額度用完(402、「已達用量上限」)、太忙或用量到上限(429,供應商自己重試完之後)、金鑰或登入不能用(401、403)、服務出錯(5xx、408、529)、連不上——就換下一個還沒休息的,從同一步接著做(失敗的那一步沒有做任何事),聊天裡那一步前面一行「改用 ○○ 繼續(○○:連不上,10 分鐘內先不用它)」,之後的回答標新的模型。不能用的那個休息 10 分鐘(providers::rest/is_resting):這段時間的新一輪一開始就用備用的(「改用 ○○ 回答(○○ 剛剛不能用,10 分鐘內先不用它)」),之後又先用 Bot 自己的。對話太長、模型不支援工具、模型名稱打錯不換(換了也一樣,或是我們這邊的事)。還沒設定金鑰的供應商跳過,跟自己一樣的不算;換過去不帶思考模式、不用快速模型(那是原本那家的)。 2026-11-21 15:02:07 +08:00
fonts design: 一套設計規格(電腦和手機同值)+讀的文字改成 Claude/Notion 的文件樣式 2026-11-16 21:51:30 +08:00
icons 圖示: the cat — an ink engraving on yellow — is AnyBot's icon on the computer and the web 2026-11-11 23:24:05 +08:00
install One installer for every platform, first run included 2026-11-10 14:07:01 +08:00
mobile 備用模型(計畫 D1:Bot 不屬於任何一家供應商):每個 Bot 最多 8 個,照順序。Bot 自己的模型不能回答——額度用完(402、「已達用量上限」)、太忙或用量到上限(429,供應商自己重試完之後)、金鑰或登入不能用(401、403)、服務出錯(5xx、408、529)、連不上——就換下一個還沒休息的,從同一步接著做(失敗的那一步沒有做任何事),聊天裡那一步前面一行「改用 ○○ 繼續(○○:連不上,10 分鐘內先不用它)」,之後的回答標新的模型。不能用的那個休息 10 分鐘(providers::rest/is_resting):這段時間的新一輪一開始就用備用的(「改用 ○○ 回答(○○ 剛剛不能用,10 分鐘內先不用它)」),之後又先用 Bot 自己的。對話太長、模型不支援工具、模型名稱打錯不換(換了也一樣,或是我們這邊的事)。還沒設定金鑰的供應商跳過,跟自己一樣的不算;換過去不帶思考模式、不用快速模型(那是原本那家的)。 2026-11-21 15:02:07 +08:00
relay 連線體檢(計畫 A1):/doctor 不只看「連著沒」,每一段量真的數字。這台 ↔ 帳號伺服器:小請求打四次,第一次(含建立連線、TLS)另外寫,其餘取中位數當來回時間;再下載 256 KB 算每秒幾 KB——帳號伺服器新加 /api/speed,給壓不小的亂數(Cloudflare、Caddy 都縮不了,量到的是真的線速,最多 1 MB、不快取)。螢幕電腦再量到大腦:大腦新加 /api/sync/ping,由網路那條執行緒直接回、不經過視窗(只給螢幕,手機那條路 403),三次取中位數,扣掉第一段就是帳號伺服器 ↔ 大腦。來回超過 400 ms、每秒不到 300 KB 是 ✗,寫慢在哪一段;帳號伺服器或大腦是舊版就說量不到、不算錯。沒有視窗的電腦(手腳、伺服器)用 anybot --doctor(只讀設定,AnyBot 開著也能跑,有 ✗ 結束碼 1)。功能地圖 garden.md(garden-doctor、新的「量連線」步驟、自動測試)、FEATURES.md、計畫(A1 狀態;A2 暫緩——使用者定了 anybot.30cm.net 是唯一的網址;A5 做完;§0 記下 ai、jenny-host 搬到 headscale、帳號伺服器只剩 anybot.30cm.net)同步。設定頁的「檢查連線」按鈕沒做:account.md 篇幅滿了,/doctor 在聊天(手機也行)就能叫。 2026-11-21 10:54:46 +08:00
shots/readme docs: README 重寫——跟上這一週的功能,圖從現在這版重拍 2026-11-18 08:10:55 +08:00
skills version_0_1_1-alpha 2026-11-11 16:19:06 +08:00
src 備用模型(計畫 D1:Bot 不屬於任何一家供應商):每個 Bot 最多 8 個,照順序。Bot 自己的模型不能回答——額度用完(402、「已達用量上限」)、太忙或用量到上限(429,供應商自己重試完之後)、金鑰或登入不能用(401、403)、服務出錯(5xx、408、529)、連不上——就換下一個還沒休息的,從同一步接著做(失敗的那一步沒有做任何事),聊天裡那一步前面一行「改用 ○○ 繼續(○○:連不上,10 分鐘內先不用它)」,之後的回答標新的模型。不能用的那個休息 10 分鐘(providers::rest/is_resting):這段時間的新一輪一開始就用備用的(「改用 ○○ 回答(○○ 剛剛不能用,10 分鐘內先不用它)」),之後又先用 Bot 自己的。對話太長、模型不支援工具、模型名稱打錯不換(換了也一樣,或是我們這邊的事)。還沒設定金鑰的供應商跳過,跟自己一樣的不算;換過去不帶思考模式、不用快速模型(那是原本那家的)。 2026-11-21 15:02:07 +08:00
.dockerignore AnyBot: first commit of the working desktop app 2026-11-04 16:51:51 +08:00
.gitignore 人類助理合併+疑似卡住標記:tasks(可觀測)+ claims(可信任)併入 main(效能修復之上);進行中任務 15 分鐘無動靜在卡片標「疑似卡住」(狀態不變,純標記,規格 §可觀測 P0 驗收) 2026-11-20 16:20:58 +08:00
CLAUDE.md docs: anybot_guide 只給 Bot 行為那幾段;桌面截圖指令照真的旗標改;safety-always 有真的一步;拆出 sandbox 2026-11-18 16:29:19 +08:00
Cargo.lock fix: 網址照瀏覽器的讀法比對(web(domain:…)、內部網址卡);審核員只讀兩端時照樣問;上傳的開關卡不給審核省掉 2026-11-18 20:06:35 +08:00
Cargo.toml fix: 網址照瀏覽器的讀法比對(web(domain:…)、內部網址卡);審核員只讀兩端時照樣問;上傳的開關卡不給審核省掉 2026-11-18 20:06:35 +08:00
FEATURES.md 備用模型(計畫 D1:Bot 不屬於任何一家供應商):每個 Bot 最多 8 個,照順序。Bot 自己的模型不能回答——額度用完(402、「已達用量上限」)、太忙或用量到上限(429,供應商自己重試完之後)、金鑰或登入不能用(401、403)、服務出錯(5xx、408、529)、連不上——就換下一個還沒休息的,從同一步接著做(失敗的那一步沒有做任何事),聊天裡那一步前面一行「改用 ○○ 繼續(○○:連不上,10 分鐘內先不用它)」,之後的回答標新的模型。不能用的那個休息 10 分鐘(providers::rest/is_resting):這段時間的新一輪一開始就用備用的(「改用 ○○ 回答(○○ 剛剛不能用,10 分鐘內先不用它)」),之後又先用 Bot 自己的。對話太長、模型不支援工具、模型名稱打錯不換(換了也一樣,或是我們這邊的事)。還沒設定金鑰的供應商跳過,跟自己一樣的不算;換過去不帶思考模式、不用快速模型(那是原本那家的)。 2026-11-21 15:02:07 +08:00
LICENSE Apache-2.0: license file, manifest fields, README section 2026-11-09 16:36:36 +08:00
MECHANICS.md AnyBot: first commit of the working desktop app 2026-11-04 16:51:51 +08:00
Makefile 治本三补丁+make migrate:把帳號伺服器搬到大腦那台的引導工具 2026-11-19 16:58:33 +08:00
README.en.md docs: README 重寫——跟上這一週的功能,圖從現在這版重拍 2026-11-18 08:10:55 +08:00
README.md docs: README 重寫——跟上這一週的功能,圖從現在這版重拍 2026-11-18 08:10:55 +08:00
SECURITY.md Merge branch 'fix-connector-review': 連接器與瀏覽器照一律詢問和自動審核 2026-11-19 11:24:09 +08:00
build.rs 版本: v<number>-<commit> with the build time, the same in the app, the phone, --version and the server log 2026-11-11 13:51:52 +08:00
cat-1.png new flow 2026-11-20 21:54:48 +08:00
cat-2.png new flow 2026-11-20 21:54:48 +08:00
cat-3.png new flow 2026-11-20 21:54:48 +08:00
cat-4.png new flow 2026-11-20 21:54:48 +08:00
clippy.toml feat: 所有 HTTP 用戶端信任同一份憑證;連接器連同它帶起來的程式一起關;按停止馬上結束連接器的呼叫 2026-11-17 11:13:59 +08:00
install.cmd One installer for every platform, first run included 2026-11-10 14:07:01 +08:00
install.ps1 公測前第二輪:區網直連改 HTTPS、手腳只聽大腦簽過的指令、更新驗簽章、聊天各存各的檔、視窗沒在前面也照常運作(提示音不再等你切回來) 2026-11-14 00:40:16 +08:00
install.sh 公測前第二輪:區網直連改 HTTPS、手腳只聽大腦簽過的指令、更新驗簽章、聊天各存各的檔、視窗沒在前面也照常運作(提示音不再等你切回來) 2026-11-14 00:40:16 +08:00
mechanics.json AnyBot: first commit of the working desktop app 2026-11-04 16:51:51 +08:00

README.en.md

AnyBot

AnyBot

An AI assistant that runs on your own computers.
It chats, and it gets things done: files, commands, forms in a browser, the screen in front of you, jobs on a clock. It asks before it acts.

中文 · English

Apache-2.0 macOS, Linux, Windows Rust 1.95 v0.1.0 self-hosted

A bot about to sort the photos in Downloads stops to ask first: allow, always allow, or deny; a note you typed while it worked waits under the input

Your pick of model. Bring your own API key: xAI, OpenAI, Claude, Gemini, OpenRouter, OpenCode Go, or anything that speaks the OpenAI API. With ChatGPT Plus or Pro, sign in with your ChatGPT account and use the plan instead of a key. With nothing at all, use Ollama at home. Each bot can use a different model.

Your data stays with you. Chats, memory, files, and the passwords in the vault live on your computer or on a server you run. The account server is yours too and only connects your devices; backups are encrypted on your computer before they are uploaded, and the server cannot open them.

A team of bots, not one. Each row on the left is its own bot, with its own personality, model, memory, skills, and the computers it may use. They ask each other questions, hand off work, and can answer you together in a group chat.

Every feature · Feature map · Computers and phone · Security


Install in 30 seconds

Open a terminal and paste one line.

# macOS, Linux (not Ubuntu-only: apt, dnf, yum, pacman, zypper, apk, xbps)
curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh | sh
# Windows 10/11 (x64, arm64)
irm https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.ps1 | iex

It installs what it needs, asks which piece you want, and walks through the first setup. The first build takes 5–15 minutes, later updates 1–2. It lives in your user folder and needs no administrator account.

Account server + brain (any Linux with Docker, 2 GB RAM or more; it asks for a domain, a user, a password, and handles HTTPS itself):

curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \
  | sh -s -- server

Headless hands (a computer for the bot to use; a screen is optional). The URL and the pairing code come from “Add a computer” in AnyBot:

curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \
  | sh -s -- hands https://your-address 482913
# Hands on Windows
$env:ANYBOT_MODE='hands'
$env:ANYBOT_PAIR_URL='https://your-address'
$env:ANYBOT_PAIR_CODE='482913'
irm https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.ps1 | iex

Running this from an agent, with no questions asked: sh install.sh --print reports what fits this machine, then use the environment variables — see install/AGENT.md.

First run

  1. Open AnyBot. On a Mac, the first time: right-click the icon › Open (it has no Apple developer signature).
  2. On the welcome screen, press “Set up a model” and pick one: paste an API key; or choose “ChatGPT plan” and press “Continue with ChatGPT” to sign in with your ChatGPT account; or choose Ollama to run on your own machine.
  3. Make your first bot and give it a job, such as “sort the photos in my Downloads folder by month”. It tells you what it wants to run, and nothing happens until you press “Allow”.
  4. Type “/” in the input for commands, “@” to bring in another bot.

Used AnyBot on another computer? Press “Sign in” on the welcome screen and your bots and chats come along.


What it does

Hands-on, but it asks first

  • Files and commands — read, edit, search, run; long jobs go to the background, interactive ones get a real terminal. On macOS and Linux (with Landlock in the kernel), commands run in a sandbox that cannot read or touch your private folders. Before a bot edits a file it keeps a copy; /rewind puts it back.
  • Its own computer — a Linux desktop (XFCE, Chromium) in Docker, where each bot has its own screen and browser, kept apart from yours. You can watch what it is doing at any time and take over when needed.
  • A browser — open pages, sign in, click, fill forms, upload and download. Passwords and card numbers sit in the vault and AnyBot types them into the page; the model never sees them. Before a post or comment is sent, repeats are blocked; after, the page is read again to confirm it is really there.
  • The screen you are using — it reads the numbered buttons in a screenshot, then clicks. When you need to sign in or type a code, it hands you the screen. Show it once, and it learns the steps.
  • Asks first — touching your computer, sending something out, or doing anything that cannot be undone shows a card first. Paying, sending, and deleting are asked every time. You can always-allow a kind of action, turn on direct mode, or type /always-approve to let everything through; what the safety rules block stays blocked whatever you set.

Hand it something big

  • /plan — it looks around first and hands you a plan card to approve; only then does it start, ticking off each step.
  • /goal — give it a condition (“all tests pass”). After each turn another model reads the evidence; if the goal is not met, the bot keeps going.
  • Routines — say “every weekday at 9, three AI news items” and it is scheduled; routines can also run when a PR merges, CI fails, or mail arrives. Every run is logged, and two failures in a row pause it.
  • Steer and branch — type while it works and it reads your note at the next step; /btw sends the same bot off to do a second thing.
  • Watch — a command can wake the bot on each new line it prints, for keeping an eye on a deploy or a log.

Typing /plan to move a blog to a new server: the bot hands in a plan card with a summary, six steps, how to check it worked, and caveats, waiting for your decision

A team of bots

  • Each bot has its own soul and instructions, strengths, abilities, skills, memory, and computers it may use. Start from a template (research assistant, writing partner, computer helper…) or from scratch.
  • Ask a colleague and wait for the answer, hand off work without waiting, teach a colleague a skill you know; type “@” in any chat to bring one in.
  • Group chats: members answer in turn, each with its own model; questions go to whoever is good at them, and “@name” passes the turn.

A travel group chat: the research assistant adds a weather card for Tainan, then the writing partner suggests an angle for the travel post

Remembers, learns, writes it down

  • Memory — each bot keeps its own; “About you” is shared by all of them. As you type, the memories it plans to bring along show above the input, and you can drop or add any of them.
  • Skills — the Agent Skills format (SKILL.md), with 8 built in (pdf, xlsx, docx, pptx and more) and more installable from GitHub. After a long job it saves the way that worked as a skill; skills with saved steps replay next time without asking the model.
  • Pages — things to track or compare become a page (tables, charts, number cards) that it keeps updating, with older versions kept.

Connects to the outside

  • Connectors (MCP) — a local command or a remote URL; ones that need an account sign in with OAuth. The market lists 8 common ones and searches the official MCP Registry.
  • Channels — Slack, Discord, Telegram, Teams, the Mac's Messages and Mail, SMS, X: each message that comes in is answered by the bot you chose. Outside messages are not trusted: no memory of yours, no computer tools, and your earlier approvals do not count.
  • Mac apps and phone calls — Mail, Notes, Messages, Reminders, Calendar, Contacts; calls and texts from your Twilio number; posts on X. Sending, messaging, and posting are asked one at a time.
  • Hooks and scripts — run your own programs at fixed points while a bot works (Claude Code's format); anybot --ask "…" --json lets a script ask a bot directly.

Reach it from anywhere

  • Phone — open your URL in a browser and sign in: the same chat, with approvals, questions, the bot's computer, and notifications. No server? On the same Wi-Fi or Tailscale, connect straight to your computer with a phone password.
  • Voice — talk instead of typing, have a voice chat, or have answers read aloud.
  • Send — drop a file or a few words from any device of your account onto another.
Chat commands
  • /plan what to do — plan first; it starts once you approve.
  • /goal condition — keeps going until the condition holds; /goal clear cancels.
  • /btw what to do — the same bot does this on the side without stopping its current job.
  • /always-approve (or /yolo) — let everything through; add off to stop.
  • /rewind — put the bot's file edits and the chat back to an earlier message.
  • /fork — keep a copy of this chat as a branch that goes its own way.
  • /context, /compact — how much of the model's room this chat uses; summarize now.
  • /usage — tokens over the last day and week, per bot and per model.
  • /doctor — check the connections, model services, the bot's computer, connectors, and disk.

One machine thinks, others get used

One machine remembers and thinks (the brain). Others are there to be used (the hands). The phone is only a window. They all meet on an account server you run, so the computers at home do not open a port or need a public address. The hands only follow commands signed by the brain.

  you on the phone          you on a laptop         a computer with no screen
        \                      |                      /
         └───── account server (it only connects them) ─────┘
                               |
               brain: bots, chats, memory, routines live here
                               |
        hands: the brain asks this machine to see, click, read, browse
Role What you do
Brain Set up the server once, or use a Mac that stays awake
Screen Install the desktop app and sign in to the same account
Hands Press “Add a computer” and paste the line it shows
Phone Open your URL in a browser and add it to the Home screen

No server yet? Use one always-on Mac as the brain — see method B in docs/en/multi-device.md.

What happens to a sentence

flowchart TD
  you[You: desktop app or phone]
  relay[Account server<br/>relays only, stores no chats]
  brain[AnyBot on the brain]
  model[The model you picked]
  ask[Touch the computer? Ask first]
  box[The bot's own computer<br/>a small desktop in Docker]
  hands[One of the hands<br/>your Mac, Linux, or Windows]

  you --> relay --> brain
  brain --> model
  brain --> ask
  ask --> box
  ask --> hands
  1. You send a message on the desktop or the phone. The phone does not think for itself; it reads the same chat on the brain.
  2. The brain hands that sentence, the bot's instructions, its memory, and its tools to the model you picked.
  3. If the model only answers, it writes back. If it wants to read a file, open a page, or click something, it proposes an action.
  4. That action goes through AnyBot's own rules first — the model does not decide whether it is allowed.
  5. Once you allow it, the action runs on the computer you chose: the bot's own computer, the one you are using, or a paired hand.
  6. The result goes back into the chat. Phone and laptop show the same thing because both read the brain.

Three programs are enough, and there is no database server: anybot (the desktop, the background service anybot --serve, and the terminal setup anybot setup are this one file), anybot-relay (the account server; computers connect out to it), and the phone page (one file, built into the app). Details in docs/en/architecture.md.


Documents

You want… Read
How a feature works, where to set it Feature map (Chinese)
Every feature with its details and numbers FEATURES.md (Chinese)
Phone, brain, hands, “it will not connect” docs/en/multi-device.md
A platform failed, build it yourself docs/en/install.md
How the code is layered docs/en/architecture.md
What a bot remembers, how much reaches the model docs/memory.md (Chinese)
The skill format docs/skills.md (Chinese)
The account server's API docs/en/protocol.md
Trust boundaries, where keys live docs/en/security.md
Packaging, CI docs/release.md (Chinese)

Chinese is the source of truth; the docs/en/ files are English summaries of it.

Hack on it

git clone https://code.30cm.net/daniel.w/AnyBot.git
cd AnyBot
make deps && make && make install

make run opens it, make test runs the tests, make lint runs the same clippy check as CI, make help lists everything.

Before changing a feature, read its part of the feature map; when behaviour changes, update that file in the same commit — cargo test featuremap:: catches what was left out. The full rules are in CLAUDE.md.

Security

Found a vulnerability? Please do not post it publicly; report it privately as described in SECURITY.md (English summary).

License

Apache-2.0, see LICENSE.