More Software Engineering Radio episodes

Birgitta Boeckeler on Harness Engineering for AI Agents thumbnail

Birgitta Boeckeler on Harness Engineering for AI Agents

Published 22 Jul 2026

Duration: 54:14

"Explores AI-assisted coding harnesses, their customization, role of guides/sensors, challenges in AI-generated code, and future of harness engineering in software development."

Episode Description

Birgitta Boeckeler, a Distinguished Engineer and consultant focused on AI-assisted software delivery at Thoughtworks, joins host Priyanka Raghavan for...

Overview

The podcast discusses the concept and application of coding harnesses in AI-assisted software development. A coding harness is described as a system that orchestrates language models by integrating guides (instructions that shape behavior) and sensors (feedback mechanisms that enable self-correction). These components work together to improve the reliability and quality of AI-generated code. Examples include tools like Claude Code, Cursor, and Pie Coding Harness, which can be used in their base form or extended with custom tools and context tailored to specific workflows or codebases.

Harness engineering - enhancing these systems through strategic use of guides and sensors - is presented as a way to regulate code quality across dimensions like maintainability, architectural fitness, and functional correctness. Guides provide contextual knowledge, coding standards, and domain-specific constraints, while sensors use static analysis, test suites, or other computational checks to catch errors. The discussion emphasizes the importance of feedback loops, observability, and evaluation methods to assess the effectiveness of both guides and sensors. As AI agents become more capable, the focus shifts toward structured development processes, human oversight, risk assessment, and ensuring that automated systems remain aligned with software quality goals.

What If

  • What if you build a feedback-driven code quality harness using existing AI agents and static analysis tools?

    • Move: Set up a lightweight coding harness (e.g., using Cursor or a custom CLI wrapper around Claude) that enforces cyclomatic complexity 10 and function length 50 lines by integrating a pre-commit hook with an LLM-powered sensor that reviews diffs and rejects violations.
    • Why Now?: AI models are now capable of parsing code structure and enforcing constraints contextually, and tools like Git hooks, linting configs, and local LLM APIs make implementation low-friction for solo developers.
    • Expected Upside: Reduce long-term technical debt accumulation in your solo projects by catching complexity early, leading to 30 - 50% faster debugging and onboarding for future changes.
  • What if you treat your codebase documentation as a live guide file for AI agents to improve accuracy and maintainability?

    • Move: Create and maintain a guides/ai-context.md file in your repo that includes architectural decisions, key patterns, common pitfalls, and naming conventions, and explicitly reference this file in every AI coding session or agent prompt.
    • Why Now?: Modern AI coding agents perform significantly better with up-to-date contextual guides, and solo developers can maintain such files with <30 minutes/month effort while gaining compounding returns in agent precision.
    • Expected Upside: Cut trial-and-error iterations by 40% when using AI for refactoring or feature additions, and reduce the risk of architectural drift in long-lived personal projects.
  • What if you run a weekly automated code health scan using an LLM-as-a-sensor to detect design decay across files?

    • Move: Build a script that uses an LLM (e.g., via API) to analyze cross-file coupling, duplication, and brittleness in boolean logic - triggered weekly on your codebase - and logs findings to a tech-debt.md file with severity tags.
    • Why Now?: LLMs can now detect higher-level design issues better than many static tools, and solo developers can leverage this as a force multiplier to maintain code quality without constant vigilance.
    • Expected Upside: Identify and fix architectural decay before it becomes costly, reducing unexpected bugs by up to 60% and preserving agility in solo development over time.

Takeaway

  • Set up a minimum viable coding harness using an existing tool (e.g., Cursor or Claude Code) and extend it with one custom guide (e.g., agents.md) to enforce a specific coding standard or convention.
  • Integrate a lightweight sensor (e.g., cyclomatic complexity checker or static analysis tool) into your development workflow to automatically flag high-risk code changes before committing.
  • Conduct a comparative evaluation of a guide's effectiveness by running a small coding task twice - once with and once without the guide - and document whether it improved output accuracy or reduced revisions.
  • Implement structured agent observability by capturing agent traces (e.g., using CLI tools like Entire) to review AI-generated changes, detect unintended rewrites, and refine feedback loops.
  • Schedule weekly automated maintenance checks (e.g., dependency updates, security scans) as part of your harness to reduce technical debt and minimize manual intervention.

Recent Episodes of Software Engineering Radio

3 Sept 2026 Sahil Walia on Apache Iceberg

"Apache Iceberg is a scalable, interoperable data framework that unifies OLTP and OLAP workloads, separates storage and compute, and enables efficient metadata-driven operations, governance, and cost savings across industries."

26 Aug 2026 Vivek Yadav on Regression Testing Microservices

"Explores microservices testing strategies, behavioral consistency in migrations, payment system challenges, regression testing, historical data validation, testable architecture, Spark's role, and AI-driven code changes, emphasizing data privacy and business insights."

13 Aug 2026 SE Radio 733: Max Corbridge on Securing AI Agents

"Explores AI agent security risks, focusing on prompt injection vulnerabilities, non-deterministic threats, and the need for dynamic monitoring and proactive defenses against evolving AI-specific attacks."

More Software Engineering Radio episodes