How tldraw built a spatial harness for coding agents on the canvas

max__drake · x · 2026-10-13

tldraw product engineer Max Drake details the "spatial harness" — the systems that let coding agents understand and act in 2D canvas space instead of the linear space of chat.

Key components:

Inspired by CodeAct and Code Mode, agents edit the canvas by writing code. The harness powers tldraw offline, a local whiteboard where users and agents collaborate. The post notes even top coding agents struggle with visual/design work, and spatial context — what's visible, where, and off-screen — is the bottleneck.

Original post →

More from coding & agent

coding & agent channel →