Members-Only
Recent Talks & Demos are for members only
You must be an AI Tinkerers active member to view these talks and demos.
Squad: LLM Multi-Agent Simulation
Building a multi‑agent simulation with GPT‑4o, Claude, and toolkits in a Phaser game, covering architecture, agent coordination, memory handling, and live emergent interaction demos.
Building multi-agent simulations is chaotic, rewarding, and unexpectedly fun. I’ll demonstrate how I integrated state-of-the-art large language models (LLMs) like GPT-4o and Claude, diverse agent toolkits (reasoning, navigation, communication, web browsing, coding, art generation), and a robust game engine into Squad – a dynamic AI playground. Squad enables autonomous agents to collaborate, compete, and occasionally spiral into fascinating emergent behaviors.
The talk covers:
Technical Architecture:
- Frontend:
Next.js, Phaser game engine, Zustand state management
- Backend: Cloudflare serverless functions, Vercel AI SDK, Supabase realtime DB
Agent Design Patterns:
- Practical approaches for integrating diverse AI tools with agents
- Strategies for overcoming challenges like agent coordination, memory consistency, and state synchronization
Emergent Behaviors:
- Real-world examples of complex interactions among tool-rich agents
- Live demos showcasing dynamic agent interactions, unexpected collaborations, and humorous breakdowns
This project demonstrates an interactive map simulation for controlling agents with play/reset functions.
- Vercel AI SDKThe Vercel AI SDK is the open-source TypeScript toolkit: a unified API for building AI-powered applications with LLMs from providers like OpenAI, Anthropic, and Google.This is the definitive TypeScript toolkit for building fast, reliable AI applications. The SDK provides a unified API, abstracting away provider-specific boilerplate so you can swap models—like OpenAI's GPT-4o or Anthropic's Claude 3.5 Sonnet—with a single line change. It features real-time response streaming, type-safe structured object generation via `generateObject`, and ready-to-use hooks such as `useChat` for popular frameworks: React, Next.js, and Svelte. Focus on agent logic and user experience; the SDK handles the complex, multi-provider integrations.
- NextJSNext.js is the full-stack React framework: build and deploy high-performance, production-ready web applications with integrated server-side rendering (SSR) and static generation (SSG).Next.js, developed by Vercel, is the definitive React framework for the web, enabling developers to build full-stack applications with exceptional speed and scalability. It leverages the latest React features, including Server Components and Server Actions, to deliver a modern architecture. Key optimizations are built-in: flexible rendering strategies (SSR, SSG, Incremental Static Regeneration), automatic code splitting, and Rust-based tooling (like Turbopack) for fast builds. This structure ensures superior performance, better SEO, and a streamlined developer experience for projects of any size.
- CloudflareCloudflare is the global cloud platform that secures, accelerates, and optimizes every internet connection: your network, applications, and teams.Cloudflare is an essential internet infrastructure and security provider. We operate one of the world's largest networks, proxying approximately 20% of the web and handling an average of 45 million HTTP requests per second. Our platform delivers integrated security (DDoS mitigation, WAF, Zero Trust) and performance (CDN, edge computing via Workers) from 330+ cities worldwide. This architecture ensures millions of internet properties—from small blogs to Fortune 1000 companies—remain fast, reliable, and protected against sophisticated attacks.
- PhaserPhaser is the premier open-source HTML5 framework for building fast, 2D browser games using JavaScript or TypeScript.Phaser is a robust, free, and open-source HTML5 game framework: it specializes in 2D development for desktop and mobile web browsers. Developed by Richard Davey and commercially maintained by Phaser Studio Inc., the framework uses both WebGL and Canvas rendering for optimal performance. Developers leverage its modular architecture and extensive API (over 2000 examples are available) to create high-performance games with JavaScript or TypeScript. It is one of the most starred game frameworks on GitHub, confirming its status as a reliable industry tool for everything from indie projects to major brand campaigns.
- ValtownVal Town is a social programming environment for writing, running, and instantly deploying serverless JavaScript and TypeScript functions.Val Town is a cloud-based platform, launched in 2022, that enables developers and technical users to quickly create and deploy small, powerful backend utilities, known as 'vals.' Users can write code to build APIs, schedule cron jobs, automate Slack workflows, and persist data without managing infrastructure (like AWS boilerplate). The platform simplifies cloud computing and deployment, often described as 'Zapier for developers,' by focusing on end-user programming and making code feel more like editing a spreadsheet than using a traditional IDE. New functions are live and deployed on the edge in milliseconds, supporting use cases from AI agents to custom GTM flows.