← All videos

Engineering video

27:17 · 12 October 2026

software factory explained by a Senior Engineer (step by step)

Chapters 23 sections

  1. 0:00What is an agentic software factory?
  2. 0:42From building the product to building the factory
  3. 1:09How to build one (stack and cost)
  4. 1:48Triage agent: automated bug collection

Key concepts in this video:

1. Agenic Software Factory Overview

An agenic software factory integrates AI agents throughout the software development lifecycle to automate repetitive tasks, shifting the engineer's role from writing individual lines of code to building the factory and defining design systems and APIs.

Watch section from 0:00 →

2. Bug Collection and Refinement Agents

Automated triage agents ingest bug reports and errors from sources like Sentry, while refinement agents estimate scope, blast radius, reproduce issues using tools like Playwright, and create detailed tickets.

Watch section from 1:56 →

3. Implementer Agent and Stack Integration

The implementer agent acts as the developer writing code, utilizing cloud guidelines, provider skills (such as Vercel and AWS), and MCP servers to access tools and run sub agents.

Watch section from 4:35 →

4. Deterministic Measures and Quality Pipelines

To combat AI probabilistic errors, the build and quality pipeline employs deterministic measures including linters, TypeScript, static analysis tools like Fallow for code duplication and cyclomatic complexity, and dead code cleanup.

Watch section from 8:08 →

5. Testing and Visual Verification

The pipeline utilizes extensive end-to-end test suites and visual diffs through automated before-and-after screenshots to build confidence and verify features without manually reading extensive AI text.

Watch section from 10:06 →

6. Agent Turns and Failure Limits

Agents iterate to fix bugs in a number of turns, but have a strict hard limit (such as 100 turns) to prevent infinite loops and wasted token budgets before reverting to human engineering review.

Watch section from 10:55 →

7. Pull Requests and Blast Radius Merging

Pull requests are evaluated based on blast radius, where small front-end tweaks may be merged automatically, while changes affecting core services or databases undergo stricter architectural reviews.

Watch section from 12:16 →

8. Smoke Testing and QA Agents

Staging environments run a critical subset of end-to-end tests called smoke testing, followed by a dedicated QA agent acting as a user to validate the feature before closing the ticket.

Watch section from 14:52 →

9. Environment Reproducibility

Building a software factory requires making environments reproducible by spinning up backend services, databases, and anonymized or simulated user data for the agents.

Watch section from 15:58 →

10. Formal Verification

Formal verification encodes high-level static rules and business constraints into software so that lower-level generated code complies with strict foundational invariants.

Watch section from 16:43 →

11. Mindset Shift for Engineers

Engineers transition from manual implementation to acting like scientists testing high-level hypotheses and architects designing agent-friendly, modular codebases.

Watch section from 21:20 →

Transcript

An agenic software factory. It's basically a way to integrate agents all the way through your software development lifecycle. So you automate most of the repetitive part. And as an engineer right now, I spend most of my time either building the factory or reviewing part of the code that comes out. But you're seen in a second that I didn't even review most of the code, I only review critical code. And what we do as engineers now, it's instead of writing a component, you define a design system.