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

15 Jul 2026 Garth Mollett on AI Supply Chain Security

"Explores AI supply chain security challenges, including probabilistic outputs, data poisoning, and emerging threats, while emphasizing structured measures like model signing and isolation to mitigate risks."

8 Jul 2026 Clare Liguori on AWS Strands SDK for AI Agents

This text outlines AI agents' core components (models, tools, prompts), their evolution via the Strands SDK from early reliability challenges to simplified model-driven approaches, and their application in automating business workflows with technical considerations like tool integration, validation mechanisms, and challenges in context management, alongside tools and future trends in agent design.

2 Jul 2026 Jeroen Janssens and Thijs Nieuwdorp on Using Polars

The *polars* library offers a high-performance, multi-language (Python, R, Node.js) data frame tool leveraging Rust, columnar storage, out-of-core processing, and GPU acceleration for fast data manipulation, optimized for large datasets and scalable data engineering workflows.

24 Jun 2026 Scott Kingsley on the Swagger Ecosystem

The Swagger/OpenAPI ecosystem, including tools like Swagger Editor, UI, and Codegen, along with commercial offerings and contract testing, supports cross-functional API development, evolves from Swagger 1.0/2.0 to OpenAPI under the Linux Foundation, emphasizes language-agnostic JSON/YAML specs, HTTP-centric design, modernization of legacy APIs, balances open-source and commercial tooling, explores JSON/YAML trade-offs, FastAPI integration, contract-first/code-first approaches, AI-driven spec generation, security practices, tooling challenges, governance, linting, mocking, CI/CD validation, and emerging AI-enhanced API trends.

10 Jun 2026 Jure Leskovec on Relational Graph and Foundational Models

Predictive modeling faces challenges with AI's limitations in structured data, prompting solutions like graph databases and relational deep learning with attention mechanisms to enhance accuracy, scalability, and real-time updates for enterprise applications.

More Software Engineering Radio episodes