Object-Oriented Harness: Evolving Agent Harnesses through Object-Oriented Design
Abstract: Agent harnesses are executable code that specifies the prompts, tools, and control flow around a LLM. A single global harness can struggle with heterogeneous tasks that require different execution strategies. In this work, we introduce Object-Oriented Harness (OO-Harness), a harness optimization framework that evolves a hierarchy of executable harness classes using object-oriented design. During training, an evolution agent uses execution records to create a family of specialized harnesses, each implemented as a subclass of the base or an existing specialized harness via inheritance. At test time, a harness router uses routing lessons accumulated during training to select a specific harness for each task. Across three long-horizon benchmarks spanning business workflows, workspace tasks, and tool use, OO-Harness achieves the best performance among the compared methods, with an absolute improvement of up to 15% over the base. Extensive ablation studies examine the contributions of its core components.
Paper Prompts
Sign up for free to create and run prompts on this paper.
Explain it Like I'm 14
1. What is the paper about?
This paper presents a system called Object-Oriented Harness, or OO-Harness.
The system helps an AI agent complete difficult, multi-step tasks. For example, an agent might need to:
- Use several computer tools
- Edit files
- Follow a business process
- Check whether its work is finished
- Recover from errors
A harness is the code that controls how an AI model performs these tasks. It decides what instructions to give the model, which tools it can use, how it remembers information, and how it checks its work.
The main idea of the paper is simple:
Instead of creating one harness for every task, build a family of specialized harnesses and choose the best one for each task.
This is similar to having one basic vehicle, plus special versions designed for racing, carrying heavy objects, or driving in snow.
2. What questions does the research ask?
The researchers wanted to find out:
- Can an AI automatically create specialized harnesses for different kinds of tasks?
- Can these harnesses share useful code instead of being built completely from scratch?
- Can another AI, called a router, choose the right harness for each new task?
- Does this approach work better than using one general harness for everything?
- Does looking at the agent’s previous actions help the router make better choices?
The paper also studies whether this approach can save time and computer costs during training.
3. How was the research done?
The basic idea: object-oriented programming
OO-Harness uses a programming technique called object-oriented design.
In everyday terms, imagine creating a basic character in a video game. The basic character can walk, jump, and collect objects. You can then create special versions:
- A swimmer who knows how to move through water
- A climber who can climb walls
- A fighter who has extra combat abilities
The special characters inherit the basic abilities but can also change or add new ones.
OO-Harness works in a similar way:
- It begins with a base harness, called .
- It creates specialized harnesses as children of the base harness.
- A specialized harness can reuse existing code.
- It can also override an old behavior or add a new behavior.
For example, a specialized harness might add instructions that remind the agent to save a file before finishing or help it recover from a tool error.
Training process
The researchers used the following process:
- They ran the base harness on a set of training-like tasks called discovery tasks.
- They examined the agent’s actions, errors, and results.
- They grouped similar tasks into clusters. A cluster is a group of tasks that seem to need the same kind of improvement.
- An evolution agent created a new specialized harness for one cluster.
- The new harness was tested on that cluster.
- If it improved the results, it was kept. If not, it was rejected.
- The system saved lessons about which changes worked and when each harness should be used.
This is somewhat like testing different study methods with groups of students. If a method helps a particular group, it is kept for that group instead of being forced on everyone.
Choosing a harness during testing
When the system receives a new task, a harness router chooses what to do.
The router can consider:
- The task description
- The available specialized harnesses
- Lessons learned during training
- The agent’s early actions, called its trajectory
A trajectory is like a video recording of the agent’s attempt. It shows what tools the agent used, what errors occurred, and whether it seems to be stuck.
The router can then:
- Use the original base harness
- Choose a specialized harness
- Reuse the result from the base harness if it already looks good
Importantly, the researchers kept the main LLM fixed. They changed the surrounding harness code, not the model itself.
Benchmarks
The system was tested on three challenging benchmarks:
| Benchmark | Main type of task |
|---|---|
| AutomationBench | Business workflows |
| Workspace-Bench | Working with files and applications |
| Toolathlon-GYM | Tasks requiring several tools |
The researchers separated the tasks used for training from the tasks used for final testing. This is important because it checks whether the system can handle new tasks rather than simply memorizing the training examples.
4. What were the main findings?
OO-Harness performed best overall
OO-Harness achieved the highest main score on all three benchmarks.
Its results were:
- AutomationBench: mean score of 77.41%
- Workspace-Bench: mean score of 39.48%
- Toolathlon-GYM: strict success rate of 37.45%
Compared with the original base harness, this represented improvements of up to about 15.79 percentage points.
On AutomationBench, OO-Harness also used the fewest steps in its final attempts. This suggests that it was not only more successful but sometimes more efficient.
Specialized harnesses were better than one global harness
The researchers compared OO-Harness with systems that create only one improved harness for all tasks.
The results showed that a single change can help one type of task but hurt another. For example:
- Extra memory may help with complicated tasks but make simple tasks harder.
- Adding more tools may help some tasks but cause confusion in others.
- A strategy that works for spreadsheets may not work well for business workflows.
OO-Harness avoids this problem by keeping different versions for different needs.
Routing based on the agent’s actions helped
The researchers compared two routers:
- One that looked only at the task description
- One that looked at both the task description and the agent’s early actions
The second router generally performed better.
For example, if the agent repeatedly made errors while using an API, the router could notice this and choose a harness designed to repair or prevent those errors.
On AutomationBench, using the agent’s trajectory improved the score from 64.88% to 77.52% in one routing experiment.
However, the benefit was not equally large on every benchmark. Sometimes the task description alone gave enough information.
Inheritance improved performance
The researchers also tested different ways of creating specialized harnesses:
- OO-Harness: specialized harnesses inherit from earlier harnesses
- Flat copies: each new harness copies code directly from the base
- Base-reset: each new harness starts over from the original base
On Workspace-Bench, the inheritance-based approach achieved a rubric pass rate of 40.56%, which was 4.96 points higher than the flat-copy approach.
This suggests that inheritance helped the system organize and reuse improvements more effectively.
Keeping the base harness was useful
The system did not always force a task to use a specialized harness.
In one AutomationBench experiment:
- About 44.7% of tasks reused the base harness.
- The remaining tasks used specialized harnesses.
Tasks that already worked well with the base harness were often left alone. Tasks that performed badly were more likely to be sent to a specialist.
This is important because changing something that already works can accidentally make it worse.
The system handled unfamiliar tasks more safely
The researchers also tested tasks from application families that were not seen during training. These are called out-of-distribution, or OOD, tasks.
For unfamiliar tasks, the router chose the original base harness instead of using a specialized harness learned from unrelated applications. This preserved performance better than forcing all tasks to use one globally changed harness.
5. Why are these findings important?
The research suggests that AI agents may work better when they are not controlled by one universal set of instructions.
Different tasks often need different strategies:
- Writing a document may require careful formatting.
- Editing a spreadsheet may require checking formulas.
- Using an API may require recovering from errors.
- Completing a business workflow may require confirming that all required actions were finished.
A system with specialized harnesses can respond to these differences.
The object-oriented design also makes the system more organized. Instead of creating completely separate programs, it can reuse common behavior and add only the changes needed for a particular situation.
6. Possible impact and limitations
Potential impact
OO-Harness could make AI agents more useful for:
- Office and business automation
- Software tools
- File and document management
- Research workflows
- Complex tasks involving many applications
- Systems that must learn from previous successes and failures
It could also reduce the cost of training because a new harness is tested mainly on the tasks it is meant to improve, rather than on every task each time.
Limitations
The system still depends on its computer environment and the tools it uses. Problems may occur if:
- An API changes
- A service becomes unavailable
- The system reaches a rate limit
- Permissions or passwords are not configured correctly
- A specialized harness is sent to the wrong task
The researchers also tested specific benchmarks, so more research is needed to see how well the approach works in real-world settings.
Conclusion
The paper’s central message is that AI agents should not necessarily use one identical strategy for every task.
OO-Harness builds a family of related harnesses. Each one specializes in a different type of problem, while still sharing useful code with the others. A router then chooses the best harness for each task, sometimes using evidence from the agent’s early actions.
Overall, the method performed better than the compared systems on three difficult benchmarks. The results suggest that organizing AI behavior like a family of specialized computer programs could make agents more accurate, efficient, and adaptable.
Practical Applications
Immediate Applications
The paper’s main practical contribution is a deployable architecture for adapting language-model agents to heterogeneous tasks: a shared base harness, specialized subclasses, and a router that selects among them using task descriptions and observable execution trajectories. The following applications could be implemented with existing agent frameworks, provided that the relevant tools, APIs, graders, and execution logs are available.
- Enterprise workflow automation — business operations, consulting, and finance
- Deploy a catalogue of specialized agent harnesses for tasks such as report generation, spreadsheet analysis, document preparation, data extraction, and multi-step business-process execution.
- A router could preserve the base agent for routine tasks while selecting specialists when the initial execution reveals problems such as incomplete writes, repeated tool errors, failed calculations, or imminent tool-call limits.
- A practical product would be an agent orchestration layer containing:
- a common executor interface;
- a versioned hierarchy of harness classes;
- a routing service;
- logs of successful and failed execution patterns; and
- rollback mechanisms for unsafe specializations.
- Dependencies: access to structured business applications, reliable APIs, task-level completion checks, secure credentials, and sufficient historical execution data.
- Workspace copilots for documents, spreadsheets, and files — productivity software
- Create separate harnesses for document writing, spreadsheet editing, file organization, and cross-application workflows.
- For example, a spreadsheet specialist could add verification of formulas and cell writes, while a document specialist could enforce formatting, citation, or completeness checks.
- The system could inherit common authentication, planning, and tool-use logic while overriding only the workspace-specific methods.
- Dependencies: stable application interfaces, permission-aware file access, observable intermediate state, and safeguards against unintended edits or data loss.
- API and software-operation assistants — software engineering and IT
- Use routing lessons to detect execution failures such as malformed queries, authentication errors, missing parameters, or incomplete deployment steps.
- Specialized harnesses could provide query normalization, retry policies, schema validation, test execution, or near-budget completion reminders.
- This could support:
- database administration assistants;
- cloud-resource provisioning agents;
- incident-response tools;
- code-repair agents; and
- CI/CD workflow assistants.
- Dependencies: sandboxed execution, least-privilege credentials, deterministic validation tests, and human approval for production-impacting actions.
- Customer-support and service-desk automation — telecommunications, retail, and public services
- Build distinct harnesses for billing questions, account changes, troubleshooting, refunds, and escalation.
- The router could identify when a standard dialogue strategy is insufficient—for example, after repeated failed lookups or an unresolved authentication issue—and select a specialist with additional recovery or escalation logic.
- A shared parent harness could enforce privacy, disclosure, and handoff policies across all service-specific subclasses.
- Dependencies: accurate customer records, identity verification, policy-compliant tools, comprehensive audit logs, and human escalation paths.
- Quality assurance for long-horizon agents — AI engineering and research
- Use the framework as a practical testing and optimization workflow for existing agents rather than retraining the underlying LLM.
- Teams could cluster failures by execution need—for example, “fails to commit required writes,” “does not verify calculations,” or “uses too many tool calls”—and evolve targeted subclasses.
- This provides an alternative to applying one global prompt or global workflow change that may improve one task type while degrading another.
- Dependencies: representative discovery and held-out test sets, reliable task-level metrics, reproducible environments, and code review for evolved harnesses.
- Cost-aware agent serving — cloud software and platform engineering
- Since the system can reuse the base result when the initial trajectory appears adequate, it can avoid rerunning tasks through a specialist unnecessarily.
- A production router could combine task type, trajectory quality, estimated risk, latency, and API cost to decide whether to:
- accept the base result;
- invoke a specialized harness;
- request human review; or
- terminate the task safely.
- This is particularly relevant where specialized execution is more expensive than base execution.
- Dependencies: calibrated routing confidence, reliable cost estimates, latency requirements, and monitoring for routing failures.
- Agent-development education and academic experimentation — computer science and AI research
- The object-oriented harness representation can serve as a teaching and experimentation framework for:
- prompt and tool orchestration;
- inheritance and specialization in agent systems;
- execution-trace analysis;
- automated program repair; and
- evaluation under distribution shift.
- Researchers can compare global optimization, flat specialization, base-reset strategies, and hierarchical inheritance under a common interface.
- Dependencies: open implementations, reproducible benchmark splits, transparent execution records, and evaluation that separates discovery tasks from held-out test tasks.
- Policy and governance workflows — government and regulated organizations
- Specialized harnesses could enforce different procedures for benefits processing, records management, procurement, regulatory reporting, or legal-document preparation.
- A common parent could implement universal controls—logging, consent checks, data minimization, and escalation—while subclasses add domain-specific verification.
- The base-reuse behavior is useful for unfamiliar cases: the system need not force an out-of-distribution task through an inappropriate specialist.
- Dependencies: regulatory approval, explainable routing decisions, data residency controls, human oversight, and formal authorization boundaries.
- Personal productivity assistants — daily life
- A consumer assistant could route among harnesses for calendar management, travel planning, shopping, household budgeting, email drafting, or file organization.
- Specialized execution policies could require confirmation before purchases, detect incomplete bookings, verify dates and totals, or avoid sending messages without user approval.
- Dependencies: explicit user permissions, secure integrations, privacy-preserving logs, reversible actions, and conservative defaults for financial or social actions.
Long-Term Applications
The following applications are plausible extensions of the paper’s findings but require broader validation, stronger safety mechanisms, continual adaptation, or scaling beyond the reported benchmark settings.
- Continually self-improving enterprise agent platforms — cross-domain automation
- A production platform could maintain a persistent hierarchy of harnesses that evolves as new tasks and failure patterns appear.
- New subclasses might be proposed from deployment traces, evaluated in a sandbox, and promoted only after passing regression tests across affected task clusters.
- This would enable agents to adapt to changing workflows without modifying the underlying LLM.
- Dependencies: safe continual-learning pipelines, version control, regression testing, drift detection, approval workflows, and defenses against feedback contamination or malicious tasks.
- Federated harness evolution across organizations — cloud and platform ecosystems
- Multiple deployments could contribute anonymized design and routing lessons to a shared parent harness while retaining organization-specific subclasses for local policies and tools.
- For example, common error-recovery logic could be shared across customers, while credentials, compliance rules, and application-specific procedures remain isolated.
- Dependencies: privacy-preserving telemetry, legal agreements, standardized harness interfaces, secure aggregation, and protection against leaking proprietary workflows.
- Robotics and embodied agents — manufacturing, logistics, and domestic robotics
- A robot could select different harnesses for navigation, manipulation, inspection, maintenance, or human interaction.
- A trajectory-informed router could respond to physical execution evidence such as repeated grasp failures, localization uncertainty, low battery, or incomplete manipulation states.
- Inheritance could preserve shared safety and control procedures while allowing task-specific overrides.
- Dependencies: real-time guarantees, reliable state estimation, hardware abstraction layers, simulation-to-real transfer, physical safety validation, and substantially richer trajectory observability than in the paper’s software benchmarks.
- Healthcare workflow agents — clinical administration and decision support
- Specialized harnesses could support scheduling, chart summarization, coding, laboratory-result retrieval, prior authorization, and discharge-document preparation.
- A base harness could enforce common privacy and provenance rules, while subclasses add domain-specific validation and escalation.
- The approach should initially remain limited to administrative or decision-support functions rather than autonomous diagnosis or treatment.
- Dependencies: clinical validation, patient-data protection, auditability, integration with health-record systems, clinician oversight, and regulatory approval.
- Financial and legal agents with procedural specialization — regulated professional services
- The framework could support separate harnesses for investment analysis, compliance checks, contract review, due diligence, tax workflows, and litigation-document preparation.
- Each subclass could encode different source-verification, calculation, approval, and record-retention requirements.
- A router could avoid transferring specialized behavior to unfamiliar legal jurisdictions, financial products, or document types.
- Dependencies: jurisdiction-specific validation, traceable evidence, liability allocation, secure data handling, and mandatory human sign-off for consequential decisions.
- Energy and infrastructure management — utilities and industrial control
- Specialized harnesses could manage forecasting, maintenance scheduling, outage response, asset inspection, and demand optimization.
- Trajectory-based routing could detect incomplete control actions, inconsistent sensor data, or failure to satisfy operational constraints.
- The architecture may eventually support adaptive agents coordinating heterogeneous tools across grid, building, and industrial systems.
- Dependencies: high reliability, real-time operation, certified control interfaces, adversarial-security testing, fail-safe behavior, and strict separation between advisory and autonomous control.
- Open-ended software engineering agents — large-scale development
- A hierarchy could include specialists for debugging, testing, refactoring, dependency upgrades, security review, deployment, and documentation.
- Parent harnesses could provide shared repository navigation and test execution, while subclasses introduce domain-specific planning and verification.
- Over time, routing could be based on repository structure, observed build failures, code ownership, and change risk.
- Dependencies: secure repository access, reproducible builds, robust test coverage, protection against supply-chain attacks, and prevention of self-modifications that bypass review.
- Learning and tutoring systems — education
- An educational platform could maintain harnesses for explanation, Socratic questioning, formative assessment, writing feedback, mathematics, programming, and accessibility support.
- The router could use observed student interaction patterns—such as repeated misconceptions or abandoned steps—to select a more appropriate instructional strategy.
- Inheritance would allow all educational harnesses to share age-appropriate language, privacy, and content-safety controls.
- Dependencies: pedagogical validation, reliable learner modeling, teacher oversight, protection of minors, cultural and curricular adaptation, and evidence that routing improves learning rather than merely task completion.
- Policy simulation and public-sector decision support — governance
- Agencies could use specialized harnesses for scenario analysis, legislative research, emergency planning, and public communication.
- A hierarchy would allow shared evidence-handling and transparency rules while adapting workflows to different policy domains.
- Routing lessons could help identify when a task falls outside the system’s validated domain and should be escalated.
- Dependencies: representative public-sector data, nonpartisan evaluation, transparency of automated recommendations, accountability mechanisms, and safeguards against discriminatory outcomes.
- Formal verification and safety certification for agent hierarchies — academic and industrial research
- Future work could combine object-oriented harness evolution with static analysis, type checking, policy verification, and model-based testing.
- Each subclass could be required to preserve inherited safety invariants while proving or testing the correctness of its overrides.
- This would turn the current empirical acceptance rule—improvement on a task cluster—into a stronger promotion process that also checks non-regression and safety properties.
- Dependencies: formal specifications for agent behavior, verifiable tool interfaces, scalable test generation, and methods for validating language-model-driven decisions.
- General-purpose operating systems for heterogeneous agents — long-term AI infrastructure
- The paper suggests a possible agent runtime in which harnesses function like reusable classes or plugins, with:
- inheritance for shared capabilities;
- routing for task specialization;
- execution traces for diagnosis;
- frozen releases for reproducibility; and
- sandboxed evolution for future versions.
- Such a platform could support agents spanning software, robotics, enterprise applications, and personal devices while avoiding a single globally optimized workflow.
- Dependencies: standardized interfaces, cross-environment portability, robust identity and permission management, observability, benchmarking beyond the three reported suites, and evidence that the approach remains effective under real-world distribution shift.
The practical feasibility of all applications depends on a central assumption of the paper: the agent’s execution environment must expose enough information to recognize failure modes and enough control to modify prompts, tools, memory, and execution logic. The reported gains—up to 15.79 percentage points over the base harness—are promising, but they come from controlled benchmarks with fixed executors and frozen post-training hierarchies. Deployment in high-stakes settings therefore requires additional testing for reliability, security, API changes, cost, fairness, and performance on genuinely novel task families.
Glossary
- Ablation study: An experiment that removes or varies individual components to measure their contributions. “Extensive ablation studies examine the contributions of its core components.”
- Agent harness: Executable code that defines the prompts, tools, and control flow surrounding a LLM. “Agent harnesses are executable code that specifies the prompts, tools, and control flow around a LLM.”
- API: An application programming interface that allows software components or services to communicate. “Evaluating revisions on target clusters instead of rerunning the full discovery set can reduce API calls and associated cost per candidate.”
- Base trajectory: The sequence of actions and observations produced when the base harness executes a task. “The harness router uses the task, an observable base trajectory, and routing lessons to select a specialized harness or retain the base result.”
- Best-of- selection: A strategy that generates candidate outputs and chooses the best according to an evaluation criterion. “We evaluate parallel best-of- selection () and sequential self-refinement (; \citealp{madaan2023selfrefine}).”
- Cluster score: The performance score of a candidate harness on the tasks assigned to a particular cluster. “Let denote its cluster score and $S_c^{\mathrm{current}$ the stored score under current harness assignments.”
- Code workspace: An environment in which an agent can inspect, modify, and execute source code and related files. “At each iteration, the evolution agent works in a code workspace with filesystem access to harness source, task clusters, and execution records.”
- Context management: The handling, organization, and limitation of information supplied to an agent during execution. “These workloads differ in the tool use, context management, and completion checks they require.”
- Discovery set: A collection of tasks used to develop or optimize a system before evaluation on held-out tasks. “Meta-Harness, for example, evolves candidate programs using discovery-set feedback and selects a global harness based on performance on that set.”
- Distribution shift: A change between the data or task distribution used during development and that encountered during evaluation or deployment. “Such selection does not guarantee that the same changes remain beneficial under distribution shift.”
- Executor: The LLM or software component that performs the task under the direction of a harness. “A harness implements the prompts, tools, and execution rules around an executor, the LLM that carries out tasks.”
- Execution interface: A standardized interface through which different harness implementations can be run. “At test time, polymorphism allows the executor to run a selected harness through a common execution interface.”
- Execution record: Stored information about candidate code, trajectories, outcomes, and reflections from harness executions. “Execution records store candidate code, discovery-task trajectories, outcomes, and reflections from successful and unsuccessful proposals.”
- Execution strategy: A particular method for controlling tools, prompts, context, and actions while completing a task. “A single global harness can struggle with heterogeneous tasks that require different execution strategies.”
- Filesystem access: The ability of a program or agent to read, create, modify, and inspect files in a filesystem. “At each iteration, the evolution agent works in a code workspace with filesystem access to harness source, task clusters, and execution records.”
- Generalization: The ability of a system developed on some tasks or data to perform well on new, unseen tasks. “Separating discovery from evaluation is essential for assessing generalization beyond the search set.”
- Grader feedback: Evaluation information produced by an automated or model-based task assessor. “Grader feedback supports evolution on training tasks only.”
- Held-out task: A task excluded from training or optimization and reserved for evaluation. “This differs from Meta-Harness's TerminalBench-2 discovery experiment, which uses the same tasks for search and final evaluation.”
- Heterogeneous task: A task that differs substantially from others in its requirements, domain, tools, or execution strategy. “A single global harness can struggle with heterogeneous tasks that require different execution strategies.”
- Inheritance: An object-oriented mechanism through which a subclass reuses and extends the methods and behavior of a parent class. “Each specialized harness inherits from the base or an existing specialized harness, overriding inherited methods or adding new ones.”
- Instance: A concrete runtime object created from a class, containing the state and behavior defined by that class. “The harness router selects a complete class whose methods execute within one instance; ancestors are not separate agent runs.”
- Long-horizon benchmark: An evaluation suite involving tasks that require many sequential actions or decisions to complete. “Across three long-horizon benchmarks spanning business workflows, workspace tasks, and tool use, achieves the best performance among the compared methods.”
- Mean partial credit: An evaluation metric that assigns credit for partial completion rather than only complete success. “Mean denotes mean partial credit on AutomationBench, micro-averaged rubric pass rate on Workspace-Bench, and mean reward on Toolathlon-GYM.”
- Micro-averaged rubric pass rate: The proportion of all individual rubric requirements satisfied across all evaluated tasks. “Mean denotes mean partial credit on AutomationBench, micro-averaged rubric pass rate on Workspace-Bench, and mean reward on Toolathlon-GYM.”
- Middleware: Software positioned between an application or agent and underlying services, often providing reusable processing or integration functions. “Where supported by the scaffold, it can also configure middleware, file backends, and subagents.”
- Method override: A subclass implementation that replaces or specializes a method inherited from a parent class. “Each specialized harness inherits from the base or an existing specialized harness, overriding inherited methods or adding new ones.”
- Object-oriented design: A programming paradigm that organizes software around objects and classes with encapsulated behavior and relationships such as inheritance. “In this work, we introduce Object-Oriented Harness (), a harness optimization framework that evolves a hierarchy of executable harness classes using object-oriented design.”
- Out-of-distribution (OOD): Describing data or tasks that differ from the distribution used for training or development. “Finally, we construct an out-of-distribution (OOD) setting with disjoint training and test application families, and examine Base reuse on the selected test tasks.”
- Parent class: A class from which another class inherits methods and behavior. “It selects a target cluster and parent class, states the intended change, and implements an executable subclass.”
- Polymorphism: The ability to use a common interface to execute objects of different classes according to their specialized implementations. “At test time, polymorphism allows the executor to run a selected harness through a common execution interface.”
- Prompt: An instruction or input supplied to a LLM to guide its behavior. “Agent harnesses are executable code that specifies the prompts, tools, and control flow around a LLM.”
- Rebasing: In version-control systems, the operation of replaying changes onto a different base revision. “Adaptive Auto-Harness shares and specializes workspace contents through Git branching and rebasing.”
- Reflection: An analysis of an agent’s previous execution used to identify successes, failures, or possible improvements. “Execution records store candidate code, discovery-task trajectories, outcomes, and reflections from successful and unsuccessful proposals.”
- Routing lesson: A learned description of when a particular harness should be selected for a task. “Routing lessons describe when a harness applies.”
- Scaffold: A supporting software framework that provides the interfaces and infrastructure required by an implementation. “The resulting class must remain compatible with the scaffold's execution interface.”
- Self-refinement: An iterative process in which a system revises its own output using feedback or evaluation. “We evaluate parallel best-of- selection () and sequential self-refinement (; \citealp{madaan2023selfrefine}).”
- Subclass: A class derived from another class that inherits and may extend or replace its behavior. “The evolution agent iteratively selects a cluster and parent harness, creates a subclass, and evaluates it across the cluster's tasks.”
- Subagent: An agent invoked by another agent to perform a delegated task or analysis. “It can inspect files, delegate analysis to subagents, and write or edit candidate code.”
- Task cluster: A group of tasks organized according to shared execution needs, capabilities, or failure patterns. “Task clusters group discovery tasks with related execution needs.”
- Test-time scaling: Increasing computation or the number of generated attempts during evaluation rather than changing the trained system. “Since \ uses a base trajectory for routing, we also compare with test-time scaling of the base harness to assess gains from additional inference.”
- Trajectory: The sequence of actions, observations, tool calls, and intermediate states produced during task execution. “We use a train/test split: harnesses evolve on discovery tasks and are evaluated on disjoint held-out tasks.”
- Tool use: An agent’s use of external software, APIs, or other resources to accomplish a task. “These workloads differ in the tool use, context management, and completion checks they require.”
- Trajectory-informed routing: Selecting a harness using information from the execution trajectory of a preliminary or base run. “The trajectory-based router also observes the base execution.”
- Unsupervised test-time scaling: Increasing inference or generating multiple candidate executions during testing without using grader feedback to train the system. “Parallel () & ”
- Workflow: A structured sequence of operations required to complete a task or business process. “FutureX evaluates agents on forecasting real-world events using external information, while APEX-Agents evaluates cross-application workflows in investment banking, management consulting, and corporate law.”






