Agents on the Canvas With tldraw

This ad is not shown to multipass and full ticket holders
React Advanced
React Advanced 2026
October 23 - 26, 2026
London, UK & Online
Upcoming event
React Advanced 2026
React Advanced 2026
October 23 - 26, 2026. London, UK & Online
Bookmark
GithubProject website
Rate this content
Sentry
Promoted
Code breaks, fix it faster

Crashes, slowdowns, regressions in prod. Seer by Sentry unifies traces, replays, errors, profiles to find root causes fast.

Get started

At tldraw, we've been exploring the infinite canvas as a surface for real-time collaboration between multiple agents and multiple users. Learn about what works, what doesn't, and whether the future AI might live on the canvas.

Our work with AI on the canvas began with makereal.tldraw.com, often cited as the first "vibe coding" tool to reach escape velocity in November 2023. We later did work with realtime drawing (drawfast.tldraw.com), autocomplete, and a canvas interface for AI with (teach.tldraw.com). In 2024, we shipped an AI workflows app (tldraw.computer) and then returned to our canvas AI learnings with a public starter kit for working on the canvas with cursor-style AI agents (https://tldraw.dev/starter-kits/agent) and then later our spatialized agents-on-the-canvas experiment (fairies.tldraw.com).

This talk has been presented at JSNation 2026, check out the latest edition of this JavaScript Conference.

Max Drake
Max Drake
29 min
11 Jun, 2026

Comments

Sign in or register to post your comment.
Video Summary and Transcription
Max Drake discusses the challenges and benefits of working with agents on the canvas using the TLDraw SDK. The conversation delves into the complexity of bringing LLMs to the canvas, emphasizing the need for significant engineering work. The discussion covers projects like Teach and fairies, highlighting collaborative agent dynamics and multi-agent collaboration. Utilizing coding agents for project management and enhancing project visualization with features like the tech tree are explored. Customization options in the Teal Draw SDK, token management, and optimization strategies for efficient data retrieval are also discussed.
Available in Español: Agentes en el Lienzo Con TLDraw

1. Exploring Agents on the Canvas

Short description:

Max Drake discusses agents on the canvas and the TLDraw SDK, highlighting the challenges of working with the canvas and the benefits of using their library for app development.

My name is Max Drake. I'm here to talk to you about agents on the canvas, and I'm really excited to do that. But I guess this is a really demo-heavy thing, so I'm going to try to breeze through the intro and the motivation. So first, why am I up here talking about this? So I've been working on agents and LLMs on the canvas for kind of as long as you could have been doing that. So in 2022, before Chat GPT, I was doing a bunch of agents on the canvas or LLMs on the canvas. This one's kind of cool. This is like using the primitives of the canvas, so like moving and proximity and things like that to prompt an LLM to do some sentiment analysis. Cool, like, you know, not the same kind of UX that you're used to of typing something in and prompting it. So I've been working on this for a while. More recently, I've been talking about it. Very excited to do so here. And as far as the canvas stuff, I work for a little company called TLDraw. We're based out of London. Has anybody used TLDraw before? Okay, cool. Some hands. That's awesome. So yeah, we basically build an infinite canvas SDK, and what that means is that if you want to build an app, and you want the app to have some kind of canvas component, right? So basically, it's a design app, a drawing app, a slide designer ed tech. The canvas is actually really difficult to get right. So we give you a library, a JavaScript library, a React component that is just the canvas. And so you can focus on working on all the things that makes your app work. This presentation is just one big TLDraw canvas. We have lots of, you know, we covered all the annoying edge cases of moving and parenting and binding and rotating all this stuff. So, you know, it's really fun to work with. And all of the stuff that I'm going to be showing you has been built using the TLDraw SDK.

So, for a while, so this talk is called Agents on the Canvas, right? And so, for a while, we, you know, as a canvas company, we've been figuring out how do we, you know, how do you bring agents to the canvas? You know, there's a lot of reasons why we want to do that, you know. Obviously, financial ones, you know, people want to use their agents on the canvas. But also like, you know, a lot of the canvas as a medium is like a really collaborative place. TLDraw has kind of like multiplayer enabled out of the box by default. And as we use agents more and more, you know, we're trying to figure out like, you know, as a society, I guess, like how do we collaborate with agents? How do we work with them? And I think personally that, you know, the canvas is like a really good place for that because you have all these kind of collaboration primitives built in like cursors and proximity and things like that. So, yeah, we've been trying to, you know, I'm going to kind of take you on the journey of how we've been working on agents on the canvas at TLDraw.

2. Challenges of Bringing LLMs to the Canvas

Short description:

Discussing challenges in bringing LLMs to the canvas and the need for significant engineering work to enable agents to understand and act on visual elements.

And so just brief aside, talking about agents not on the canvas, tools like this, you know, Cloud Code, Codex, they're great and they work really well partially because the way that we interact with them where you put in text and then you get out text is like exactly how they were designed. You know, I'm simplifying here, but like they were trained by ingesting text and spitting out text and that's kind of like how they work, right?

So then when you try to bring LLMs to the canvas, it's actually a little more difficult because they're not really built to understand canvas. There's a whole lot of things like spatial relations and the fact that, you know, it's a visual thing so you need to visualize it. And so you actually have to do a lot of engineering work in order to get agents to kind of like understand even what the canvas is.

And so when we first started this research project a couple years ago, we were like, the first question was, how do we get the agents to kind of just understand what it is when they're quote unquote looking at the canvas? And also how do we get them to act on the canvas in a way that not only in a way that works and, you know, can actually do it, but also in a way so that they understand what they've done. Which, yeah, that's a whole thing.

QnA

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Building a Voice-Enabled AI Assistant With Javascript
JSNation 2023JSNation 2023
21 min
Building a Voice-Enabled AI Assistant With Javascript
Top Content
This Talk discusses building a voice-activated AI assistant using web APIs and JavaScript. It covers using the Web Speech API for speech recognition and the speech synthesis API for text to speech. The speaker demonstrates how to communicate with the Open AI API and handle the response. The Talk also explores enabling speech recognition and addressing the user. The speaker concludes by mentioning the possibility of creating a product out of the project and using Tauri for native desktop-like experiences.
The Ai-Assisted Developer Workflow: Build Faster and Smarter Today
JSNation US 2024JSNation US 2024
31 min
The Ai-Assisted Developer Workflow: Build Faster and Smarter Today
Top Content
AI is transforming software engineering by using agents to help with coding. Agents can autonomously complete tasks and make decisions based on data. Collaborative AI and automation are opening new possibilities in code generation. Bolt is a powerful tool for troubleshooting, bug fixing, and authentication. Code generation tools like Copilot and Cursor provide support for selecting models and codebase awareness. Cline is a useful extension for website inspection and testing. Guidelines for coding with agents include defining requirements, choosing the right model, and frequent testing. Clear and concise instructions are crucial in AI-generated code. Experienced engineers are still necessary in understanding architecture and problem-solving. Energy consumption insights and sustainability are discussed in the Talk.
The Rise of the AI Engineer
React Summit US 2023React Summit US 2023
30 min
The Rise of the AI Engineer
Top Content
The rise of AI engineers is driven by the demand for AI and the emergence of ML research and engineering organizations. Start-ups are leveraging AI through APIs, resulting in a time-to-market advantage. The future of AI engineering holds promising results, with a focus on AI UX and the role of AI agents. Equity in AI and the central problems of AI engineering require collective efforts to address. The day-to-day life of an AI engineer involves working on products or infrastructure and dealing with specialties and tools specific to the field.
AI and Web Development: Hype or Reality
JSNation 2023JSNation 2023
24 min
AI and Web Development: Hype or Reality
Top Content
This talk explores the use of AI in web development, including tools like GitHub Copilot and Fig for CLI commands. AI can generate boilerplate code, provide context-aware solutions, and generate dummy data. It can also assist with CSS selectors and regexes, and be integrated into applications. AI is used to enhance the podcast experience by transcribing episodes and providing JSON data. The talk also discusses formatting AI output, crafting requests, and analyzing embeddings for similarity.
The AI-Native Software Engineer
JSNation US 2025JSNation US 2025
35 min
The AI-Native Software Engineer
Top Content
Software engineering is evolving with AI and VIBE coding reshaping work, emphasizing collaboration and embracing AI. The future roadmap includes transitioning from augmented to AI-first and eventually AI-native developer experiences. AI integration in coding practices shapes a collaborative future, with tools evolving for startups and enterprises. AI tools aid in design, coding, and testing, offering varied assistance. Context relevance, spec-driven development, human review, and AI implementation challenges are key focus areas. AI boosts productivity but faces verification challenges, necessitating human oversight. The impact of AI on code reviews, talent development, and problem-solving evolution in coding practices is significant.
Web Apps of the Future With Web AI
JSNation 2024JSNation 2024
32 min
Web Apps of the Future With Web AI
Web AI in JavaScript allows for running machine learning models client-side in a web browser, offering advantages such as privacy, offline capabilities, low latency, and cost savings. Various AI models can be used for tasks like background blur, text toxicity detection, 3D data extraction, face mesh recognition, hand tracking, pose detection, and body segmentation. JavaScript libraries like MediaPipe LLM inference API and Visual Blocks facilitate the use of AI models. Web AI is in its early stages but has the potential to revolutionize web experiences and improve accessibility.

Workshops on related topic

AI on Demand: Serverless AI
DevOps.js Conf 2024DevOps.js Conf 2024
163 min
AI on Demand: Serverless AI
Top Content
Featured WorkshopFree
Nathan Disidore
Nathan Disidore
In this workshop, we discuss the merits of serverless architecture and how it can be applied to the AI space. We'll explore options around building serverless RAG applications for a more lambda-esque approach to AI. Next, we'll get hands on and build a sample CRUD app that allows you to store information and query it using an LLM with Workers AI, Vectorize, D1, and Cloudflare Workers.
AI for React Developers
React Advanced 2024React Advanced 2024
142 min
AI for React Developers
Top Content
Featured Workshop
Eve Porcello
Eve Porcello
Knowledge of AI tooling is critical for future-proofing the careers of React developers, and the Vercel suite of AI tools is an approachable on-ramp. In this course, we’ll take a closer look at the Vercel AI SDK and how this can help React developers build streaming interfaces with JavaScript and Next.js. We’ll also incorporate additional 3rd party APIs to build and deploy a music visualization app.
Topics:- Creating a React Project with Next.js- Choosing a LLM- Customizing Streaming Interfaces- Building Routes- Creating and Generating Components - Using Hooks (useChat, useCompletion, useActions, etc)
Building Full Stack Apps With Cursor
JSNation 2025JSNation 2025
46 min
Building Full Stack Apps With Cursor
Featured Workshop
Mike Mikula
Mike Mikula
In this workshop I’ll cover a repeatable process on how to spin up full stack apps in Cursor.  Expect to understand techniques such as using GPT to create product requirements, database schemas, roadmaps and using those in notes to generate checklists to guide app development.  We will dive further in on how to fix hallucinations/ errors that occur, useful prompts to make your app look and feel modern, approaches to get every layer wired up and more!  By the end expect to be able to run your own AI generated full stack app on your machine!
Please, find the FAQ here
Vibe coding with Cline
JSNation 2025JSNation 2025
64 min
Vibe coding with Cline
Featured Workshop
Nik Pash
Nik Pash
The way we write code is fundamentally changing. Instead of getting stuck in nested loops and implementation details, imagine focusing purely on architecture and creative problem-solving while your AI pair programmer handles the execution. In this hands-on workshop, I'll show you how to leverage Cline (an autonomous coding agent that recently hit 1M VS Code downloads) to dramatically accelerate your development workflow through a practice we call "vibe coding" - where humans focus on high-level thinking and AI handles the implementation.You'll discover:The fundamental principles of "vibe coding" and how it differs from traditional developmentHow to architect solutions at a high level and have AI implement them accuratelyLive demo: Building a production-grade caching system in Go that saved us $500/weekTechniques for using AI to understand complex codebases in minutes instead of hoursBest practices for prompting AI agents to get exactly the code you wantCommon pitfalls to avoid when working with AI coding assistantsStrategies for using AI to accelerate learning and reduce dependency on senior engineersHow to effectively combine human creativity with AI implementation capabilitiesWhether you're a junior developer looking to accelerate your learning or a senior engineer wanting to optimize your workflow, you'll leave this workshop with practical experience in AI-assisted development that you can immediately apply to your projects. Through live coding demos and hands-on exercises, you'll learn how to leverage Cline to write better code faster while focusing on what matters - solving real problems.
The React Developer's Guide to AI Engineering
React Summit US 2025React Summit US 2025
96 min
The React Developer's Guide to AI Engineering
Featured WorkshopFree
Niall Maher
Niall Maher
A comprehensive workshop designed specifically for React developers ready to become AI engineers. Learn how your existing React skills—component thinking, state management, effect handling, and performance optimization—directly translate to building sophisticated AI applications. We'll cover the full stack: AI API integration, streaming responses, error handling, state persistence with Supabase, and deployment with Vercel.Skills Translation:- Component lifecycle → AI conversation lifecycle- State management → AI context and memory management- Effect handling → AI response streaming and side effects- Performance optimization → AI caching and request optimization- Testing patterns → AI interaction testing strategiesWhat you'll build: A complete AI-powered project management tool showcasing enterprise-level AI integration patterns.
Build LLM agents in TypeScript with Mastra and Vercel AI SDK
React Advanced 2025React Advanced 2025
145 min
Build LLM agents in TypeScript with Mastra and Vercel AI SDK
Featured WorkshopFree
Eric Burel
Eric Burel
LLMs are not just fancy search engines: they lay the ground for building autonomous and intelligent pieces of software, aka agents.
Companies are investing massively in generative AI infrastructures. To get their money's worth, they need developers that can make the best out of an LLM, and that could be you.
Discover the TypeScript stack for LLM-based development in this 3 hours workshop. Connect to your favorite model with the Vercel AI SDK and turn lines of code into AI agents with Mastra.ai.