LibreAI / AI Agents / mastra
// agents · mastra-ai/mastra

mastra

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

★ 28.5k stars⑂ 2.9k forksUnknownupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

mastra is an open-source ai agents project by mastra-ai (mastra-ai/mastra on GitHub). It has 28,535 GitHub stars and 2,913 forks, is released under the Unknown license, and was last updated on GitHub on 3 October 2026.

GitHub stars
28,535
Forks
2,913
License
Unknown
Last updated on GitHub
3 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Define the job

    Research, coding, browsing, or ops — agents work best with a clear goal.

  2. Pick a framework

    From no-code builders to code-first SDKs, match complexity to the task.

  3. Give it tools

    Web search, code execution, and APIs are what make agents useful.

  4. Run and supervise

    Watch the trace, approve consequential actions, iterate.

// features

Why people love it

LLM-powered

Large language models drive its smartest features, locally or via API.

Speech synthesis

High-quality text-to-speech voices built in.

Model agnostic

Swap frontier models as better ones appear.

Observability

Traces show exactly what the agent did and why.

Human in the loop

Approval gates for actions that matter.

Memory

Long-term memory across sessions, not goldfish chat.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/mastra-ai/mastra.git
    cd mastra
  2. Step 2 — Check the README

    Every project documents its own setup; start with install requirements.

    cat README.md | head -60
  3. Step 3 — Run it

    Follow the project's launch command — Docker, pip, npm, or a binary release.

    # see README for the exact launch command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains mastra?

It is an open-source project at mastra-ai/mastra with 2,913 forks. Check the repo's contributors and recent commits to see how active maintenance is.

Is mastra free for commercial use?

Licensed under Unknown — check the repo for commercial-use terms.

Do I need to code?

Builders exist, but code-first frameworks go further.

What does it cost to run?

Model API bills dominate; self-hosted stacks cut that sharply.

Are agents reliable enough?

For bounded tasks with supervision, yes. Fully autonomous money-moves still need guardrails.

// keep exploring

Similar tools

AI Agents

reactive-resume

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

★ 43.7k starsMIT
View guide →
AI Agents

Anthropic-Cybersecurity-Skills

817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fr…

★ 33.8k starsApache-2.0
View guide →
AI Agents

agent-framework

A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.

★ 13.9k starsMIT
View guide →
AI Agents

beeai-framework

Build production-ready AI agents in both Python and Typescript.

★ 3.4k starsApache-2.0
View guide →
AI Agents

openai-agents-js

OpenAI's lightweight TypeScript framework for multi-agent workflows and voice agents.

★ 3.9k starsMIT
View guide →
AI Agents

hermes-agent

The agent that grows with you — a Python framework for adaptive AI agents.

★ 252.0k starsMIT
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if mastra is not the right fit.

Get mastra

Free and open — grab the source, star the repo, and start creating.