Frontier Foundry

Harness Engineering: How to Build a Software Factory — Dru Knox, Tessl

Talk notes · AI Engineer ·

A close reading of the source at ai.engineer (also youtube.com): what it says, what it means for someone who builds with AI, and which claims are the publisher’s own.

Software FactoryAgent HarnessCoding AgentsAI AgentsVerification Loops & BackpressureAgent Sandboxing & PermissionsGitHub

Problem

Dru Knox (head of product and design at Tessl, an "agent enablement platform") says there is no strict definition of a software factory, then offers one: an agentic system where agents create everything shipped to users, and the engineering team builds the factory, working to make it more autonomous, more automated and higher quality (2:17). He aims the talk at teams already using coding agents with a few sessions at a time, where agents often get easy and medium tasks right (0:12).

He names three hurdles that make this work hard, all of them about people more than tech (8:23):

  • The field changes weekly, so you "basically become an AI researcher" to keep up, and best practices become anti-patterns (9:25).
  • Harness work is unplanned: you cannot know if or how agents will fail, and fixing them competes with shipping features (9:25, 10:26).
  • The signals you need are stuck in local agent logs and on people's machines (10:26).

Approach

Three metrics, in order (2:17, 3:17): autonomy (how often a human must correct or nudge the agent), automation (how much you must review before you trust the result), and quality. High autonomy with low automation is possible: agents one-shot tasks but you still read every line. His order: raise autonomy first, then automation, holding quality constant.

Three loops (6:21, 7:21, 8:23):

  • Inner loop: fast, cheap checks while the agent works before it opens the PR. Improves autonomy.
  • Outer loop: more expensive, exhaustive checks after the PR is up, such as agentic QA or mutation testing of the test suite. They replace human review time.
  • Meta loop: sits outside development, reads agent logs, PRs, the issue tracker and user feedback, finds mistakes that got through or that a human had to fix, and feeds fixes back into the inner and outer loops.

Harness engineering is the name for building these loops. He notes it has started to be called loop engineering in the last couple of weeks (6:21).

Three layers to build, in order (11:27):

  1. Control plane. Make all agent work legible: issues in a tracker, kicked off to a headless agent in a sandbox, a PR as the review surface, and a skills registry or shared repo for workflows (11:27, 12:28). Humans still correct, but every touch point is now recorded.
  2. Agent-ready stack. A "grab bag": CLI and API access, a way for the agent to click through the product, company workflows written down, access to internal services and production logs (with compliance questions), and an environment to run code. He says nobody comes in thinking it will be hard and leaves saying it was not (12:28, 13:28).
  3. Improvement loops. Where most of the time goes: nightly or weekly repo sweeps, playbooks for common work (for example adding a CLI feature), automating repeated tasks, and a consistent quality review that updates skills when it sees a mistake (14:28).

The last part is a Tessl product tour: a skills registry with security and quality scans, a Linear-to-GitHub connector, code review tools, an agent that mines PRs and issues for repeated work (for example a weekly flaky-test hunt), one-click maintenance scans, and a "launch" command that turns a skill into a workflow run in a sandbox (16:32, 17:34, 18:34).

Lessons learned

  • Knox: the payoff of a factory is higher quality, not only speed. Teams have backlogs of bug fixes, refactors and test work they never reach; with a factory "the idea of a backlog kind of goes away" (4:17, 5:19). This is his claim; he gives no data.
  • Expect a small quality dip or flat quality at first, then a rise (5:19).
  • Non-engineers can contribute ideas more easily, while engineers focus on the system (5:19).
  • Move work onto surfaces that save everything (tracker, PR, registry) before trying to improve it (10:26, 11:27).
  • Carve out time on purpose for harness work, or the agent never improves (10:26).
  • Metrics he suggests (19:35): fewer manual takeovers, fewer human PR comments, more PRs started without human input, with quality held first, then raised.
  • Disclosure: he sells Tessl, and the tour in the last third is product marketing. He says the techniques work with any stack (1:14).

Theme

Group: AI Coding & Software Factories. Knox is the "loop engineering" voice. His inner/outer/meta split maps onto Zach Lloyd's closed loop with online evals and self-improvement (card), and on Suraj Gupta's outer-loop agent that edits skills through a PR (card). He shares Dex Horthy's view (card) that cheap checks should run constantly and human review should be kept for what the agent cannot check. He shares Tereza Tížková's point (card) that the codebase must be ready first. Where Armin Ronacher (card) says his harness barely changed in a year and models did the work, Knox says harness practices go stale weekly, so there is a real disagreement on how much harness work lasts.

Where this leads

the concepts it is about

Related briefs

every brief

Cite this page

the version of 2026-10-06
APA
Han, R. (2026, October 6). Harness Engineering: How to Build a Software Factory — Dru Knox, Tessl. Frontier Foundry. https://www.ryanhan.ai/briefs/2026-10-06-aie-mcp-harness-engineering-how-to-build-a-software-factory-dru-knox
BibTeX
@misc{han2026-briefs-2026-10-06-aie-mcp-harness-engineering-how-to-build-a-software-factory-dru-knox,
  author       = {Han, Ryan},
  title        = {{Harness Engineering: How to Build a Software Factory — Dru Knox, Tessl}},
  howpublished = {Frontier Foundry},
  year         = {2026},
  month        = oct,
  url          = {https://www.ryanhan.ai/briefs/2026-10-06-aie-mcp-harness-engineering-how-to-build-a-software-factory-dru-knox}
}