WhoBuilt

The Spatial Harness: Bringing Agents to the Canvas

Sep 10, 2026· 19 min· 8.2K views·Watch on YouTube

Speaker

Max Drake, product engineer at tldraw, explains how to build and coordinate agents on a canvas, from tldraw projects to desktop app workflows, at AI Engineer.

Why tldraw built a canvas SDK

Drake describes tldraw as a free infinite canvas app and an SDK for building canvas experiences. The SDK handles difficult canvas mechanics such as selection, resizing, and matrix math, so teams can focus on their applications. He says LLM-based canvas tools face a similar lack of established patterns.

Teaching agents to work in 2D

Drake says agents are well suited to code because their work is text in and text out, but they struggle with visual layout and 2D space. In an early project called Teach, tldraw gave an LLM canvas screenshots and data so it could interpret shapes and act on them. Asked to make a mouse blow out a candle, it added wind and smoke in the right positions.

From single prompts to collaborating agents

The tldraw Agent Starter Kit wraps canvas understanding in a harness that lets an agent set goals and work through them, such as finding a cat’s friends elsewhere on the canvas. Drake then shows Fairies, a multiplayer experiment where people and agents share a board. Agents can plan, assign tasks, and coordinate, while their visible state helps people follow progress without reading every chat.

Connecting canvas work to coding agents

Drake says canvas-bound agents are difficult to connect to work outside the canvas. His Tech Tree prototype represents tasks as coding agents in a dependency graph, with work that can run autonomously and be reviewed through the app. In a separate desktop experiment, agents use plain JavaScript against the local tldraw editor, which can turn the app into a scripting surface for files and desktop interactions.

Takeaways

  • Give agents both visual context and structured canvas data when they need to understand spatial layouts.
  • Use goals and canvas navigation to let an agent search and act beyond the currently visible area.
  • Make agent identity and work state visible so teams can track multiple agents without relying only on chat.
  • Represent dependent tasks in a shared graph when people need to coordinate autonomous coding work.
  • A local editor interface can connect canvas-based workflows to agents that also work with files and desktop tools.

Mentioned in this talk

Search inside this talk

What was claimed 14

  • built
    “it’s the infinite canvas SDK that powers this app.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • works at
    Product Engineer
    “I’m a product engineer there.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    tldraw app: Free infinite canvas whiteboarding app
    “It’s a free infinite canvas whiteboarding app.”
    YouTube
    Unverified1 source· Talk
  • feature
    SDK: Engine for building infinite canvas experiences
    “it’s the infinite canvas SDK that powers this app.”
    YouTube
    Unverified1 source· Talk
  • built
    “tldraw is also the company that makes this app.”
    YouTube
    Unverified1 source· Talk
  • built
    “We had this project called Teach.”
    YouTube
    Verified2 sources· Talk
  • feature
    Teach: Teaches an LLM to interpret canvas screenshots and data and act on the canvas
    “we basically had to teach the LLM how to take the screenshot we give it, along with the JSON and all the other information about the canvas.”
    YouTube
    Unverified1 source· Talk
  • feature
    tldraw Agent Starter Kit: MIT-licensed harness for agentic work on the canvas
    “it wraps that in a harness that lets an agent work agentically on the canvas.”
    YouTube
    Unverified1 source· Talk
Show all 14 facts

Related talks