Drawgent puts your AI coding agent directly on an Excalidraw canvas

Drawgent puts your AI coding agent directly on an Excalidraw canvas

You can now sketch an architecture on Excalidraw and let your local AI coding agent edit the diagram live.

Developer Yann Degat released Drawgent, a tool that connects CLI coding agents like Claude Code, Codex, or opencode to an Excalidraw whiteboard. You write AGENT: notes on the canvas or circle shapes with the laser tool, and the agent reads the screenshot, edits the scene, and marks the request done. The project picked up 103 points on Hacker News.

Why it matters: Plain text prompts fall short when you need to explain complex software layouts or data flows. Drawgent gives your local coding agent visual context so you can co-design systems on a shared canvas. Because it works with Excalidraw live rooms, human team members and the AI agent can draw on the exact same board together in real time.

Try it: Run drawgent setup claude (or codex/opencode), move into your project folder, and run drawgent up. It opens a local canvas on 127.0.0.1:7300 tied directly to your workspace session.

Finally, a whiteboard partner that actually completes its own action items.

Sources