The whiteboard is becoming an agent surface.
Drawgent connects a locally installed Claude Code, Codex, or opencode session to an Excalidraw board. A person can use the chat panel or place an AGENT: note beside a drawing. The repository says the agent reads both a screenshot and the scene, edits the board, checks the result, and marks the note DONE.[1]
The implementation makes that loop concrete. The server exposes separate scene and screenshot routes. A canvas instruction carries its position, nearby elements, and arrows. The prompt tells the agent to inspect the screenshot and scene before editing, then inspect another screenshot before resolving the note.[2]
A spatial comment is useful because it binds an instruction to the part of the model under dispute.
ACP moves the agent. The scene gives it somewhere to look.
The Agent Client Protocol standardizes communication between editors and coding agents. Its documentation covers local and remote use, sessions, tool calls, diffs, terminals, plans, and cancellation. Drawgent uses ACP for new agent sessions and some attached sessions. The protocol handles the conversation route. It does not decide whether the drawing is true.[3]
Excalidraw exposes structured canvas state. Its API can load initial data and report elements plus application state whenever the board changes. The scene is not only pixels. That makes exact element changes inspectable, even when the screenshot remains the fastest way for a person to judge composition.[4]
Keep four records, not one screenshot.
- Intent. Preserve the original note, its location, what it points at, and the requested outcome.
- Scene. Save the structured element change. Record added, changed, deleted, and unresolved objects.
- Render. Capture the board before and after. Check overlap, missing labels, weak contrast, disconnected arrows, and false visual hierarchy.
- Repository. Link the drawing claim to files, symbols, tests, and the revision that implements it. Mark drawing-only claims as drawing-only.
The Hacker News discussion split around a useful tension. Some readers value drawing as the thinking process. Others use diagrams as a summary after the hard reasoning. A shared agent canvas can support either mode, but the review record should say which job the board performed.[5]
The artifact exists. The full runtime still needs a road test.
The garage cloned Drawgent commit e76f88fe. Its web package identifies version 0.2.0 and pins Excalidraw 0.18.1. npm ci completed and the production Vite build passed. The install reported React peer conflicts and 11 dependency advisories, including three marked high. The Rust binary and a live agent session were not run in this check.
That boundary matters. A successful frontend build proves that one part of the artifact assembles at that revision. It does not prove setup, browser rendering, ACP attachment, permissions, scene mutation, or note resolution on another workstation.