Mastra alternatives

Tools that could take the place of Mastra, ranked by the stacks builders put them in rather than by stars alone.

Other frameworks in the runchr registry that do the work of Mastra — a tool somebody pairs with it ranks above a more popular stranger. Read the Mastra page or browse every frameworks.

  • PocketFlowFrameworksused with it in a stack11.3k

    100-line minimalist LLM framework for building agents and workflows.

  • voltagentFrameworksused with it in a stack10.9k

    TypeScript framework for building agents with memory, tools, workflows, and MCP.

  • LlamaIndexFrameworksused with it in a stack52.8k

    Connect your own documents to a model, with retrieval built in.

  • promptfooFrameworksused with it in a stack26.9k

    CLI and library for evaluating and red-teaming LLM prompts, agents, and RAGs.

  • LangChainFrameworksdoes the same work149.1k

    The most widely used framework for building LLM applications.

  • rufloFrameworksdoes the same work81.1k

    Agent meta-harness for Claude Code and Codex with swarms and memory

  • MetaGPTFrameworksdoes the same work71.2k

    Organize role-playing agents like a small software company.

  • AutoGenFrameworksdoes the same work61.7k

    Microsoft's framework for multi-agent conversation.

  • CrewAIFrameworksdoes the same work60.6k

    Assemble a team of role-playing agents in a few lines.

  • ai-agent-bookFrameworksdoes the same work57.4k

    Open-source book on AI agent design with 109 hands-on experiment projects.

  • qlibFrameworksdoes the same work50.1k

    AI-oriented quant investment platform for ML-driven research and production.

  • nanobotFrameworksdoes the same work49.9k

    Lightweight self-hosted Python framework for building personal AI agents.