Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Agent framework - verified

Mastra: features, install and latest version

Mastra is an AI agent framework maintained by Mastra (Kepler Software, Inc.). As its docs describe it: Mastra is a TypeScript framework for building AI agents and applications, combining agents, graph-based workflows, memory, evals and observability, with models addressed through a provider/model router. It supports TypeScript. License: Apache-2.0 (code in ee/ directories is under the Mastra Enterprise License). Latest release: TypeScript package @mastra/core 1.78.0 (October 15, 2026).

Homepage - Source on GitHub - License - In our tools directory

Languages
1
Latest TypeScript
1.78.0
Released
2026-10-15
Features documented
10 of 10

Install

Copied verbatim from the page linked under each command.

TypeScript

Terminal
npm create mastra@latest

Source: github.com/mastra-ai/mastra/blob/main/README.md

Terminal
npm install @mastra/core@latest zod@latest typescript@latest @types/node@latest mastra@latest

Source: mastra.ai/docs/agents/overview

Quickstart

The first example from the official docs, unchanged. It may need an API key for the model provider it calls.

TypeScript
import { Agent } from '@mastra/core/agent'

export const testAgent = new Agent({
  id: 'test-agent',
  name: 'Test Agent',
  instructions: 'You are a helpful assistant.',
  model: 'openai/gpt-5.6-sol',
})

Source: mastra.ai/docs/agents/overview

Features

What the Mastra docs say it supports. Not stated means the docs do not say either way.

Mastra documented features, each with its source
FeatureValueSource
MCPYesmastra.ai/reference/tools/mcp-client
Multi-agentYesmastra.ai/docs/guides/multi-agent-systems
Durable executionYesmastra.ai/reference/workflows/run-methods/restart
Human in the loopYesmastra.ai/docs/agents/human-in-the-loop
StreamingYesmastra.ai/docs/agents/overview
Structured outputYesmastra.ai/docs/agents/overview
TracingYesmastra.ai/docs/observability/tracing/overview
MemoryYesmastra.ai/docs/agents/overview
EvalsYesmastra.ai/docs/evals/overview
Model-agnosticYesmastra.ai/models
LanguagesTypeScriptSee sources below
LicenseApache-2.0 (code in ee/ directories is under the Mastra Enterprise License)github.com/mastra-ai/mastra/blob/main/LICENSE.md
Latest TypeScript release@mastra/core 1.78.0October 15, 2026github.com/mastra-ai/mastra/releases

Mastra on Developers Digest

Compare Mastra

FAQ

Does Mastra support MCP?

Yes, per https://mastra.ai/reference/tools/mcp-client

Which languages does Mastra support?

TypeScript. Published packages: @mastra/core (TypeScript).

How do I install Mastra?

For TypeScript: "npm create mastra@latest", as shown at https://github.com/mastra-ai/mastra/blob/main/README.md. This page lists 2 install commands, each copied from the linked source.

What is the latest version of Mastra?

As of October 18, 2026: TypeScript package @mastra/core 1.78.0 (October 15, 2026), https://github.com/mastra-ai/mastra/releases.

What license is Mastra released under?

Apache-2.0 (code in ee/ directories is under the Mastra Enterprise License). The license is at https://github.com/mastra-ai/mastra/blob/main/LICENSE.md.

Does Mastra support durable execution?

Yes, per https://mastra.ai/reference/workflows/run-methods/restart

Does Mastra support human-in-the-loop?

Yes, per https://mastra.ai/docs/agents/human-in-the-loop

Is Mastra model-agnostic?

Yes, per https://mastra.ai/models

Which features does Mastra document?

10 of the 10 tracked here: MCP, Multi-agent, Durable execution, Human in the loop, Streaming, Structured output, Tracing, Memory, Evals and Model-agnostic.

Sources

Last verified from the pages below.

Newsletter

Agent frameworks, every week

One email per week. Framework releases, new agent tooling and what they mean for what you build.