# July 4, 2026 - Mastra Support

19 Mastra agent recipes added to the registry.

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown variants are available by appending `.md` to any URL or sending an `Accept: text/markdown` header. An agent skill is available at [/.well-known/agent-skills/site-skill.md](/.well-known/agent-skills/site-skill.md).





We've added Mastra as a supported framework, bringing the total to 57 agent recipes across Eve, Flue, and Mastra.

<div className="mt-6 flex w-full items-center justify-center rounded-lg border bg-muted/50 py-32">
  <MastraIcon className="size-12" />
</div>

Mastra is a TypeScript framework for building AI agents with support for workflows, RAG, memory, and tool-calling. Today, we're adding complete support for Mastra's file-based agent convention.

### What's New [#whats-new]

* **19 Mastra agents** - Every recipe from the catalog is now available for Mastra: `ai-seo-audit`, `browser-agent`, `chat-with-pdf`, `chat-with-youtube`, `claw`, `company-knowledge`, `csv-to-questions`, `deep-search`, `docs-chatbot`, `docs-expert`, `extract-design-md`, `feedback-summary`, `flashcards-pdf`, `github-review`, `google-sheets`, `meeting-notes`, `slack-agent`, `text-to-sql`, and `weather`.
* **File-based agent pattern** - All agents follow Mastra's convention with `config.ts`, `instructions.md`, `tools/*.ts`, `memory.ts`, and `workflows/` where applicable.
* **Production-ready** - Agents include proper tooling, memory, workflows, and subagents matching official Mastra template repos.

### Installation [#installation]

Install any Mastra agent with the shadcn CLI:

```bash
npx shadcn@latest add @agentcn/mastra/weather
```

Or copy the files manually:

```bash
npm install @mastra/core @mastra/libsql @mastra/memory
```

### File-Based Convention [#file-based-convention]

Mastra agents use a file-based convention where each option maps to a file:

```text
agents/weather/
├── config.ts          # Model and agent config (uses agentConfig())
├── instructions.md    # Agent instructions
├── memory.ts          # Memory instance
├── tools/
│   └── get_weather.ts # Tool definition (default export)
└── workflows/
    └── weather.ts     # Workflow definition
```

```tsx
// config.ts - Uses agentConfig() from @mastra/core/agent
import { agentConfig } from "@mastra/core/agent";

export default agentConfig({
  model: "openai/gpt-5.2",
});
```

### Switching Frameworks [#switching-frameworks]

Use the framework switcher on any agent page to see the Eve, Flue, and Mastra versions side by side. The agents work the same way — only the implementation changes.

<Button size="sm">
  <Link href="/docs/agents/mastra" className="mt-6 no-underline!">
    Browse Mastra Agents
  </Link>
</Button>
