Episode 14: AI agents behind the wheel. Who controls quality and security?
Categories: Podcasts , BeyondQuality
The discussion presents a five-level autonomy model for AI agents, comparing them to automotive standards to guide the implementation of deterministic and probabilistic controls. It stresses the importance of aligning these controls with risk profiles and ensuring clear requirement engineering to prevent agents from filling gaps with incorrect assumptions.
BeyondQuality
The Beyond Quality Podcast explores current research from a collaborative community.
- https://beyondquality.org
- https://api.riverside.fm/hosting/beyondquality.org
- https://www.youtube.com/playlist?list=PLNtskxLbZna6VDjH6hBhYm0mSZKPhX7Fi
Episode Details
- Show Notes: N/A
- Published: 2026-11-24T11:08:37Z
- Duration: 00:52:01
- Author: Vitaly Sharovatov
Overview
The discussion centers on a five-level autonomy model for AI coding agents, drawing an analogy to automotive autonomy levels. Level one is assistive (auto-complete), level two is task-based (generate tests for a feature), level three is conditional (fix a GitHub issue and return a pull request), level four is high autonomy where the agent reads telemetry, identifies problems, fixes them, and deploys to production, and level five is described as a “dark factory” that operates on business parameters and OKRs beyond software. The speaker emphasizes that autonomy level is orthogonal to control points: as autonomy grows, more control points must be in place, and a mismatch - such as an agent with production access but only level-one controls - reveals a gap to close.
A central distinction is drawn between “steering” controls (instructions, prompts, skill descriptions) which are non-deterministic and probabilistic, and “brakes” (harness enforcement, CI/CD gates) which are deterministic and enforced. The speaker notes that agents are designed to satisfy the user, unlike a taxi driver who has self-preservation instincts, meaning agents will fill gaps in ambiguous instructions from their training data without asking back. This makes requirement clarity - described as “control point zero” - critical before any agent executes work.
The conversation also addresses how architecture influences control strategy: rigid sequential or V-model workflows suit deterministic brakes, while mesh-type agent swarms lean toward steering controls. The speaker advocates for “human on the loop” rather than “human in the loop,” and introduces a separate evaluation layer - running a golden test set of tasks whenever a model or component changes - to maintain confidence in the agentic system over time.
What If
-
What if you audit your current coding agent’s actual autonomy against your control points?
- Move: List every permission your agent holds (file access, deploy rights, API keys) and map each to the five-level model. Flag any capability that exceeds your declared level - e.g., an agent you call “level two” that can push to production is silently level four.
- Why Now?: The speaker warns that agents can “inherit access to production” without the team realizing, creating a gap where “your controls are still on level one” while the agent operates at level four. A solo developer is most vulnerable because there is no separate security review catching inherited permissions.
- Expected Upside: You surface hidden risk exposure before an incident, and you can deliberately choose which controls to add or which decisions to trust the agent with, rather than discovering the mismatch after a bad deploy.
-
What if you build a “how bad looks like” wall for your agent’s outputs?
- Move: Collect the worst generated test cases, the most misleading code snippets, and the most ambiguous pull requests your agent has produced. Pin them where you work daily, mirroring the manufacturing practice of displaying “the latest failed elements” on the factory floor.
- Why Now?: The speaker notes that agents are “designed to satisfy us” and will “fill up the gaps from their large amount of knowledge” without asking back, so subtle quality degradation can go unnoticed until it compounds. A solo operator has no peer reviewer to catch these patterns.
- Expected Upside: You create a shared, visceral reference for what “bad” means, making it easier to write positive instructions (“do X”) rather than negative ones (“don’t do Y”), which the speaker warns “doesn’t really work.”
-
What if you freeze a golden test set and re-run it every time a model or prompt changes?
- Move: Curate a fixed set of tasks (the speaker references “500 tasks or 100 tasks”) that exercise your critical paths. Whenever you swap a model, edit a skill file, or change a harness rule, run the set and compare the score to the previous baseline.
- Why Now?: The speaker observes that “the prompt that works now will not give the same results one month later” and that “a smart model actually delivers worse because it knows much better than your skills and the instructions.” Without a regression suite, a solo developer may not notice silent quality drift.
- Expected Upside: You gain a quantitative signal for whether a change improved or degraded your agent, turning model upgrades from a gamble into a measured decision and catching regressions before they reach users.
Takeaway
- Before your agent touches production, enumerate every permission it holds and assign each to a level (assistive through full autonomy); if any capability exceeds your declared level, revoke it or add a matching brake control.
- Write a “control point zero” checklist that runs before the agent starts work: is the task unambiguous, is the intent clear, are there open questions? Fix those before burning tokens on a misunderstood requirement.
- Separate your agent’s instructions (steering) from its harness restrictions (brakes) in two distinct files or configs, so you can update prompts without weakening enforcement and vice versa.
- Curate a fixed golden test set of roughly 100 tasks covering your critical paths; re-run it whenever you change a model, prompt, or skill file, and record the score so you can detect silent quality drift.
- Collect your agent’s worst outputs - bad tests, misleading code, ambiguous PRs - and display them where you work daily; then rewrite your instructions positively (“do X”) rather than negatively (“don’t do Y”), since the speaker notes “negative instructions doesn’t really work.”
For a PDF of longer Software Testing Podcast Episode Summaries with Briefing Notes and more detailed summary notes, visit EvilTester Patreon Podcast Summaries.