Mastra author: building agents is hard because the LLM is just the start of 20+ primitives

latticecut · x · 2026-12-01

Sam Bhagwat (calcsam), author of Mastra, argues agents are hard to build because the LLM is surrounded by a whole swath of separate hard problems: agent loop, workflows, tool calling, MCP, sandboxes, browser use, search, guardrails, gateways, model routing, durability, background tasks, subscriptions, message channels, skills, subagents, integrations, evals, datasets, annotations, traces, metrics, memory, context, auth, deployment. Solve only a couple and your agent still sucks—so a good framework must offer a domain-complete set of primitives that work well together, which is why Mastra packs in so much.

Original post →

More from coding & agent

coding & agent channel →