Mastra Factory: setup and software delivery workflow
A Mastra Factory alpha walkthrough covering GitHub and Linear intake, sandboxed PR reviews, memory, setup requirements and current limitations.
Player not loading? Watch on YouTube
This workshop introduces Mastra Factory, an open source Mastra project users can deploy themselves. Its workflow takes issues through intake, triage, planning, building and review. GitHub and Linear supply work items, and one factory can cover multiple repositories.
The setup walkthrough covers authentication, integrations, transition rules, sandbox execution and state storage. The speaker says durable operation also needs PubSub. Factory has its own interface alongside Mastra Studio.
The presenter starts sandboxed review jobs and examines earlier PR reviews. The repository-specific agent waits for CodeRabbit, then adds findings and runs tests and lint checks. This does not demonstrate a complete issue-to-merge run. The discussion also explains how the team uses AI mock fixtures for scenario tests.
Factory is still in alpha. The merge agent is not built, and broader agent and workflow configurability is planned. The team is experimenting without human approvals despite advocating human gates. Sandbox provisioning and a remote EU database cause latency; review costs have also limited further runs. The metrics view has no historical data after a database reset. Task cost reporting and browser recording within Factory are future work. Alexandria is an internal knowledge-base preview, not a public feature demonstrated for users.