## Description
We haven't maintained these in a long time. Lets remove them
## Related Issue(s)
## Type of Change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update
## Checklist
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have addressed all Coderabbit comments on this PR
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5
This PR cleans up the repository by deleting a large collection of
example code that hasn't been updated in a while. It's like removing old
instruction manuals from a storage closet to keep things tidy and
prevent confusion—the examples still work, but the team decided they're
not actively maintaining them anymore so it's better to remove them.
## Summary
This PR removes approximately 40+ unmaintained example projects from the
`examples/` directory across multiple categories:
### Agent Examples Removed
- `examples/a2a/` - Agent-to-agent communication example (6 files)
- `examples/auth/` - Authentication example with weather agent (6 files)
- `examples/basics/agents/bird-checker/` - Anthropic-based bird
identification agent
- `examples/basics/agents/hierarchical-multi-agent/` - Supervisor agent
orchestration example
- `examples/basics/agents/multi-agent-workflow/` - Sequential
multi-agent workflow
- `examples/basics/agents/system-prompt/` - OpenAI system prompt example
- `examples/basics/agents/using-a-tool/` - Tool integration example
- `examples/basics/agents/voice-capabilities/` - Voice input/output
agent with PlayAI
- `examples/basics/agents/workflow-as-tools/` - Workflow-based tool
example
### Evaluation (Evals) Examples Removed
Removed 17 evaluation metric examples including:
- Answer relevancy, bias, completeness, content similarity
- Context-related metrics (position, precision, relevancy)
- Contextual recall, faithfulness, hallucination detection
- Keyword coverage, prompt alignment, summarization
- Textual difference, tone consistency, toxicity
- Word inclusion
### RAG (Retrieval-Augmented Generation) Examples Removed
Removed 23 RAG examples including:
- Basic chunking examples (delimiters, size, HTML, JSON, markdown, text)
- Embedding examples (chunk arrays, text chunks, Cohere embeddings)
- Vector store integrations (pgvector, Pinecone, Chroma, LibSQL)
- Advanced RAG patterns (filtering, graph RAG, hybrid search, cleanup,
chain-of-thought)
- Metadata extraction and database-specific configuration
### Scope of Changes
Each example removal includes:
- Environment configuration files (`.env.example`)
- Package manifests (`package.json`)
- TypeScript/JavaScript implementation files (`index.ts`)
- Documentation (README.md)
- Changelog files (CHANGELOG.md)
- Git ignore rules (`.gitignore`)
- TypeScript configuration (`tsconfig.json`)
The PR is purely destructive with no new code additions or replacements.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Description
Updated all example projects to use zod v4.3.6, matching the workspace
catalog version. This fixes zod version mismatch issues when examples
are linked to the workspace.
**Changes:**
- Updated 109 example `package.json` files: zod from v3 (`^3.25.76`,
`^3.25.0`, `^3`) to `^4.3.6`
- Updated 109 example `packageManager` fields to
`pnpm@10.29.3+sha512.498e1fb4cca5aa06c1dcf2611e6fafc50972ffe7189998c409e90de74566444298ffe43e6cd2acdc775ba1aa7cc5e092a8b7054c811ba8c5770f84693d33d2dc`
(matching root)
- Fixed 2 zod default imports in `examples/agent-v6` to use named
imports (`import { z } from 'zod'`)
- Updated root `package.json` to include SHA hash for `pnpm@10.29.3`
## Type of Change
- [x] Code refactoring
## Checklist
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated zod dependency to v4.3.6 across all example projects,
addressing compatibility with the latest major version.
* Upgraded pnpm package manager to version 10.29.3 across all projects
for improved performance and bug fixes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Description
Updates next
## Related Issue(s)
https://github.com/mastra-ai/mastra/security/dependabot/719
## Type of Change
- [ X] Vuln patch
## Checklist
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated Next.js to 15.5.8 across example apps.
* Added or adjusted pnpm overrides and local package links in several
examples (introducing local links for client-js, loggers, pg, and
voice-openai).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Allie Howe <username@users.noreply.github.com>
Co-authored-by: Ward Peeters <ward@coding-tech.com>
Co-authored-by: Mastra Code (anthropic/claude-opus-4-6) <noreply@mastra.ai>
## Description
Patching a critical vulnerability in React Server Components
https://vercel.com/changelog/cve-2025-55182
## Type of Change
- [ X] Vuln Patch
## Checklist
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Bumped Next.js dependency versions across multiple example projects
and internal packages to align on the latest patch release, improving
compatibility and stability.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Allie Howe <username@users.noreply.github.com>
## Description
<!-- Provide a brief description of the changes in this PR -->
## Related Issue(s)
<!-- Link to the issue(s) this PR addresses, using hashtag notation:
#123 -->
## Type of Change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update
## Checklist
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Updated docs and examples to show agent identifier configuration
consistently.
* **Configuration Improvements**
* Agents can now include explicit identifiers, improving management and
retrieval of agent instances.
* **Bug Fixes**
* Minor wording corrections in example instructions for clearer text.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Description
Stop having multiple `packageManager` fields in the monorepo.
## Related Issue(s)
None
## Type of Change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update
## Checklist
- [x] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] I have generated a changeset for this PR
Signed-off-by: Sora Morimoto <sora@morimoto.io>