Drawgent: Coding agent on a live Excalidraw canvas
Article URL: https://tangled.org/yanndegat.tngl.sh/drawgent Comments URL: https://news.ycombinator.com/item?id=49857729 Points: 170 # Comments: 45
drawgent is an agent that connects Claude Code, Codex or opencode to an Excalidraw whiteboard. Users can provide a diagram in the chat panel or write AGENT: ... to request changes to the drawing. The agent analyzes the canvas (screenshot + scene), edits it live, checks the result, and marks the changes as DONE. Setup requires one of claude, codex or opencode installed and logged in, along with Node.js ≥ 22 and npm. drawgent automatically keeps the live scene and sync state in .drawgent/scene.json, which is git-ignored. Shapes can link to the code they represent, such as a file, line range and symbol.
Written by urgent.news from Hacker News Best's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.