Local Whiteboard
The whiteboard is a markdown note stored on your machine. All bots and sessions in the same Feishu group share one. It records where the project stands right now: goals, roles, approach, progress, next steps.
When a new session or a different bot takes over, the agent reads the whiteboard and catches up without scrolling through chat history. Useful for multi-agent work, resuming long tasks, and handing off across topics.
The whiteboard is a snapshot, not a log: every update rewrites the whole thing as the latest state. Old content is not kept.
Off by default. While off, no boards are created, no sessions are bound, nothing is added to prompts, and agent read/write commands are rejected.
Quick start
- Turn the feature on (either way):
- CLI:
botmux whiteboard enable - Dashboard: Settings → Local Whiteboard → Enable project whiteboards
- CLI:
- Start a topic in a group and talk to a bot as usual. When the session starts (or on the next turn after you turn the feature on), a board for that group is created and bound automatically.
- To have the agent record something, just say "update the whiteboard" or "write the current progress to the whiteboard". To restore context, say "check the whiteboard".
- View the content on the Whiteboards page in the Dashboard.
No daemon restart needed: new sessions and later turns follow the new setting. Turning it on does not create a board by itself; a board is created the first time a session needs one.
How boards are shared
Once a session is bound to a board it keeps using it. If the board is deleted, a new one is created automatically on that session's next turn.
New boards start from a template that guides the agent to fill in these sections:
(The template is in Chinese: Current state / Goals / Organization / Approach / Key progress / Next steps.)
How agents read and write
Once enabled, every turn of a session bound to a board gets a <whiteboard> block telling the agent the board id and the read/write commands. The block only contains the id and commands, never the board content or the local file path, and reminds the agent not to write secrets or private data.
CLIs that support Skills also get the botmux-whiteboard Skill, which triggers when the user mentions things like "whiteboard", "project context", or "handoff".
The recommended pattern is "read, merge, write the whole thing back":
-
Read the content and its version:
-
Merge the new information and rewrite it as one complete current state (don't just append this turn's notes).
-
Write it back with the version you just read:
Content can also come from a pipe (
cat note.md | botmux whiteboard update --id <id>) or--content-file <path>, which is easier for long text.
If another agent changed the board in the meantime, step 3 fails with whiteboard_cas_mismatch (exit code 2). Run step 1 again to get the latest content and merge again.
Inside a session you can omit --id; the session's bound board is used. If update finds no board, it creates one using the sharing rules above.
Protection against bad writes
There is no version history; overwritten content cannot be recovered. Keep a separate copy of anything important.
Dashboard Whiteboards page
The Whiteboards page in the Dashboard sidebar lists all boards by group (this page's labels are currently shown in Chinese only):
- Boards are grouped by chat on the left. Select one to see its group, scope, last update time, source directory, and a read-only preview of
board.mdon the right. - 删除白板 (Delete whiteboard) removes the board files and unbinds it from the group and sessions. You must be logged in to the Dashboard, and it cannot be undone.
- Anonymous read-only visitors cannot see the board list or content.
- When the feature is off, the page shows a notice at the top. Existing boards can still be viewed read-only and deleted.
You can reword the <whiteboard> prompt on the Dashboard Customization page (search for "whiteboard").
Command reference
Outside a session, use --session-id, --chat-id, or --working-dir to set the context. When the feature is off, current / create / read / update / write exit with an error (exit code 2).
