By NHI Mgmt Group Editorial TeamDomain: AI SecuritySource: ArizePublished May 7, 2026

TL;DR: Harness reliability depends on model behaviour and task shape, according to Arize, with GPT-4o still producing two false finishes in a 117-run benchmark even after broader model convergence. The practical lesson is that agent loops need adaptive exit checks, configurable tunings, and multi-model evals because static assumptions about narration, tool use, and completion can fail quietly.


At a glance

What this is: This is an analysis of why AI agent harnesses can fail when model behaviour changes, and why adaptive finish logic outperformed brittle implicit assumptions.

Why it matters: It matters because identity, tool-use, and approval boundaries around AI agents depend on reliable runtime control, especially where agents act as software identities inside production workflows.

By the numbers:

👉 Read Arize's analysis of AI agent harness drift and finish logic


Context

AI agent harnesses fail when they assume a model will signal completion in a single predictable way. That assumption breaks as model behaviour changes, task shapes vary, and tool calls, narration, and exit conditions no longer align cleanly.

For identity and access teams, the issue is not just model quality. An agent is a runtime software entity that may call tools, request data, and stop or continue based on loop logic, so the control plane around it becomes part of the security model. That makes finish conditions, retry budgets, and tool-use rules governance issues as much as engineering choices.


Key questions

Q: How should teams prevent AI agents from exiting before work is complete?

A: Use explicit or adaptive closure checks instead of assuming a text-only response means the task is done. Require a verifiable finish signal, validate the final state, and test the loop against multiple model behaviours so narrate-then-act responses do not become silent failures in production.

Q: Why do AI agent harnesses break when model behaviour changes?

A: Harnesses often encode unstated assumptions about when narration ends and tool use begins. When a model changes its turn structure, output formatting, or completion signalling, those assumptions can trigger early exit, missed tool calls, or incorrect task closure without an obvious error.

Q: What do security teams get wrong about agent completion logic?

A: They often treat completion as a language problem when it is really a control problem. A clean transcript does not prove a task finished, so closure logic must be validated like any other runtime control, especially when agents can touch sensitive tools or data.

Q: How do you know if an AI agent harness is actually reliable?

A: You need cross-model and cross-task evals, not a single happy-path benchmark. Reliability shows up when the same loop survives model drift, longer task chains, and different output styles while still catching false finishes and enforcing the intended end state.


Technical breakdown

Implicit finish logic and why it breaks in AI agent loops

Implicit finish is the pattern where a harness treats a text-only model response as task completion unless the model requests another tool call. That works only if the model reliably separates narration from action in a way the harness expects. Once models begin announcing intent before acting, or change how they package tool calls across turns, the loop can exit early without obvious error. The result is a silent control failure, not a crash. In agentic systems, that is dangerous because completion is itself a security boundary, especially when downstream actions include data access or privileged operations.

Practical implication: Treat exit conditions as governed logic, not a default assumption, and validate them against multiple model behaviours before production use.

Explicit finish versus adaptive finish for agent governance

Explicit finish forces the model to call a dedicated finish tool and lets the harness validate work before exiting. Adaptive finish goes further by detecting narrate-then-act behaviour and nudging the model when it appears to have announced an action without completing it. That additional logic raises token cost slightly, but it improves observability and reduces the chance of a false completion. For AI agents that interact with tools, this is effectively runtime authorisation for task closure: the agent cannot declare itself done without passing a control check. The design question is not elegance, but how much assurance you need before a loop can close.

Practical implication: Use adaptive or explicit closure checks for agents that can touch sensitive tools, data, or systems, and test them under multiple model checkpoints.

Why eval suites must cover both model drift and task shape

A harness can appear broken when the real issue is insufficient headroom, a tight iteration cap, or a task that is longer than the test budget. This article shows that the same loop can pass on one model, fail on another, and fail again when the task structure changes. That is why single-model validation is weak evidence for agent reliability. Effective evals need to reproduce edge cases across models and over time, so hidden tunings like retry limits and parsing heuristics are surfaced before customers find them. In practice, the evaluation suite becomes part of the control framework.

Practical implication: Measure harness behaviour across multiple models and task shapes, and promote hidden defaults into explicit, testable configuration.


NHI Mgmt Group analysis

Adaptive closure is becoming a core control for agent governance. The article shows that a runtime can look correct while silently exiting before work is complete, which is a control failure rather than a model error. For agentic AI, task completion is equivalent to privilege release, so closure checks must be treated as a governance boundary. Practitioners should read this as a signal to formalise finish logic, not to trust a clean transcript.

Model drift turns harness assumptions into security debt. A loop optimised for one model version can fail against another checkpoint or a different task shape, even when both appear to behave sensibly. That creates a hidden dependency on model-specific behaviour, similar to how unmanaged secrets or hard-coded access assumptions become technical debt in identity systems. The named concept here is harness drift: the gap between assumed model behaviour and observed runtime behaviour. Teams should reduce that gap with continuous evals and explicit control thresholds.

Agentic AI governance needs runtime checks that resemble access controls. The article’s explicit finish pattern maps cleanly to the idea that software agents should not be allowed to self-declare completion without verification. This intersects with IAM thinking because the agent is acting as a non-human identity with tool authority. Where agents can invoke data access, code execution, or workflow actions, governance should require a verifiable end state before the agent can move on.

Benchmarking across models is now a governance requirement, not a research luxury. The post shows that multi-model testing exposed edge cases that single-model testing would have missed or misattributed. That matters because agent ecosystems are increasingly mixed, with different models, tools, and orchestration layers in one workflow. Practitioners should treat cross-model evals as a minimum control for production agent harnesses.

Teams should expect more failures to appear as misclassification of completion rather than obvious breakage. The most important insight here is that the dangerous failure mode is a coherent but incomplete response. That is harder to detect than a crash, and it is exactly the kind of gap that creates governance blind spots in agentic systems. The operational conclusion is simple: verify task closure, do not infer it.

What this signals

Harness drift is the operational analogue of configuration drift in identity programmes: the control still exists, but its assumptions no longer match runtime reality. Teams that rely on AI agents should expect more defects to show up as false completion, missed tool calls, or inconsistent closure semantics, not as obvious crashes.

This is where IAM and agent governance meet. If an AI agent can invoke tools on behalf of a user or workflow, the organisation needs a clear model for who can close the loop, who validates the end state, and which controls prove that a task really finished. For teams formalising that boundary, the OWASP Agentic AI Top 10 is a useful companion reference.

The practical programme shift is toward continuous evals as control evidence. That means the security team should treat model updates, orchestration changes, and task-shape changes like a change-management event, because each one can invalidate assumptions that looked stable in previous runs.


For practitioners

  • Make exit conditions explicit Require a dedicated completion signal or finish tool before an agent can close a task, and validate that the harness checks the final state before accepting it as complete.
  • Test harnesses against multiple model checkpoints Run the same eval suite across at least two model families and more than one checkpoint so that narrate-then-act, silent exits, and formatting changes surface early.
  • Promote hidden tunings into testable configuration Move iteration caps, retry budgets, and parsing heuristics out of code defaults and into controlled settings that your eval suite can exercise under load.
  • Use adaptive nudges for tool-using agents Add a fallback that detects announced but incomplete actions and prompts the model to continue before the loop exits, especially when the agent can access data or execute tasks.

Key takeaways

  • AI agent loops fail most dangerously when they exit cleanly but early, because a coherent response can hide incomplete work.
  • Multi-model evaluation exposed false finishes that single-model testing would have missed, proving that harness behaviour is not constant over time.
  • Practical governance for agents now depends on explicit closure checks, configurable tunings, and continuous evals across model drift.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10The article concerns agent loop failure, tool use, and completion control in agentic systems.
NIST AI RMFMANAGEModel drift and runtime control failures fall under ongoing AI risk management.
NIST CSF 2.0PR.AC-4Agent completion and tool authority depend on access governance and least privilege.
NIST SP 800-53 Rev 5AC-6Least privilege is relevant where agents can invoke tools or access data.
OWASP Non-Human Identity Top 10NHI-01AI agents and service-like identities need governed lifecycle and authority boundaries.

Use agentic AI controls to validate tool use, closure logic, and runtime behaviour before production deployment.


Key terms

  • Adaptive Finish: A harness pattern that detects when an AI agent appears to announce completion without actually executing the final action. It adds a control layer that nudges the model or rechecks state before exiting, reducing silent failures in tool-using workflows.
  • Implicit Finish: A loop design that assumes an AI agent is done when it returns a response without tool calls. This is efficient but fragile, because it depends on the model’s output style staying stable across checkpoints, task types, and orchestration contexts.
  • Harness Drift: The mismatch between a harness’s assumed model behaviour and the model’s observed runtime behaviour over time. It appears when exit conditions, tool-call patterns, or iteration expectations no longer reflect how the model actually operates.
  • Narrate-Then-Act: A model behaviour where the agent states an intention to perform an action in text before making the corresponding tool call or action request. In harnesses that infer completion from narration, this can create false finishes and silent task loss.

What's in the full article

Arize's full analysis covers the implementation detail this post intentionally leaves for the source:

  • The exact pseudo-code patterns used for implicit, explicit, and adaptive finish logic in the benchmark runner
  • The 117-run test structure across Claude Sonnet 4, GPT-4o, and Gemma 4 31B, including task categories and outcome scoring
  • The specific detection heuristic used to identify narrate-then-act responses in trailing output
  • The token-cost comparison and why the adaptive design balanced observability with lower overhead than the explicit version

👉 The full Arize post covers benchmark design, harness comparisons, and the adaptive detection logic in detail.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity, and secrets management. It helps security and identity teams build the control discipline needed for agents, service accounts, and other non-human identities.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 20, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org