Mastra on Sept. 9 launched Factory, a system for building software with coding agents that founder and CEO Sam Bhagwat called free and open source. Bhagwat said in a post on X that Factory had written 30% of Mastra’s pull requests and closed 60% of its issues over the previous few weeks.
The post linked to a Product Hunt page dated Sept. 9, 2026, titled “Mastra Factory” with the line “From issue to production, run by agents.” A company blog post published the day before described the release as a beta.
Mastra describes Factory as an environment that connects a code repository to a configurable board so agents can move work from an issue through planning, implementation and pull request review. The system ties configurable boards to GitHub, Linear and Slack, Mastra said. Its own board uses the stages Intake, Triage, Planning, Build, Review and Done, with each stage set to manual or automatic mode.
According to the Sept. 8 post, the agents do their work inside sandboxes and follow rules for starting tasks, reviewing changes and advancing work. People can inspect changes, participate in discussions and approve actions. Each work item can be opened as an agent session showing its chat, tool activity and workspace files. The product page says users can review and edit plans and decide whether to merge the final pull request.
Mastra said it introduced Factory in alpha in July. In the beta post, Bhagwat wrote that Factory has been writing 25% to 35% of the company’s pull requests and closing 50% to 60% of its issues. The same post said Mastra sees more than 100 issues opened each week and merges about 200 to 250 pull requests. Charts published with the post showed 277 of 1,627 merged pull requests, or 17%, authored by Factory, and 222 of 778 closed issues, or 28.5%, closed by Factory.
The company said an earlier fully automatic mode created sudden spikes when importing backlogs and a large volume of work that was hard to review, so it made each stage configurable. It also said incorrect assumptions in earlier steps created problems later, including a triage agent that misidentified revenue loss and generated pull requests that had to be closed.
Bhagwat said Factory is built on Mastra’s own primitives. The San Francisco company, a Winter 2025 Y Combinator startup, builds a TypeScript framework for AI agents and describes Factory as a product that takes software from issue to production. Its documentation tells users to start with npm create factory@latest. The product page says Factory is open source, new projects use the Mastra platform for authentication, a database and sandboxes from the start, and the platform offers a $0 monthly plan and paid tiers.




