Skip to content
ReviewRamble

The weekly brief

AI, reviewed, in your inbox.

  • New reviews of tools, models, MCP servers and repos, with the verdict up front
  • Re-checked prices and ratings when something changes
  • New analysis pieces as they are published

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email

Mastra Factory

Open-source kit for running coding agents on your issue backlog, with a board, human approval gates and a separate review agent.

Reviewed by ReviewRamble editors · Updated

Visit Mastra Factory Open source

Share this page:XLinkedInFacebookRedditWhatsAppEmail

Our rating

3.8/5

Mastra Factory is the most convincing open-source answer to Devin-style backlog agents, as long as you are ready to run young software and file the occasional bug yourself.

What is Mastra Factory?

Mastra Factory takes issues from GitHub, Linear or Slack (and Jira, GitLab and incident.io) and moves each one across a board with six default stages: Intake, Triage, Planning, Building, Review and Done. An agent investigates the issue and asks questions in Triage, writes a plan that a person approves, then builds the change in its own cloud sandbox with the repository cloned, and opens a pull request with a live preview link. A separate review session, which can post from a different GitHub account, then reviews the pull request; merging stays with your team's normal process.

You set it up with npm create factory@latest, which creates a Factory project in its own directory, apart from the repository the agents change. By default it runs on the Mastra platform, which provides sign-in, storage and sandboxes; with the --no-platform flag you self-host and bring your own auth, database and sandbox provider, such as E2B, Daytona, Vercel or local execution. Models come through Mastra Gateway or any provider key, including an OpenAI-compatible endpoint you run.

Factory is Apache 2.0 and lives inside the main Mastra repository on GitHub; the Mastra framework it is built on has its own review. Mastra says it uses Factory on its own backlog.

How much does Mastra Factory cost?

PlanPriceWhat you get
Free$040 vCPU-hours, 100K observability events, 5 connections, 15-day trace retention
Starter$25/month1 small dedicated project, 100 vCPU-hours, usage alerts, 60-day trace retention
Team$250/month2 medium dedicated projects, 400 vCPU-hours, 10M observability events, SOC 2 report
EnterpriseCustomRBAC, SSO, audit logs, custom allowances, dedicated support

Factory is free and open source (Apache 2.0). The Mastra platform it deploys to has Free ($0: 40 vCPU-hours, 100K observability events, 15-day trace retention), Starter $25/month (1 small dedicated project, 100 vCPU-hours, 60-day retention), Team $250/month (2 medium dedicated projects, 400 vCPU-hours, SOC 2 report) and Enterprise (custom, with SSO and audit logs); extra compute is $0.25 per vCPU-hour and $0.25 per GB-hour of memory. Model usage is billed separately, through Mastra credits or your own provider.

Is Mastra Factory worth it?

Every engineering team has a backlog of small, well-described issues that nobody gets to: a flaky test, a missing retry, a docs fix. Each would take an hour, and together they take a quarter.

Mastra Factory gives that backlog to agents without taking people out of it. Issues land on a board; an agent investigates and asks questions; a person approves the plan; the agent builds in a cloud sandbox and opens a pull request with a preview link; a second agent reviews it; a person merges. The stages, the rules for which steps need a human, the models and the skills are all yours to change, because it is code in your own repository rather than a closed service.

Mastra runs its own project this way. In its September 2026 beta announcement it said Factory, in use since an alpha in July, was writing 25-35% of its pull requests and closing 50-60% of its issues, on a repository that gets over 100 new issues a week. That is a vendor's figure about its own repo, but it is a public repo, and the Factory bot's triage comments are visible on its issues.

The catch: it is early. The package is at version 0.30.0, and 69 open issues carry Factory in the title, 36 of them opened in November 2026; one reports that the self-review step can lack the tool to record a verdict, so approved work never opens a pull request. An earlier bug, where the GitHub App could not change CI workflow files, was fixed in October by adding the permission. Model costs come on top of platform fees, and a fully self-hosted setup means wiring auth, storage and sandboxes yourself.

Our take: if Devin or Codex is a contractor you hire, Factory is a workshop you build and own. It pays off for a team with a steady stream of small issues and someone happy to read the source when a card gets stuck.

Where it earns its place

  • Maintainers of a busy open-source project

    Triage incoming issues and fix the easy ones without burning out

    Connect the GitHub repository; Factory investigates each new issue, asks the reporter questions, and drafts plans that a maintainer approves before any code is written. Mastra reports this closes 50-60% of its own issues.

  • A ten-person SaaS team that plans in Linear and talks in Slack

    Turn small Linear tickets into reviewed pull requests

    Mention Factory in Slack or let it pick up Linear issues; approve the plan in the thread, click the preview link, then merge. Starter at $25 a month plus model usage covers a small project.

  • A platform engineer at a company that cannot send code to a SaaS agent

    Run coding agents entirely on our infrastructure

    Create the project with --no-platform, point it at your own database, auth and sandbox provider, and use a self-hosted OpenAI-compatible model endpoint.

Before you commit

Setup
Run npm create factory@latest in a new directory, sign in to the Mastra platform (or pass --no-platform), connect the GitHub repository and a model provider, then pick the issue sources to watch.
Integrations
GitHub, GitLab, Linear, Jira, Slack and incident.io; sandboxes on the Mastra platform, E2B, Daytona, Vercel or local; models through Mastra Gateway, provider sign-in, API keys or a custom OpenAI-compatible endpoint; custom skills as SKILL.md files.
Data and privacy
Each session clones your repository into a sandbox and pushes branches through a GitHub App or token you configure. On the Mastra platform, Team includes a SOC 2 report; trace retention runs from 15 to 180 days by plan. Self-hosting keeps code, storage and sessions on your own infrastructure.
Cost at scale
Team is $250 a month for 2 medium dedicated projects and 400 vCPU-hours; ten agents in parallel sandboxes use compute quickly, and extra vCPU-hours are $0.25 each, with model tokens billed on top.
Cancelling and refunds
Factory itself has no subscription. The Mastra platform plans are monthly; the pricing page does not publish refund or cancellation terms.
Limits
Sub-issues arrive as unlinked cards, so ordering is up to you; previews need a sandbox provider with networking; the Factory project must live outside the repository it changes.

What’s good

  • Open source (Apache 2.0), with stages, rules and models you can change
  • Human approval of plans and a separate review agent by default
  • Cloud sandboxes with live preview links for every change
  • Self-hostable with your own auth, storage and sandbox provider

What’s not

  • Young software: version 0.30.0 and dozens of open Factory issues
  • Model usage is billed on top of platform fees
  • Full self-hosting needs auth, database and sandbox set up by hand
  • Built for GitHub-style pull request workflows

Best for

TypeScript-friendly engineering teams with a steady backlog of small, well-scoped issues who want issue-to-pull-request agents they can inspect and modify.

Mastra Factory alternatives

Mastra Factory: common questions

Is Mastra Factory worth it?
Mastra Factory is the most convincing open-source answer to Devin-style backlog agents, as long as you are ready to run young software and file the occasional bug yourself. We rate it 3.8 out of 5.
How much does Mastra Factory cost?
Factory is free and open source (Apache 2.0). The Mastra platform it deploys to has Free ($0: 40 vCPU-hours, 100K observability events, 15-day trace retention), Starter $25/month (1 small dedicated project, 100 vCPU-hours, 60-day retention), Team $250/month (2 medium dedicated projects, 400 vCPU-hours, SOC 2 report) and Enterprise (custom, with SSO and audit logs); extra compute is $0.25 per vCPU-hour and $0.25 per GB-hour of memory. Model usage is billed separately, through Mastra credits or your own provider.
What are the downsides of Mastra Factory?
Young software: version 0.30.0 and dozens of open Factory issues; model usage is billed on top of platform fees; full self-hosting needs auth, database and sandbox set up by hand; built for GitHub-style pull request workflows.
Who is Mastra Factory best for?
TypeScript-friendly engineering teams with a steady backlog of small, well-scoped issues who want issue-to-pull-request agents they can inspect and modify.
How much does Mastra Factory cost for a team or in production?
Team is $250 a month for 2 medium dedicated projects and 400 vCPU-hours; ten agents in parallel sandboxes use compute quickly, and extra vCPU-hours are $0.25 each, with model tokens billed on top.
Is Mastra Factory safe for company data?
Each session clones your repository into a sandbox and pushes branches through a GitHub App or token you configure. On the Mastra platform, Team includes a SOC 2 report; trace retention runs from 15 to 180 days by plan. Self-hosting keeps code, storage and sessions on your own infrastructure.
How do I cancel Mastra Factory, and can I get a refund?
Factory itself has no subscription. The Mastra platform plans are monthly; the pricing page does not publish refund or cancellation terms.
What are the best Mastra Factory alternatives?
The closest alternatives we have reviewed are Devin (incl. Devin Desktop, formerly Windsurf), OpenAI Codex, Factory (Droids) and Cosine.

Answers checked Nov 20, 2026.