0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
Commit graph

74 commits

Author SHA1 Message Date
Lennart
6f5a36d8f9
chore(repo): Mention new PR policy (#27829) 2026-10-20 08:38:31 -07:00
Neil Daquioag
b2bb3f6665
docs: fix onboarding quickstart, pnpm version, and template metadata (#23754)
Co-authored-by: Lennart <lekoarts@gmail.com>
2026-09-15 09:40:58 +02:00
Lennart
9e3403e986
fix: clarify licensing and include core package license (#22474)
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-08-27 08:35:15 -07:00
Justin Levine
61b47525e2
docs: use discord.gg/mastra-ai vanity invite in READMEs (#21061) 2026-08-08 18:47:55 -07:00
Alex Booker
fa9ed8e6ac
docs: reorganize getting started documentation (#20620)
## Summary

- reorganize the Get Started flow around creating, developing, and
structuring a Mastra project
- expand the Develop guide with Studio, AI-assisted development, project
structure, and file-based agents
- move Manual Install into Guides and Build with AI into Reference
- update links, sidebars, feature versioning, and direct redirects for
moved or removed pages

## Scope

This is a content-only change. It does not modify documentation
components, theme code, validation scripts, or tests.

Redirects were regenerated and audited for duplicate sources,
self-redirects, cycles, and redirect chains.

## Testing

- `pnpm validate`
- `pnpm lint:remark`
- Vale on every changed documentation file
- `pnpm build`
- `pnpm test:navigation`
- `pnpm test:smoke`
- `pnpm test:og`

The full local `pnpm lint:prose` command still reports four pre-existing
findings in unrelated files; the PR-scoped CI docs lint passes.

---------

Co-authored-by: Lennart <lekoarts@gmail.com>
2026-08-04 11:04:30 +01:00
Lennart
f2e0c72fa2
feat(create-mastra)!: Improved project creation flow (#19825)
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
Co-authored-by: Michael F <tehfreak@awesome39.com>
2026-07-22 10:51:19 +01:00
Lennart
79c48f8f6d
chore(docs): Add hidden agent prompts (#18698) 2026-07-01 14:56:59 +02:00
Lennart
2bb77c5892
chore: Add getting started prompt to README (#17938) 2026-06-15 10:22:24 +02:00
Akash Santra
eac259a920
fix(docs): unify CLI command and fix grammar across docs (#15854) 2026-04-28 08:35:15 -07:00
Ryan Hansen
6dbeeb94a8
feat: auth core, server RBAC, and adapter permission enforcement (#13163)
## Summary

PR 1 of 3 from the `auth-rbac-cms` branch split. This PR adds all
backend plumbing for auth/RBAC. PRs 2 (auth providers) and 3 (playground
UI) depend on this and can land in parallel once this merges.

- **New `@mastra/core/auth` export** — interfaces for RBAC, sessions,
SSO, credentials, ACL, and user management, plus default implementations
(static RBAC provider, cookie/memory session providers, built-in roles)
- **Server auth handlers** — login, signup, logout, session management,
and SSO flows with Zod-validated schemas
- **Route-level permission enforcement** — `requiresPermission` on route
configs with convention-based derivation from path/method (e.g. `GET
/agents/:id` → `agents:read`)
- **Server adapter RBAC middleware** (Hono, Express, Fastify, Koa) —
resolves user permissions via RBAC provider, cookie auth fallthrough for
session-based auth
- **Authorization policy fix** — `isProtectedPath` now uses
`isProtectedCustomRoute` instead of `!isCustomRoutePublic`, fixing a bug
where studio UI couldn't load in production
- **Deployer updates** — `MASTRA_PACKAGES_FILE` env var injection,
dynamic CORS origin when auth configured
- **Client SDK** — `getFullUrl` helper, `AuthCapabilities` type export

### Key behavioral changes

| Change | Risk | Mitigation |
|---|---|---|
| `SimpleAuth<TUser>` → `SimpleAuth<TUser extends EEUser>` | Medium —
requires `id` + `email` fields | Intentional; compile-time catch |
| `isProtectedPath` logic change | Medium — authorization policy | New
tests cover this; required for studio login in prod |
| Cookie fallthrough in Hono auth middleware | Low | Falls back to 401
if no user found |
| No RBAC → authenticated users get full access | Low — intentional |
Auth-only mode preserved |
| CORS dynamic origin when auth configured | Low | Only activates with
auth config; user can override |

### Deviation from plan

`deployers/cloud/package.json` — the plan called for adding
`@mastra/auth-cloud` dependency, but that package is created in PR 2.
Omitted here to avoid workspace resolution failure; PR 2 will add it.

### Fixed pre-existing test bug

All 4 adapter RBAC tests had a failing test ("should derive permissions
from route path/method when not explicitly set") that registered an API
handler at `/agents/test` with no prefix. That's a frontend/SPA path —
real API handlers are always under `/api/*`. Fixed the test to use
`prefix: '/api'` so the route is at `/api/agents/test`, matching how
routes are actually registered. Verified the bug exists on
`auth-rbac-cms` with clean install + build.

## Test plan

- [x] `pnpm build:packages` — 35/35 tasks pass
- [x] Core auth tests (cookie.test.ts) — 16/16 pass
- [x] Server tests (permissions, helpers, system) — 177/177 pass
- [x] Hono RBAC tests — 21/21 pass
- [x] Express RBAC tests — 15/15 pass
- [x] Fastify RBAC tests — 15/15 pass
- [x] Koa RBAC tests — 15/15 pass
- [x] Client SDK tests (base.test.ts) — 5/5 pass
- [ ] Verify no auth configured → all existing behavior identical (no
403s, no auth prompts)
- [ ] Verify pre-commit hooks pass (eslint + prettier)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Enterprise auth: SSO and credentials sign-in/sign-up, login/logout,
cookie and in-memory sessions, auth capabilities and current-user
endpoints.
* RBAC: default roles, static RBAC provider, route-level permission
enforcement and middleware across adapters.
  * Client: full-URL helper; system responses include isDev.
* Deploy/build: bundling emits package metadata; deployers set runtime
packages file and adjust CORS when auth is enabled.

* **Bug Fixes**
  * Studio UI loads correctly in production.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Shane Thomas <shane@codekarate.com>
Co-authored-by: Mastra Code (anthropic/claude-opus-4-6) <noreply@mastra.ai>
Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
2026-03-03 22:49:10 +01:00
Lennart
b6fd5edf56
chore: Add docs styleguides (#13263)
## Description

- Add docs styleguides
- Add AGENTS.md files and point CLAUDE.md file to it
- Add mastra-docs claude skill
- Improve prompts on writing docs

## Related Issue(s)

Fixes DEVED-110

## 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)
- [X] 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**
* Added comprehensive docs and styleguides (DOC, STYLEGUIDE, GUIDE_* ,
REFERENCE) and new AGENTS.md; reorganized docs content and contributor
workflow.
* Replaced extensive CLAUDE.md content with pointer to AGENTS.md;
cleared docs changelog and removed some legacy guideline files.
* Updated CLI/pr/changeset prompts and guidance to require multiple
changesets for multi-package changes and warn against very long
changesets.

* **Community**
* Updated Code of Conduct with expanded scope and clearer enforcement
guidance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-19 13:45:33 +01:00
Sam Bhagwat
ab958ae7c8
Update Twitter follow link in README (#12723)
## 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:
Fixes #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 Twitter Follow badge URL in README to reflect the current
social media handle.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-05 10:42:43 -08:00
Lennart
1edec97343
feat(codemod): Add more v1 codemods (#9959)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-11 10:42:27 +01:00
Hashim Warren
fd628b8d5e
Add MCP server authoring section to README (#9885)
## Description

This details a significant capability of Mastra that wasn't listed in
the Readme



## 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)
- [x] 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 README with information about MCP servers and their
capabilities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-11-10 14:08:53 -08:00
Grayson Hicks
9e0a85d11d
Docs/simplify intro (#9794)
## 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)
- [ x] 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 product branding and introductory documentation.
* Comprehensive migration guide to modernized APIs featuring enhanced
consistency, improved type safety, and better modularity across agents,
workflows, storage, and observability.

* **Chores**
  * Added release metadata for upcoming patch.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-11-05 21:35:01 -08:00
Lennart
8a37bddb6d
chore(repo): Improve READMEs (#8819)
## Description

With our recent improvements to the docs, I'm copying some of that over
to some key README files.

## 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)
- [X] 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
2025-10-14 08:08:20 -07:00
Ali Ihsan Nergiz
f6be9cc207
chore(docs): Add codex mcp setup instructions (#8760)
Co-authored-by: Lennart <lekoarts@gmail.com>
2025-10-14 13:05:24 +02:00
Scott Willeke
6573df1219
docs: explain how to use @mastra/mcp-docs-server in Claude Code (#7756)
## Description

<!-- Provide a brief description of the changes in this PR -->
Readme updates to show how to add @mastra/mcp-docs-server to Claude Code

## 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)
- [x] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [x] I have made corresponding changes to the documentation (if
applicable)
- [x] I have added tests that prove my fix is effective or that my
feature works (N/A)
2025-09-12 11:51:42 -04:00
Allie Howe
4c53569914
Add Vulnerability Reporting Instructions (#7119)
## Description

Added instructions to the readme for vulnerability reporting


## 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)
- [X ] 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

---------

Co-authored-by: Allie Howe <allie@secvendors.cmo>
Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-08-28 19:40:31 -07:00
Sam Bhagwat
afd929de99
chore: Update main README (#6792) 2025-08-18 09:44:08 +02:00
Kehinde
cceecd4be5
fix(docs): Diff feature for docs (#5912)
## Description

Diff feature for the docs

Use `[!code ++]` and `[!code --]` to mark added and removed lines.

Example Usage: 
<img width="653" height="268" alt="image"
src="https://github.com/user-attachments/assets/d3307fe3-548e-4a62-8943-d5f3a17b8474"
/>

Docs Preview: 
<img width="1328" height="526" alt="CleanShot 2025-07-14 at 17 47 48@2x"
src="https://github.com/user-attachments/assets/c85fac17-ea8d-4b34-b722-622e1f89d816"
/>

## 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

---------

Co-authored-by: Paul Scanlon <pauliescanlon@gmail.com>
Co-authored-by: wardpeet <ward@coding-tech.com>
2025-07-16 11:34:06 +01:00
ELABBASSI Hicham
f656b33132
fix(docs): readme typo (rag) (#5953)
## Description

This fixes a small typo in the readme.md file 😅 

## 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)
- [x] 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
2025-07-15 16:22:39 -07:00
NikAiyer
eed55d7d3a
quotes table names for vector and storage to allow for camelcase (#5148)
## Description

<!-- Provide a brief description of the changes in this PR -->
This PR fixes an issue with PG where camelCase names (as well as any
indexName that contained uppercase letters) weren't being saved
properly. The indexNames were not being quoted, so the case of the index
names were not being preserved. This PR changes this to quote the table
and schema names to allow for different cases.

## 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
2025-06-16 16:06:06 -07:00
Richardson Dackam
7ce8c0ffae
Update README.md (#5074)
## Description

Add MCP server info to the main documentation. 

It was buried on this page https://mastra.ai/blog/introducing-mastra-mcp
under a link to this node package @mastra/mcp-docs-server which is very
non-obvious to find.

Since this is drastically going to improve our experience with Mastra,
it should be on the homepage.

## 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)
- [x] 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

---------

Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-06-16 15:18:10 -07:00
Radovenchyk
f055141d99
docs: badge and link to codeql workflow added to documentation (#4610)
## 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
2025-06-03 14:00:52 +02:00
Radovenchyk
c34546efa2
docs: add a link to the y combinator badge (#4594)
## 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

Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
2025-06-03 10:11:17 +02:00
Radovenchyk
74e7c79f4f
docs: added stars links for icons (#4580)
## 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
2025-06-02 20:11:01 +02:00
Marc Klingen
6957b1bab0
chore: add discord link to readme shield (#4110)
## Description

Wanted to join discord, was surprised that the shield did not link to
it. Fixed it.
2025-05-06 12:59:11 -07:00
Marvin Frachet
b11c8f04d3
fix: more docs broken link fixes (#3551)
## Description

More and more redirects regarding docs

## 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 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
2025-04-10 10:41:00 +02:00
Kenny
5509f79e1c
use @mastra/core for package and download shields. (#3510)
## Description
make download and package point to `mastra/core`

<!-- 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)
- [x] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [x] I have performed a self-review of my own code
- [x] 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
2025-04-09 10:39:47 +01:00
Kenny
6159327b99
add shields to readme (#3483)
## Description

Add relevant github badges.

This include
1. npm package
2. Github stars
3. Discord online users
4. Follow mastra_ai on X
5. Downloads per month

## 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)
- [x] 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
2025-04-08 11:18:16 +01:00
NikAiyer
5ae0180e08
remove references to prefixed docs in README and ui (#3413)
## Description

This PR removes references to old docs with prefixed numbers. These docs
redirect to the correct pages, but this handles scubbing them
completely.

## 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 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
2025-04-02 13:37:09 -05:00
koji
f9b6ab54bf
New llm provider | cerebras (#2907)
add Cerebras as a llm provider
https://inference-docs.cerebras.ai/introduction
https://sdk.vercel.ai/providers/ai-sdk-providers/cerebras


![2025-03-11 22_28_15-Mastra Playground and 6 more pages - Personal -
Microsoft​ Edge
Beta](https://github.com/user-attachments/assets/415fd21e-aa00-4fc7-99db-f986711e7613)

---------

Co-authored-by: Tyler Barnes <tylerdbarnes@gmail.com>
2025-03-13 09:45:39 -07:00
koji
1405e463fe
Update groq model (#2905)
update Groq's default model and add Groq's link to LLM provider API key
section

```shell
An error occurred while processing your request. The model `llama3-groq-70b-8192-tool-use-preview` has been decommissioned and is no longer supported. Please refer to https://console.groq.com/docs/deprecations for a recommendation on which model to use instead.
```


https://console.groq.com/docs/deprecations#january-6-2025-llama-3-groq-tool-use-models

---------

Co-authored-by: Ward Peeters <ward@coding-tech.com>
2025-03-13 00:50:46 +01:00
light planck
44f68aadc2
docs: fix typo in README (#2774)
I fixed typo in README.

Typescript -> TypeScript

Ref: https://www.typescriptlang.org/
2025-03-05 13:58:14 -08:00
Kenny
e2de1d3b47
add beta label in readme (#1967)
update badge label to beta
2025-02-20 08:11:56 -08:00
Ward Peeters
f134ffd5cf chore: update readme 2025-02-19 16:45:35 +01:00
Abhi Aiyer
0160314cdc
Working PR: Leverage @ai-sdk directly (#1776)
- Embedding moves
- Updating docs
- Leverage @ai-sdk directly

---------

Co-authored-by: NikAiyer <nick.aiyer@gmail.com>
Co-authored-by: Shane Thomas <shane@codekarate.com>
Co-authored-by: Your Name <you@example.com>
2025-02-09 09:15:32 -08:00
Abhi Aiyer
97d12d7b7d
Update README.md (#1730) 2025-02-05 15:40:43 -08:00
Shane Thomas
323e09e466
Use 4o-mini in README and starter (#1726) 2025-02-05 15:10:53 -08:00
Tyler Barnes
c498489bb1
fix: imports (#1661)
Now that you can't import most things from "@mastra/core" we need to
update all our internal + example imports

---------

Co-authored-by: tyler barnes <tylerbarnes@Mac.lan>
2025-01-31 21:22:10 +01:00
Shane Thomas
740daec2ce
Fix discord link (#1529) 2025-01-24 15:37:09 -08:00
Shane Thomas
4232adf724
Remove syncs from docs (#1498) 2025-01-23 11:13:03 -08:00
Steven Moody
5a3d86e5a8 Fix broken links in README.md 2025-01-14 13:46:29 +07:00
Joshua Folorunsho
5d7f4d385e update readme 2025-01-10 09:55:43 +01:00
Kenny
5eb565aa4a
Update README.md
update readme
2024-12-31 17:56:03 +01:00
NikAiyer
4c157f4d9c remove maxSteps from agent class in docs and README 2024-12-22 08:38:11 -06:00
Joshua Folorunsho
b50be70084 refactor agent to use new generate api 2024-12-16 15:25:17 +01:00
Abhi Aiyer
440495639c
Update README.md 2024-12-11 11:32:40 -08:00
Abhi Aiyer
1defbe37ec Merge main 2024-12-10 17:25:30 -08:00