Blog — Jan 2025 till Nov 2024

Updates, tutorials, and engineering deep-dives on building AI agents, workflows, and TypeScript tooling with Mastra.

All posts

Jan 16, 2025

RAG tutorial: Setting up a RAG pipeline

A guide to setting up a simple RAG pipeline with Mastra

Nik AiyerRAG
Jan 13, 2025

Building workflows with Mastra

A few patterns for building workflows

Abhi AiyerWorkflows
Jan 10, 2025

Mastra Changelog 2025-01-10

Mastra's changelog for Dec 27th 2024 through Jan 10th, 2025

Sam BhagwatChangelog
Nov 20, 2024

A framework for the next million AI developers

The next generation of AI products will be built with Apis written in Typescript

Sam BhagwatCompany
Nov 11, 2024

AI engineering, two years later

What's changed in AI engineering over the last two years: models, agents, knowledge, tracing, evals

Sam BhagwatAgents

Ship better agents

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:

Project name? (default: "my-mastra-app")
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 <project-name> -- --llm <provider>`

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 <project-name> -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
Quickstart