Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mastra Software Factory

A working software factory: six TypeScript AI agents that own triage, code generation, validation, release, documentation, and production monitoring — chained by typed workflows, escalating to humans only when a decision needs judgment. Built on Mastra.

Read the full guide: How to Build a Software Factory with AI Agents in TypeScript

Quickstart

npm install
cp .env.example .env   # add your ANTHROPIC_API_KEY
npm run dev            # Mastra Studio at http://localhost:4111

Without GITHUB_TOKEN / SENTRY_AUTH_TOKEN, the tools return realistic mock data so the whole factory runs locally.

Structure

src/mastra/
├── types/       # shared vocabulary: work items, metrics, incidents
├── tools/       # typed actions: GitHub, Sentry, factory metrics
├── agents/      # one agent per job: triage, codeGen, validation,
│                #   release, documentation, monitoring
├── workflows/   # typed step chains + the sdlcWorkflow master router
└── index.ts     # the registry: agents, workflows, storage, observability

About

A software factory: six TypeScript AI agents that triage, code, validate, release, document, and monitor - built on Mastra

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages