transcript
show notes
Your agent knows a lot, but it doesn't know your company: your policies, your docs, how your team handles things. Knowledge is Mastra's new primitive for that gap: a shared, structured knowledge base your agents can search, read, and update.
Mastra founding engineer Tyler Barnes joins Shane to explain how Knowledge differs from memory, why observational memory is lossy on purpose, and how signals keep pinned knowledge current inside a running agent without breaking the prompt cache.
You'll see scopes, pinned context, and the knowledge graph viewer in Mastra Studio, plus a live demo where one agent pins the pages another agent needs before it starts work. Tyler also previews what's coming next, including an importers API, standalone Knowledge you can connect to Claude Code or Codex, and subconscious memory.
Recorded live on AI Agents Hour, a weekly livestream by Mastra CPO Shane Thomas and CTO Abhi Aiyer. Mondays 12PM Pacific.
📚 READ MORE
Introducing Knowledge: https://mastra.ai/blog/introducing-knowledge
Knowledge docs: https://mastra.ai/docs/knowledge/overview
Signals docs: https://mastra.ai/docs/signals/overview
Observational Memory research: https://mastra.ai/research/observational-memory
📚 MASTRA RESOURCES
Mastra: https://mastra.ai
Mastra on X: https://x.com/mastra_ai
Mastra Discord: https://mastra.ai/community/discord
Mastra GitHub: https://github.com/mastra-ai
Learn Mastra: https://mastra.ai/learn
Principles of Building AI Agents (Book): https://mastra.ai/books/principles-of-building-ai-agents
Patterns for Building AI Agents (New Book): https://mastra.ai/books/patterns-of-building-ai-agents
WHAT IS MASTRA?
Mastra is an open-source TypeScript framework designed for building and shipping AI-powered applications and agents with minimal friction. It supports the full lifecycle of agent development—from prototype to production. You can integrate it with frontend and backend stacks (e.g., React, Next.js, Node) or run agents as standalone services. If you're a JavaScript or TypeScript developer looking to build an agentic or AI-powered product without starting from first principles, Mastra provides the scaffolding, tools, and integrations to accelerate that process.
⏱️ CHAPTERS
00:00 Cold open
00:24 Meet Tyler
01:44 Memory vs knowledge
03:55 How signals work
06:56 How Knowledge works
09:01 State signals and prompt caching
11:24 Pinning context
13:25 Demo
16:56 What's coming next