After Models Converge, the Harness Sets an Agent’s Ceiling
As foundation models close the gap on reasoning, coding, and tool use, production agents fail less because the model “got worse” and more because task boundaries tightened. This article explains why the ceiling moves to engineering, how tool calling’s assumptions limit coverage, what model calling adds under a controlled runtime, and which harness controls—contracts, policy, planning, judges, and traces—turn demos into measurable, auditable business actions.
When foundation models keep narrowing the gap on general reasoning, code generation, and tool use, enterprises hitting production agents often run into the same pattern: a single call looks smooth in a demo, then the system drifts, skips steps, retries the same tools, or stalls on uncovered requirements. The model did not suddenly degrade. The task boundary did. Long chains, hard constraints, and auditable business actions require planning, authorization, state, and result acceptance outside the model. That engineering layer is usually called a harness: like a test harness, it keeps the model in a controllable loop and decides how far an agent can go reliably.
After convergence, the ceiling moves to engineering
Model convergence is not application sameness. General models can summarize, classify, make simple function calls, and draft code. Business value usually sits in the combination: interpreting incomplete requirements, choosing a data scope, producing executable steps, rolling back on failure, and handing results to a person or a downstream system. Missing constraint on any hop lets errors amplify along the chain.
Evaluating an agent should not stop at single-turn accuracy. Four signals matter together. First, task completion rate: whether real-distribution requests reach a deliverable result. Second, constraint adherence: permissions, data scope, amounts, and state-change rules. Third, recoverability: whether the system can continue after tool timeouts, empty results, or mid-task user changes. Fourth, unit-task cost: model calls, external API calls, and human intervention rate. The harness’s job is to turn those four from “sometimes works” into metrics you can measure, regress, and ship.
The hidden premises of tool calling
A common runtime is: the user request enters the agent; the model picks one or more registered tools; it calls business APIs; prewritten code runs; results are assembled into a reply. It works because uncertainty is compressed into “which tool and which arguments.” Interface contracts, permissions, and idempotency stay with conventional software. The model routes and fills parameters.
That premise also caps the ceiling. Capabilities must already exist as registered interfaces or scripts. When a request lands on uncovered filters, state combinations, or cross-system orchestration, the agent can only refuse, hallucinate, or push work back onto a backlog. More tools mean longer descriptions and more selection and argument errors; too few tools mean coverage gaps. Teams fall into writing another tool for every exception, and delivery speed is gated by the catalog rather than by how fast the business changes.
A subtler issue is unclear semantic responsibility. Tools return data, not decisions. If the model concludes from incomplete data, or treats a query as a submittable change, the traditional API layer will not intercept that overreach. The harness must add a layer beyond tools: when action is allowed.
From tool calling toward model calling
A more elastic direction is to extend “call a fixed tool” into “call a model inside a controlled runtime for steps that still lack a dedicated interface.” Call it model calling: people still define the business goal, but query generation, result interpretation, step planning, and exception handling can be produced by the model under sandbox policy instead of being fully prewritten as tools.
This does not retire tools; it reassigns duties. Stable, high-risk, strongly consistent actions still go through explicit interfaces—orders, approvals, fund changes, permission grants. Low-frequency, highly variable, read-only, or reversible steps may let the model generate queries, scripts, or workflow drafts, then execute only after a policy engine validates them. Unregistered needs need not become a full backend project immediately, and they also need not become unconstrained code execution.
A minimal loop can be written as the following pseudocode. The point is the gates, not any vendor’s API shape.
request = normalize(user_input)plan = model.propose_plan(request, policy_summary, memory)for step in plan.steps:if step.kind == "stable_action":assert tool_registry.allows(step.tool, principal)result = tools.invoke(step.tool, step.args)elif step.kind == "generated_query":assert policy.permit(step.artifact, principal, data_scope)result = sandbox.run(step.artifact, limits)else:result = ask_human(step)if not judge.accept(step, result):plan = model.revise(plan, failure=result)trace.record(step, result, decision)return model.answer(trace, response_policy)
The key is not that the model “writes the whole business.” Every step has a principal, a data scope, resource limits, and an acceptance function. Artifacts may be queries, config patches, or task lists, but they must be explainable, replayable, and read-only by default. Writes either return to registered tools or go to human confirmation.
Control planes a harness should include
A single switch that “lets the model write queries” makes the system more brittle, not stronger. A complete harness needs at least six pieces that can evolve independently.
First, a task contract. Turn the user goal into checkable completion conditions: what must be answered, which data may be read, whether side effects are allowed, and what timeout and budget apply. With a fuzzy contract, the model takes the cheapest path that looks done.
Second, context governance. Long-term memory, the current session, retrieval hits, and tool docs should be injected in layers, with priority when they conflict. Longer context is not always better; irrelevant documents dilute constraints. Stale facts need timestamps and sources so the model does not treat historical drafts as current policy.
Third, tool and runtime governance. Each tool declares side effects, idempotency keys, permissions, and failure semantics. Generative steps run in an isolated runtime with limits on network, files, execution time, and return size. Query artifacts get static checks: no out-of-scope tables or fields, no unbounded scans, explicit filters required. Failed checks go back to revision, not to the user as a bad result.
Fourth, planning and revision. Complex tasks produce an observable plan, then execute it step by step. The plan itself is judged: out of contract, duplicated, or missing acceptance. Failures return structured, with error type and a suggested next step, so the model does not guess causes in free text.
Fifth, a judge. Judging can be rules, a smaller model, or a deterministic program. Rules fit permissions, formats, numeric ranges, and state machines; models fit semantic completeness and tone. High-risk conclusions separate generation from judging so the same context does not draft and then excuse its own errors.
Sixth, traces and evaluation. Persist plans, tool arguments, policy decisions, and final replies, with sensitive fields redacted. Regression uses a fixed task set: permission bypass, empty results, conflicting instructions, tool timeouts, mid-task goal changes. The release bar is that suite, not a few impressive samples.
How to raise the application ceiling
Ceiling gains usually come from shrinking where the model may improvise, not from stacking more prompts. In practice, split by risk into three levels. Read-only explanation may use model calling; generated queries must be auditable. Reversible changes may let the model draft, execute through existing interfaces, and keep an undo path. Irreversible changes use only registered tools and human approval; the model prepares materials and checklists.
Slim the tool catalog. Instead of one tool per filter, expose a few orthogonal capabilities: retrieve by scope, read by primary key, submit through a state machine, notify from a template. The model composes; the harness checks whether the composition is legal. Failed compositions should flow back as new policy or a new stable tool, not endless prompt branches.
Human collaboration belongs in the loop. When uncertain, the agent should hand over diffs and evidence instead of packaging a guess as certainty. Confirmed human outcomes go back into an example store so the next similar request asks once less. The harness both constrains the model and accumulates the organization’s own task distribution.
Cost is part of the ceiling. An agent without a budget spins in revision loops. Cap model rounds, tool calls, and generated execution time per task. On overflow, degrade to confirmed facts plus why the rest is unfinished. Degradation is reliability, not a cover-up.
Boundaries and a landing order
Model calling widens engineering coverage and the error surface. Without data classification, identity propagation, and audit, the model should not generate executable artifacts. Without an eval set, you cannot tell whether a new policy reduces failure or hides it. Teams should first make permissions, logs, and failure taxonomy solid for existing tool calling, then migrate the most frequently changing read-only queries from “one requirement, one API” to controlled generation. After each class, compare completion, unauthorized access, and human intervention on the same task set.
Models will keep getting stronger. Strength does not automatically supply contracts, state, or accountability. Once the harness supplies those, the agent’s ceiling moves from a one-off demo to repeatable business actions. Foundation models converge; what differentiates is who puts the model in a verifiable runtime loop.
