Cole Medin

Run Your AI Software Factory Like a Real Engineering Org (Here's How)

Published 2026-10-23 · Duration 18:38

Summary

The video details how to scale an autonomous AI Software Factory—a system using agent-driven workflows for development—from a basic core engineering loop to an enterprise-level system. The speaker emphasizes that while the core loop handles planning, implementation, and validation, scaling requires a 'wrapper' layer for context, observability, and governance. This wrapper is demonstrated using the Port platform, which introduces four critical components: the Agent and Skill Registry, the Context Lake, Repository Scorecards, and Self-Improving Workflows, all while maintaining a crucial 'human in the loop' approach.

Download summary

Key takeaways

  1. The Need for a Wrapper in Scaling Factories

    As AI Software Factories scale to an enterprise level, a wrapper is necessary to provide guardrails, context, and observability. The factory itself is the most autonomous form of AI coding, but managing it requires a central layer (Port) to manage components and context.

  2. The Core Engineering Loop 2:00

    The basic factory process involves planning (e.g., PRD for Greenfield, epic for Brownfield), which the agent splits into tasks and maps dependencies. Each task goes through a cycle: plan $\rightarrow$ implement $\rightarrow$ validate. The process culminates in staging deployment for batch validation before shipping to production.

  3. Four Components for Enterprise Scaling 4:01

    To scale, four core components are needed: the Agent and Skill Registry (managing ownership and versions of skills/agents), the Context Lake (providing business context from Jira, Slack, etc.), Repository Scorecards (checking readiness for autonomy), and Self-Improving Workflows (automating remediation when CI fails).

Technical details

  • Software Factory Architecture 0s

    The factory is an agent-driven system that moves work through the SDLC using repeatable workflows. It is designed to be highly autonomous but maintains a 'human in the loop' for planning and approval.

  • Agent and Skill Registry 345s

    This registry centralizes all skills (workflows) and agents (roles, e.g., planner, backlog splitter) used in the factory. It allows for version control, ownership assignment, and managing the skill lifecycle (e.g., deprecating or certifying skills).

  • Context Lake 920s

    The Context Lake integrates business context (e.g., ownership details, service tier, Jira tickets, Slack discussions) beyond just the codebase. This is critical for the agent to determine if human approval is required before merging or deploying.

  • Repository Scorecards

    Scorecards provide a readiness check for a repository to become an autonomous factory. Criteria include having defined owners, READMEs, PR templates, passing CI workflows on `main`, and other high-level standards.

  • Self-Improving Workflows

    Workflows can be built to automatically detect failures (e.g., CI failure) and propose remediation. For instance, a workflow can detect a CI failure, downgrade the repository's readiness score, and automatically create a GitHub issue for the factory to pick up and fix.

Mentioned resources

Channel & topics

Watch on YouTube · Back to latest

This independent, AI-assisted summary is provided for commentary and informational purposes. It may contain errors or omit important context. Please watch the original video for the creator's complete presentation. Video, thumbnail, and related copyrights belong to their respective owners.