mastra-ai

    mastra-ai/mastra

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

    29.4K stars
    3.1K forks
    102 GitHub watchers
    Updated Nov 6, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 1 day ago, with 466 contributors on GitHub.

    Peaked at #87 in the weekly ranking the week of Jan 25, its best in the past year.

    Use Cases & Benefits

    • Provides a TypeScript framework for building AI-powered applications, agents, and assistants with integrated LLM models and workflows.
    • Offers unified model routing across multiple LLM providers with typed tools, durable workflows, and seamless third-party API integrations.
    • Use for developing custom AI agents that execute complex sequences of actions with access to external APIs and knowledge bases.
    • Use for creating durable, graph-based workflows that include branching, retries, human input, and observability via OpenTelemetry.
    • Use for building retrieval-augmented generation systems that combine vector search and embeddings to enhance AI responses.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Other

    GitHub could not identify this license; read the LICENSE file before depending on it.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    • License not identified by GitHub; read the LICENSE file before depending on it.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Mastra is the Typescript framework for building AI agents and assistants. It’s used by some of the largest companies in the world to build internal AI automation tooling and customer-facing agents.

    You can run Mastra on your local machine, bundle it into a Node.js server with Hono, or deploy to a serverless cloud.

    Excerpt from the mastra-ai/mastra README on GitHub (NOASSERTION license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    3.1K+484

    Open issues

    783+327

    Compared with peers in AI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    mastra-ai/mastra compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    D4Vinci/Scrapling101.1K+6.3K756 days ago
    thedotmack/claude-mem115.8K+4.7K75today
    heygen-com/hyperframes82.3K+4.0K75today
    harry0703/MoneyPrinterTurbo142.0K+3.8K753 days ago
    github/spec-kit149.2K+2.6K75today
    mastra-ai/mastra29.4K—651 day ago
    Category median115.8K+4.0K75—

    Discover Repositories

    Search across tracked repositories by name or description