More The AI Native Dev episodes

Inside the Dark Factory: AI That Ships Code Solo thumbnail

Inside the Dark Factory: AI That Ships Code Solo

Published 28 Jul 2026

Duration: 00:59:12

"Explores AI-driven 'dark factories' automating PRs, Tessl's software factories, and challenges like code quality, trust, and cultural shifts in AI-native development."

Episode Description

At Tessl, 95% of the code shipped by their internal "Dark Factory" has never been looked at by a human, and the team still ships hundreds of pull requ...

Overview

The podcast discusses the implementation and impact of "dark factories" - automated software development systems - in modern engineering workflows. These systems, powered by AI agents, generate and merge code with minimal human intervention, significantly increasing development velocity. At Tessl, 65 - 70% of pull requests (PRs) are created through the dark factory, with 95% of its codebase unreviewed by humans. While low-risk or internal PRs (e.g., research or tooling) are auto-merged after passing CI and agent reviews, production-critical changes still require human approval. The system relies on orchestrators that manage task prioritization from ticketing tools like Linear, delegate work to coding agents in isolated environments (e.g., Daytona sandbox), and use layered verification - including deterministic rules, LLM-based verifiers, and agentic review - to ensure code quality.

A key focus is the cultural and operational shift required to adopt such systems. Engineers must move from direct coding to higher-level planning, treating agents as junior team members that need clear, well-scoped tasks. Trust is built gradually through transparency, comprehensive verification, and iterative improvements. Challenges include context fragmentation, verification gaps (as seen in a failed Elixir rewrite), and communication overload due to rapid development cycles. To scale effectively, teams are encouraged to adopt incrementally, strengthen repository context, encode standards into verifiers, and maintain human ownership over code quality. The vision is a future where AI agents handle repetitive tasks, while engineers focus on system design, debugging, and refining the automation itself.

What If

  • What if you built a personal dark factory for your solo projects?

    • Move: Set up a local orchestrator that pulls tickets from Linear (or GitHub Issues), runs an AI agent in a Daytona-like sandbox to implement and test changes, then auto-generates PRs with screenshots/videos for review.
    • Why Now?: Tools like Daytona, LLMs, and CI/CD make it feasible to replicate Tessl's dark factory at scale for one person - especially as verification bottlenecks are now solvable via automated testing and agent-in-the-loop workflows.
    • Expected Upside: You ship 3 - 5x more features per week by offloading implementation and testing to agents, freeing you to focus on product design and user feedback.
  • What if you replaced manual code reviews with deterministic verifiers on your projects?

    • Move: Define 5 - 10 critical rules (e.g., no direct DB writes, all endpoints must be typed, env vars must use config class) as fast-running, deterministic verifiers that block merges if violated - run them in CI instead of waiting for human review.
    • Why Now?: With 95% of dark factory code unreviewed by humans, the shift is already happening; solo devs can get ahead by encoding their standards into enforceable rules before scaling becomes chaotic.
    • Expected Upside: Cut review time by 70%, reduce merge conflicts, and maintain higher consistency across your codebase - even when using AI-generated code.
  • What if you used risk-based auto-merge to deploy low-risk changes directly to production?

    • Move: Classify your PRs by risk (e.g., docs/config = low, UI/backend = medium, auth/billing = high), then enable auto-merge + auto-deploy for low-risk categories using GitHub Actions and a simple label-based trigger.
    • Why Now?: Tessl already auto-merges non-production PRs at scale (150 over a weekend); as a solo operator, you face less complexity and can safely adopt this earlier to accelerate iteration.
    • Expected Upside: Achieve near-continuous deployment for maintenance tasks (e.g., dependency updates, typo fixes, logging), reducing context switching and letting you focus on high-leverage work.

Takeaway

  • Implement a dark factory-style automation system using an orchestrator that pulls tasks from your issue tracker (e.g., Linear) and delegates coding to AI agents in isolated environments like Docker or Daytona.
  • Introduce deterministic verifiers for rule-based code checks (e.g., linting, security policies) to reduce reliance on manual reviews and lower LLM costs in CI pipelines.
  • Start small by offloading well-scoped, non-critical tasks (e.g., documentation updates, test maintenance) to AI agents, then gradually expand scope as trust and system reliability improve.
  • Build a feedback loop where automated review agents (with skills in security, legibility, and correctness) analyze PRs, respond to comments, and iterate on changes - escalating only when human input is required.
  • Use agent-generated signals (e.g., CI failures, verifier results, PR patterns) to identify high-value automation opportunities and define autonomous loops, such as nightly cleanup or dependency updates, using tools like GitHub Actions.

Recent Episodes of The AI Native Dev

16 Sept 2026 AWS's Marc Brooker: Specs, Not Code, Are the Hard Part

"Explores how AI and automation are transforming on-call engineering, with AWS's agentic AI tools handling routine tasks while human expertise remains vital for complex issues, emphasizing the need for mentorship and ethical AI development."

25 Aug 2026 Lada Kesseler: I Trust AI Tests Less Than AI Code

"AI in software development thrives through iterative refinement, focused tasks, and human oversight, enabling agentic workflows while addressing challenges like quality, validation, and skill overlap."

11 Aug 2026 The Background Check You Can't Run on an AI Agent

"Explores AI agent identity and security challenges, emphasizing alignment with creator intent, probabilistic unpredictability, and the need for dynamic, task-based authorization and scalable trust mechanisms."

4 Aug 2026 Datadog Deleted All Its AI Context. It Worked.

"Explores AI tooling and context optimization, highlighting inefficiencies from outdated context, Datadog's AI adoption, and strategies for improving developer workflows, productivity metrics, and cost management."

23 Jul 2026 BONUS: Snyk Found Malware Inside AI Agent Skills

"Explores AI security risks, credential leaks, and malicious skills, emphasizing the need for specialized tools, structured guidance, and proactive measures to secure AI-driven coding workflows."

More The AI Native Dev episodes