LLM Reliability: Control Flow Over Prompting
Ornella Bahidika and Joel Allou from Microsoft discuss 'harness engineering' for AI agents, advocating for code-driven control flow over LLM-driven decision-making to ensure reliability.

Visual TL;DR
multi-step AI agents often fail midway, skip steps, or enter loops
From the article 4 mentionsInstead, they advocate for a shift in architectural thinking, where the control flow of an agent is managed by code, effectively acting as a director to the LLM's talent.
common approach of trying to improve LLM performance with more detailed prompts
From the article 2 mentionsOrnella Bahidika and Joel Allou, presenting a concept they call 'harness engineering,' argue that the common approach of 'prompting harder' is insufficient for building dependable multi-step agents.
LLMs struggle to track progress through tasks, lacking internal state awareness
From the article 3 mentionsThey propose that the fundamental issue is not the LLM's inherent reasoning but its lack of state management capabilities.
architectural shift where code manages agent control flow, directing the LLM
From the article 6 mentionsOrnella Bahidika and Joel Allou, presenting a concept they call 'harness engineering,' argue that the common approach of 'prompting harder' is insufficient for building dependable multi-step agents.
explicit code dictates agent steps and decisions, acting as a director
From the article 6 mentionsThis approach ensures that the LLM is never in control of the overall process, preventing the common failure modes of agents that rely solely on LLM-driven logic.
live AI voice tutor project demonstrating harness engineering principles in practice
From the article 2 mentionsThe core of their argument centers on a project called Ace, a live AI voice tutor.
achieving consistent and dependable performance for complex multi-step tasks
From the article 9+ mentionsIn the rapidly evolving world of AI agents, achieving consistent and reliable performance is a significant challenge.
Contents(4)
© 2026 StartupHub.ai. All rights reserved. You may not republish this article in full without a license. Search engines and AI research tools may crawl and summarize for reference. Bulk reproduction or model training requires a license. See our terms.
Written by
Daniel SingerEditor, StartupHub.ai
Daniel Singer is the editor of StartupHub.ai, a technology expert and thought leader on AI and its applications across sectors, from fintech and healthcare to developer tooling and consumer software. He writes and tests the tools covered here thoroughly and regularly, and built StartupHub.ai to give founders, operators and buyers a clearer read on what they are actually being sold.
More from Daniel Singer