Build Your Own AI Agent from Scratch (Mastra + TypeScript)
Learn to build your own AI agent that actually does work for you, not just answers questions.
In this video, I show you the core patterns behind every useful AI agent: tools, memory, webhooks, and scheduled tasks. We build a meeting prep assistant with Mastra (TypeScript) as the example, but the patterns apply to any agent you want to build.
Building an AI agent?
I help teams design and ship agentic systems — from architecture to production.
See how I can help
Stop Giving Your Agent Every Tool
Large tool catalogs break agent context. Tool search fixes that by letting agents discover and load only what they need.

Stop Letting AI Agents Run the Whole Workflow
One inbox agent should not classify, research, score, route, and draft replies in one loose loop.

Harness Engineering: 4 Levers to Diagnose Any AI Agent
Most agent failures aren't model failures. They're harness failures. Here's the 4-lever framework I use to diagnose what broke.

Building Approval Gates AI Agents Can't Route Around
How to wire human-in-the-loop on tool calls — and why system prompt instructions like "always ask before sending" don't actually hold.
Get new videos and posts by email
Weekly videos on AI engineering, plus deeper dives in the newsletter.
Occasional emails, no fluff.