mastra-ai/mastra

★ 28,209⑂ 0

Mastra is the modern TypeScript framework for AI-powered applications and agents.

About mastra-ai/mastra

mastra-ai/mastra is an open-source project on GitHub, mainly written in TypeScript. Mastra is the modern TypeScript framework for AI-powered applications and agents. It currently holds 28,209 stars and 0 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Agent Skills board and on the AI AI Agent Skills list.

GitHub Repository Details

Repository mastra-ai/mastra · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

Mastra

npm version CodeQl GitHub Repo stars Discord Twitter Follow NPM Downloads Static Badge

Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

It includes everything you need to go from early prototypes to production-ready applications. Mastra integrates with frontend and backend frameworks like React, Next.js, and Node, or you can deploy it anywhere as a standalone server. It's the easiest way to build, tune, and scale reliable AI products.

Why Mastra?

Purpose-built for TypeScript and designed around established AI patterns, Mastra gives you everything you need to build great AI applications out-of-the-box.

Some highlights include:

Get started

The recommended way to get started with Mastra is by running the command below:

npm create mastra@latest

Follow the Installation guide for step-by-step setup with the CLI or a manual install.

If you're new to AI agents, check out our templates, course, and YouTube videos to start building with Mastra today.

Alternative: Use this pre-built prompt to get started

Create a new Mastra project. Mastra is a framework for AI applications and agents on a modern TypeScript stack. Before running the command, ask these questions one at a time and wait for each answer unless it was already provided:

1. Project name? (default: "my-mastra-app") 2. Provider? (required; options: "openai", "anthropic", "google", "xai")

If the provider isn't supported, ask again and list the supported values.

Run: npm create mastra@latest -- --llm

The command creates a default Mastra project, installs Mastra skills for detected coding assistants, and initializes Git when appropriate.

After creation, enter the project directory and start the dev server: npx bgproc start -n -w -- npm run dev

Open Mastra Studio at http://localhost:4111. Studio is the interface for building, testing, and managing agents, workflows, and tools.

Also mention that the Mastra model router provides access to thousands of models: https://mastra.ai/models

Documentation

Visit our official documentation.

Build with AI

Learn how to make your agent a Mastra expert by following the Build with AI guide.

Contributing

Looking to contribute? All types of help are appreciated, from coding to testing and feature specification. Read CONTRIBUTING.md for more details on how to get involved.

If you are a developer and would like to contribute with code, please open an issue to discuss before opening a Pull Request.

Information about the project setup can be found in the development documentation

Support

We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.

It's also super helpful if you leave the project a star here, at the top of the page

Licensing

This repository uses a dual-license model:

See LICENSE.md for the full license mapping and ee/LICENSE for the enterprise license terms.

Security

We are committed to maintaining the security of this repo and of Mastra as a whole. If you discover a security finding we ask you to please responsibly disclose this to us at security@mastra.ai and we will get back to you.

GitHub Stars & Activity

28,209Stars
0Forks
0Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars28,209
Forks0
Open issues0
Primary languageTypeScript
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

deepseek-ai / deepseek-harness

TypeScript★ 231,207⑂ 0
2

n8n-io / n8n

TypeScript★ 205,476⑂ 0
3

langgenius / dify

TypeScript★ 156,633⑂ 0
4

google-gemini / gemini-cli

TypeScript★ 107,101⑂ 0
5

nexu-io / open-design

TypeScript★ 97,301⑂ 0
6

thedotmack / claude-mem

TypeScript★ 94,340⑂ 0
7

lobehub / lobehub

TypeScript★ 82,685⑂ 0
8

stablyai / orca

TypeScript★ 73,593⑂ 0

More AI Rankings