Agent frameworks

Mastra

Build TypeScript agents, workflows, memory, and retrieval into applications.

29K GitHub starsAs of Checked

Where it fits

What you can use it for

TypeScript teams that want integrated agent development tools.

Build applications with tools, state and coordinated agents.

Before you adopt

What to check for your team

Use the Apache-licensed core or obtain separate rights for enterprise components.

Get help evaluating the fit

Licence and scope

Apache-2.0 core

Code outside directories named ee is Apache-2.0. Enterprise features in ee directories are source available under the Mastra Enterprise Edition licence and are not part of this open-source scope.

Read the upstream licence

Support the work

Go directly to the maintainers

Use the project's contribution guidance to report issues, help with documentation or contribute code. Follow any published funding links if you want to support the maintainers financially.

Find contribution guidance

Keep exploring

Also in agent frameworks

Back to all projects