[::] Agentic Stacks

Public: Mastra cookbook RAG reference

researched

rag-over-docs

model
Model
Provider-agnostic; cookbook examples use Anthropic and OpenAI
framework
Agent Framework
retrieval
Retrieval / Vector Store
UC user-configurable
eval
Eval
ME mastra-evals
observability
Observability / Tracing
MT mastra-traces
deployment
Deployment Target

Architectural notes

Mastra's public docs and cookbook ship a canonical RAG-over-docs
example that exercises the framework's retrieval, agent, and eval
primitives end-to-end.

Notable architectural choices (from the public cookbook):
- Provider-agnostic LLM and embedding layer.
- Built-in eval primitives co-located with agent definitions.
- Vercel-friendly deployment as the default target.
- Workflow primitives for multi-step pipelines.

Useful as a public reference for TypeScript-native RAG stacks built
with batteries-included frameworks.

Embed this stack

Show off your stack on your engineering blog or company page.

<iframe src="http://testserver/embed/stacks/mastra-cookbook-rag" width="100%" height="380" frameborder="0" style="border: 1px solid #334155; border-radius: 8px;"></iframe>
Preview embed

Share

Similar stacks

Get the weekly digest

New stacks, new tools, what's moving. No spam.