Software Engineering Daily

Building AI Agents on the Frontend with Sam Bhagwat and Abhi Aiyer

46 snips
Oct 30, 2025
Sam Bhagwat, Co-founder and CEO of Mastra, and Abhi Aiyer, Co-founder and CTO, dive deep into the world of AI agents designed for frontend developers. They tackle the challenges of building full-stack AI applications using TypeScript, highlighting Mastra's tools and workflows. They discuss unique use cases, such as CAD generation and industry-specific vertical agents. With insights on developer experience and a roadmap for future features, they offer practical advice for aspiring AI engineers eager to innovate in this rapidly evolving space.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
ANECDOTE

From Failed CRM To Mastra

  • Sam and Abhi built an internal CRM called Kepler and struggled implementing AI features with existing TypeScript libraries.
  • After nine months they scrapped the CRM and decided to build Mastra to fill the tooling gaps they encountered.
ADVICE

Prefer TypeScript For Frontend AI Tooling

  • Use TypeScript for AI tooling if your team and frontend stack are JavaScript/TypeScript to reduce friction and speed iteration.
  • Build tooling where developers are comfortable instead of forcing a Python stack when unnecessary.
INSIGHT

Mastra Provides Composable Agent Primitives

  • Mastra is a TypeScript framework that provides agents, tools, workflows, RAG, memory, and a dev playground as composable primitives.
  • It targets both building agentic features inside SaaS apps and creating standalone verticalized agents for industries.
Get the Snipd Podcast app to discover more snips from this episode
Get the app