Prompting & Context
Prompt design, context engineering and caching.
7 posts
Introducing Token Limiting for Mastra Agents
Real-time caps on context window and response lengths.
Aug 17, 2026ArticlePrompt caching: how it works and how to cut LLM token costs
Learn how prompt caching works, how providers price cached tokens, and how to structure prompts and monitor cache hits to cut LLM token costs.
Aug 14, 2026ArticleWhat is prompt engineering? A developer's guide
What is prompt engineering? Learn the definition, techniques, best practices, and how prompts evolve into context engineering for production AI agents.
Aug 7, 2026ArticleContext engineering for AI agents: a practical guide
Learn what context engineering is, how it differs from prompt engineering, and the strategies for managing context in production agent systems.
Jun 2, 2026BlogBuilding Low-Latency Agents That Help Humans Respond on Live Calls
The engineering and context principles Micro uses to deliver sub-3s answers on live calls with Mastra.
May 15, 2026BlogIntroducing Response Caching for Mastra Agents
You can now cut costs and reduce latency with cached responses.
May 13, 2025BlogAI prompting techniques
Learn about effective AI prompting techniques, including types of prompts, handling their output, and evals.