Hacker News front pageyanndegat.tngl.sh6 min readintermediate
Drawgent: Coding agent on a live Excalidraw canvas
Summary
drawgent is a CLI tool that wires Claude, Codex, or opencode LLM agents to an Excalidraw canvas, letting you issue instructions via chat or inline AGENT: notes and see live edits. It handles setup, agent bridging via ACP, Chrome rendering, and supports room collaboration, laser zones, and a REST/MCP API.
- Setup validates the LLM CLI, login, ACP adapters, Chrome headless, and writes a config file; missing pieces are reported with exact fixes.
- drawgent up starts a local server, launches the canvas, and stores the scene in a git‑ignored .drawgent/scene.json.
- You can attach the canvas to existing agent sessions (Claude fork, opencode live TUI, Codex live queue) using drawgent up --attach.
- Laser zones let you scribble over parts of the diagram to send targeted instructions; the zone disappears after the agent processes it.
Engineers building AI‑augmented design or dev‑tools will find a ready‑made bridge to let LLM agents edit visual artifacts in real time.
6/10

