AI Engineer1h 1m
Stop Prompting, Start Delegating — Ross Cefalu & Dex Horthy, Factory
Ross Cefalu, Dex Horthy, Kyle, Colton Ogden, Dan Coffey, Troy
Conference Presentation, Fireside Chat, Panel, Product Demonstration
- Product Introduction: Factory introduces "Workstreams," an evolution of its previous "Missions" product, designed to orchestrate AI coding agents (specifically "Droid") across the entire Software Development Life Cycle (SDLC).
- Core Concept: Workstreams function as a chat interface with an "orchestrator" agent, which acts as an engineering manager to break down goals, delegate tasks to sub-agents, and manage implementation details without requiring human intervention on every step.
- Human-in-the-Loop Model: While humans set high-level directions and scaffolding, the system abstracts low-level decisions (e.g., PR breakdown, task sequencing), though users can adopt "founder mode" to intervene directly with specific agents.
- Six Core Workflows: Factory has identified five primary high-use workflows plus a customization layer:
- Core Development Partner: Agents handle bug fixing across the app, with the bottleneck shifted to PR review volume rather than execution.
- Vulnerability Discovery & Remediation: Agents autonomously scan codebases for vulnerabilities, triage issues, and can auto-merge fixes if complexity is low, requiring human approval only for complex PRs.
- Migrations: Highly autonomous long-running tasks (e.g., legacy code modernization) designed to run for weeks with minimal human input, utilizing automated validation loops.
- Automated Research & Discovery: Long-running agents optimize for specific metrics (UI/UX, performance) by "hill climbing" on objective functions while maintaining coherence over time.
- AI Development Automation: Customized code review workflows that adapt to senior engineers' specific preferences (e.g., performance regression checks) to handle high volumes of PRs (e.g., 100+ per day).
- Customization: Users can build bespoke orchestrators and workflows using open standards to fit specific organizational needs.
- Deployment Flexibility: Workstreams support hybrid computing environments, allowing users to mix "Bring Your Own Machine" (BYOM), local ephemeral sandboxes, and cloud compute; the orchestrator can delegate tasks across any combination of these environments.
- Scalability Strategy: For large-scale operations, Factory recommends using scalable cloud compute to fan out work across 10–40+ parallel agents, avoiding local resource bottlenecks (e.g., memory exhaustion from parallel TypeScript compilation).
- Shared File System: A collaborative "source of truth" (similar to a Notion project) where humans, the orchestrator, and agents read/write plans, specs, notes, and handoffs to maintain context coherence during long-running tasks.
- Automation Features: Automations are built natively into Workstreams, allowing the orchestrator to trigger recurring tasks (e.g., daily vulnerability scans) or event-based actions (e.g., webhooks for PR updates) to create self-sustaining workflows.
- Output Optimization: The system is designed to output Pull Requests (PRs) rather than drafts, featuring a native "walkthrough" view that restructures code diffs by semantic impact (product, architecture, code) rather than alphanumeric file order.
- Code Review Evolution: Factory addresses the bottleneck of reviewing high-volume PRs via "semantic diffs," visual walkthroughs of UI changes, and video validation of product changes to ensure human readability.
- Self-Improving Loops: Automated workflows can analyze PR history and human feedback to generate or update linting rules (e.g., using OXlint) and "skills," creating a feedback loop that codifies best practices and prevents recurring mistakes.
- Enterprise Adoption: Workstreams are used internally by non-technical teams (Sales, Finance) for context management and task automation, suggesting applicability beyond pure software engineering.
- Q&A Insights:
- Model Cascading: Recommendations suggest using state-of-the-art models for the orchestrator and cascading down to cheaper/simpler models for sub-agents as tasks become more routine.
- Parallel Execution: To avoid resource contention, agents typically run in isolated cloud sandboxes rather than local Git worktrees, which do not scale well for 30+ concurrent tasks.
- Trust & Review: AI code review is viewed as a tool for efficiency and catching low-hanging issues, not a replacement for human architectural judgment; "deterministic" diffs are paired with AI-generated semantic summaries to aid human understanding.
- Benchmarks: Performance gains in long-running agentic tasks were validated in previous "Missions" v1 benchmarks, with the blog post detailing the architectural shifts that improved reliability.