Mastra Factory - From issue to production, run by agents.

Mastra Factory is an open source, agent-powered software delivery environment. It combines persistent coding agents, repository workspaces, issue intake, planning, implementation, and pull request review in a web application you control.

Add a comment

Replies

Best

Alex from the video here 👋🏻 If you’re not familiar, Mastra is a TypeScript framework for building AI agents. We used Mastra to build Mastra Factory, and now we’re using Factory to build Mastra. It’s already writing more than 25% of our pull requests!

Building agents is what we do at Mastra, and we’re invested in making this better. But most teams just want to build their product, not take on building and maintaining a factory too. That’s why we’re sharing ours.

With Mastra Factory, you can own the factory without having to build it.

We used Mastra to build Mastra Factory, and now we’re using Factory to build Mastra.

Full circle (in production!) Congrats on the launch 👏

 Ramiro! Thank you 🙏🏻

 thank you for your continuous support, Ramiro. you're the best 🙏

 #dogfooding

 Literally!

Factory has been a game-changer for our team. It's writing 30% of our PRs and closing 60% of our issues. Excited to share with the world!

 I only see that number going up!

The persistent coding agents are what cought my attention here interesting approach to the whole dev workflow

exactly - persistent coding agents, repository workspaces, issue intake, planning, implementation, and pull request review. all in a web application you control.

learn more:

follow-up question: what should build/improve/fix from your perspective?

 Yeah, you can kick-off a long-running persistent agent, close your laptop, go to bed, then see how far it got on the goal in the morning.

 persistent is the word i would push on here. most tools claiming it keep the transcript, and the transcript is the part that ages worst. the thing worth keeping is what got decided.

fyi is hosting a workshop with this Thursday, September 17, at 4 PM UTC. they'll build a Factory, connect it to a real repository, and show how agents move an issue from initial investigation to a reviewed pull request.

Love it - (YC W25) is building an agent-powered software factory, and it's open source.

What's a software factory? It's a system for agents to take software from issue into production.

recently launched Xirp. 's is open source and configurable. You connect GitHub, you connect Linear and Slack, and you define rules for how work moves through phases. Agents triage issues, write and validate code, release changes, update docs, and monitor prod.

Over to you:

npm create factory

started as an agent framework. It's also a factory framework now.

S/O to and team for this new launch. Pumped to contribute to it.

S/O to the community for all the love in the reviews.

from / :

Mastra helps us coordinate specialized agents and reliably turn high-level intent into structured execution. Their focus on developer experience and composability made it possible for us to move fast without sacrificing correctness."

from :

Mastra is an amazing framework and an amazing product. It makes developing agents seamless.

(YC W25) is building an open source agent-powered software delivery environment.

Star this repo:

And start building:

npm create factory

         Thank you 🙇🏻

Quick update: and are hosting a workshop this Thursday, September 17, at 4 PM UTC. They'll build a Factory, connect it to a real repo, and show how agents move an issue from initial investigation to a reviewed PR.

Register here:

Whats the coolest thing you have seen ben built with this? # Proof is in the pudding

 So far, Mastra.

 Nice! It would be interesting to see it build it first product that isnt it self as well. From concept to completion. Like a sort of journey. That would be an awesome read or video.

stay tuned!

Whats the coolest thing you have seen ben built with this?

? the team built the factory first to automate their own issues. it's now writing 25-35% PRs and closing 50-60% issues.

Very excited to launch Mastra Factory! It's changed how our team ships code. My favorite parts of the factory:

1. It's more collaborative - it gets coding agent sessions off our local machines and into a shared environment. I can see how others on the team are steering their agents and learn from them
2. Tagging factory in slack makes it easy to ship one off tasks that would have otherwise have been forgotten

 It's come a long way since we shared an early preview back at TS AI Conference in London back in July!

   i also enjoyed Abhi's talk at Agent Night by

   We should link this on the homepage lol. Such a good talk

 S/O for this new launch! humbled to contribute to it again

If an agent in Factory hits a Linear issue that's ambiguous or underspecified, does it pause and ask a human, or just make a judgment call and open a PR anyway? Congrats & team!

 you are able to define a "triage" skill so you can determine what level of detail is needed before work is started. You can also configure the factory to require human approval at each stage if you want to monitor things more closely.

I would recommend manual mode in the beginning until you have a higher level of confidence in the work moving through the factory.

   Each step is an agent with a skill. In this case, the skill handles triage, and you can define how you want it to behave. As with any agent, you should test it thoroughly. One cool thing about Mastra is that you can set up tracing and evals to help with that. I can see people using online evals to keep iterating on their skills. We'll add some guides on this at some point.

yes, and to learn more, read the docs here:

 thank you for your continuous support btw. you're the 🐐

Does it store context indefinitelyor does older data get trimmed automatically after some point?

 Mastra Factory is built with the Mastra TypeScript framework and uses its system to retain important facts while gradually dropping irrelevant context. We’re also working on a new knowledge primitive.

We're also working on a new knowledge primitive.

spoiler alert! 

fun fact: the team launched Observational Memory here about .

follow for future launches.

 Funny enough what started this journey was us trying to make an agent that "never forgets". This led to Observational Memory . With that foundation we started going deeper into Coding Agents and now the factory. Also gave a talk on Factory here

So, I can use my Factory from Slack? I guess I'll have to cancel my Devin sub. Thanks for that!!

 yes, the factory connects , , and to configurable boards. it pulls in GH issues and pull requests, Linear issues, and Slack threads before an agent touches them and moves through phases.

learn more:

 fyi and are hosting a workshop this Thursday, September 17, at 4 PM UTC. they'll build a Factory, connect it to a real repo, and show how agents move an issue from initial investigation to a reviewed PR.

Register here:

 yes you can! You can even set up your own slack app and give it a name. What are you going to call your Factory?

Already knew about Mastra, seeing the PH launch is exciting!

 We've had a lot of exciting growth these last 12 months. Please let us know if you have any feedback on Factory

thank you for the support! this is the 4th launch on , and the team keeps cooking

follow for future launches

 thanks for using Mastra!

1234
Next