Evolved agent interfacesEvolving Agent Interfaces
Agent S4 evolution interface repository; on OSWorld V2, Qwen3.8-27B's binary success is 21.30%.
- Computer-use agents rely on interfaces fixed by humans before execution to observe and operate the environment. The authors argue that this cannot keep up with new applications, workflows, and models, and that static interfaces also cause computation to be spent on operations that do not match the task.
- Agent S4 fixes the task model and harness. The meta-agent reads only synthetic trajectories without success labels, and uses mutation or crossover to revise interfaces and usage knowledge; validation tasks, trajectories, and scores are hidden from it, and affect evolution only through parent selection.
- Table 2: OSWorld V2 without scratch VM evolved repository binary success 21.30%, Qwen CUA 5.56%. Table 3: ScienceBoard evolved repository 58.58%, Qwen CUA 41.4%.
- The paper does not specifically discuss limitations. The task agent and meta-agent are both Qwen3.8-27B; the full results include the 15 validation tasks used for selection; the other models' numbers in Table 2 are taken from Yuan et al.; the paper does not report the number of repetitions for the full evaluation.
- Evaluated models
- Qwen3.8-27B
- Benchmarks
- OSWorld V2ScienceBoard
- Metrics
- binary successpartial scoresuccess ratecost per task
The researchers propose Agent S4, which lets an agent autonomously evolve a computer-use interface from task experience. A meta-agent inspects the task agent's trajectories on synthetic training tasks without success labels, builds and revises interfaces and usage knowledge in a repository, and then uses population-based evolution to select the repository by performance on validation tasks. On OSWorld V2, Agent S4 paired with Qwen3.8-27B achieves a 21.3% binary score, 3.8 times that of the same model using a fixed interface, higher than GPT-5.5's 13.0% and Claude Opus 4.8's 20.6%, at about 4.3% and 1.5% of their costs. On ScienceBoard, the same model's success rate rises from 41.4% to 58.6%. The code is open-sourced.
Paper analysis
What problem does this paper attempt to solve?
Interfaces fixed in advance by humans cannot keep up with new tasks, so Agent S4 must evolve interface repositories from unlabeled experience.
Computer-use agents are limited by interfaces fixed by humans before execution and cannot keep up with new applications, workflows, and models.
- Scenario: The authors hold that computer-use agents complete tasks by observing and operating digital environments, and that the interface determines what can be observed and which operations can be requested. Existing frameworks are mainly GUI-based, supplemented by specialized tools; although the interfaces are built for agents, they still rely on humans' judgment of requirements.
- Shortcomings of existing approaches: The authors list three points. Progress is tied to humans reading trajectories, writing primitives, and releasing new frameworks, and cannot scale with task diversity. Static interfaces are often mismatched with tasks, and existing methods compensate with test-time sampling; the authors give the example that when a shell could be used directly, the agent may still click the terminal character by character, and extra sampling raises the score but is a wasteful and brittle strategy. Distilling experience into skills or routines can still only rearrange preset observations and actions and cannot extend the interface.
- Claim: The authors argue that interface design itself should be an agent capability and should evolve from the agent's own experience, rather than being fixed by humans before deployment.
- Proposed system: The authors propose Agent S4, described as an autonomous computer-use scientist. It builds and revises an Evolving Agent Interfaces repository from synthetic task trajectories without success labels; population evolution uses validation tasks unseen by the meta-agent to decide which repositories to develop. The task agent's model and harness remain fixed.
What related research exists?
Related work is divided into computer-use interfaces, reusable skill tools, and coded agent design and evolutionary search.
Computer Use and Interaction Design
- How interfaces expose observations and actions: SWE-agent (Yang et al., 2024) discusses the relationship between the agent-computer interface and performance. Agent S and Agent S2 (Agashe et al., 2025a,b) use engineered components to organize planning, perception, and action; UI-TARS (Qin et al., 2025; Wang et al., 2025a) learns GUI policies.
- Programmatic access beyond the GUI: Related systems add application APIs, code execution, or tool calls (Lu et al., 2025; Song et al., 2025a,b; Zhang et al., 2026a; Jia et al., 2026; Yang et al., 2025). Agent S3 selects among multiple rollouts (Gonzalez-Pumariega et al., 2025). The paper states that agents that only write code and run it can outperform agents that select from predefined actions (Lu et al., 2026; Wang et al., 2024).
- The difference stated in the paper: These interfaces are designed by humans or written within a single task; code and tools, if available, are also one of the predefined actions. Agent S4 evolves them across tasks and keeps operational and usage knowledge in the repository.
Skill, Memory, and Tool Construction
- Text and workflow memory: Reflexion (Shinn et al., 2023) stores textual feedback for later attempts; Agent Workflow Memory (Wang et al., 2025b) induces reusable workflows from experience.
- Executable tools: LLMs as Tool Makers (Cai et al., 2024) separates tool making from tool use; SkillWeaver (Zheng et al., 2025) builds reusable APIs from web interaction; CUA-Skill (Chen et al., 2026) provides parameterized computer-use skills and composition graphs.
- The difference stated in the paper: The authors state that these works show that persistent knowledge and executable tools are useful. This paper searches for complete repository versions containing interfaces, observation routines, configuration, and usage knowledge, and mutation and crossover modify these parts together, selected by their joint effect on task agent performance.
Automated Agent Design and Evolutionary Search
- Modifying agents or harnesses: ADAS (Hu et al., 2025) searches code-represented agent designs; Darwin Gödel Machine (Zhang et al., 2025) modifies its own coding agent and keeps an archive of alternatives; Self-Harness (Zhang et al., 2026b) proposes harness changes based on execution trajectories and verifies them with regression tests.
- Code and prompt evolution: AlphaEvolve and ShinkaEvolve (Novikov et al., 2025; Lange et al., 2025) combine model-generated code changes with evolutionary search and executable evaluation; GEPA (Agrawal et al., 2025) evolves prompts through trajectory reflection. Fitzgerald and Ryan (2011) use a validation set to control overfitting in genetic programming.
- The difference stated in the paper: Agent S4 has asymmetric access to evaluation evidence. The meta-agent studies synthetic trajectories without ground-truth success labels; the fixed harness still manages model calls, execution, permissions, and budget; validation tasks, trajectories, diagnostics, and scores are hidden from the meta-agent, and held-out performance determines parents.
Baselines and Benchmarks
- Interface comparisons: No repository, seed repository, evolved repository, and Qwen CUA's fixed interface. OSWorld V2 also compares against the open-source and closed-source results in Yuan et al. (2026) Table 3, and those numbers were not run by the authors themselves.
- Evolution comparisons: Population evolution (with/without scratch VM) and linear evolution on the same seed (Table 1). The benchmarks are OSWorld V2 (Yuan et al., 2026) and ScienceBoard (Sun et al., 2025).
The authors position this paper as: with the model and harness fixed, evolving computer-use interfaces from synthetic, verifier-free experience, and they state that this is complementary to progress in models and harnesses.
How does the paper address this problem?
Agent S4 fixes the model and harness, uses population mutation and crossover to evolve interface repositories, and the validation set is used only for selection.
Agent S4 puts executable interfaces and usage knowledge into a persistent repository, and when the task agent's model and harness are fixed, uses population evolution to approach the expected cross-task score. Training trajectories guide how to modify the repository, and the held-out validation only guides which parents to select (Figure 3, Algorithm 1).
Problem setting and repository
- Computer and task: The computer state includes files, applications, display, services, and reachable network endpoints. A task contains instructions, an initial state, a scorer, and a budget. The score of one attempt is the average of the scorer's score over the interaction.
- Interface: An interface connects to a part of the computer and has a request language and an observation language. Executing a request can change the state and return an observation. GUI accepts clicks and keystrokes and returns screenshots; shell accepts commands and returns strings.
- Agent: The model generates requests under the harness. The harness manages model calls, execution, budget, permissions, and context, including compression. The base interface set remains unchanged; the repository adds interfaces and knowledge on top of it.
- Objective: The repository the authors seek maximizes the expected score over the task distribution, and what is of interest is performance beyond the experience used for construction:
R⋆∈argmaxR𝔼x∼𝒟[J(A,R,x)]
That is, the expected score of the fixed agent A over the task distribution is maximized. One evolution step is written as producing a revised repository from the current repository and its trajectories; Section 3 implements this step with population search.
Population, mutation, and crossover
- Initialization and selection: The population starts from a seed repository. The seed is about 550 lines, with 4 modules and 15 interfaces, wrapping desktop tools and Chrome DevTools, and does not contain benchmark-specific applications (Table 5, Appendix A.2). Each step selects mutation or crossover by a schedule. Binary tournament draws parents by validation score; for crossover, the second parent excludes the already selected first one. OSWorld V2's search starts with mutation, then alternates; after 10 steps the five lowest-scoring variants lose parent eligibility.
- meta-agent: Uses a fixed model and harness. Its computer contains the parent repositories, training trajectories, and lineage notes. It forms hypotheses from recorded behavior and observations, then implements them through file, shell, and code interfaces. For example, repeated cell-by-cell editing can prompt a batch spreadsheet interface, and poor use can lead to changing usage knowledge.
- Two operators: Mutation adds, revises, or deletes interfaces and knowledge from one parent, including capabilities inherited from the seed. Crossover makes one coherent offspring from two parents, and can choose among overlapping interfaces, port complementary capabilities, or synthesize new code; it need not be the union of the parents. The base interface set does not change as the repository evolves.
Asymmetric evaluation and population update
- Evaluation after freezing: After the offspring is frozen, the same task agent runs on synthetic training tasks and disjoint validation tasks. The repository is in the task agent's file system, and a fixed prompt states its location and how to discover capabilities. The agent can read documentation and source code, and calls the chosen interfaces through the harness's existing code execution tool. Temporary programs during a task are not retained across tasks.
- Two kinds of evidence: Training trajectories have no ground-truth success labels and are kept only as evidence for later repository modification, reused when the offspring becomes a parent. The validation score is the average of scorer scores on validation tasks:
Fval(R)=1/(|𝒯val|)∑x∈𝒯valVx(Rollout(A,R,C,x))
It is used only for selection, not as direct feedback during construction.
- Who sees what: The meta-agent sees only training trajectories. Validation tasks, trajectories, diagnostics, and scores are inaccessible to it. Therefore validation affects construction only through parent selection.
- Admission and final selection: Regardless of validation score, offspring stay in the population together with their parents, for further development and recombination. Parents are linked into a directed acyclic graph. Optional pruning removes parent eligibility but keeps the lineage. After N steps, one repository is selected from the population by a benchmark-specific criterion, and after freezing is evaluated on the target tasks. During construction the meta-agent cannot see these target tasks; validation tasks from the same benchmark only affect selection.
Task-side invocation and where synthetic experience comes from
- Invocation method: On OSWorld V2 the repository is installed at a fixed path. The prompt requires first looking at the toolkit and using capabilities, doc, and call to discover and invoke. When capabilities are insufficient, the source code can be read (Appendix A.2).
- Synthetic tasks: The trajectories used for evolution come from independently written synthetic tasks and carry no ground-truth success labels. Coordination, writing, and review are done by other models; the writing side cannot see official task instances, scorers, or task agent trajectories. Review checks for overlap with official tasks and accepted synthetic tasks. The constant zero-score scorer in the runner is only for compatibility, and the paper states it is not a success label or training reward. Appendix C gives the builder prompts.
What experiments did the paper conduct?
Under the same model, the evolved repository raises OSWorld V2's binary success from 5.56% to 21.30%.
Experimental Setup
- Models and harness: Both the task agent and the meta-agent are Qwen3.8-27B, and a modified Prime Agent (0.8.0-beta.546.1.a9b5d88) executes code in a persistent IPython kernel. Medium reasoning, temperature 1, top-p 0.9, context 131,072 tokens, output limit 32,000 tokens. The same model is also used for GUI grounding and interface construction. The coordination model for synthetic tasks is GPT-6 Astra, and writing and independent review are by GPT-5.6-Sol. The in-search model and harness are fixed; automatic harness refinement is turned off, and the only state retained across tasks is the repository.
- Data splits: The full OSWorld V2 set of 108 tasks and the full ScienceBoard set of 169 tasks, each containing 15 official validation tasks. The evolutionary training tasks are synthetic and have no success labels: 30 for OSWorld V2 and 48 for ScienceBoard (out of 50, excluding sb_grassgis_010, which failed initialization, and sb_chimerax_006, whose input could not be opened). The meta-agent receives only training trajectories.
- Comparisons and external numbers: The authors' own evaluation includes no repository, seed repository, evolved repository, and Qwen CUA. Qwen CUA uses the upstream Qwen harness, with actions as mouse, keyboard, and screenshots, which are then translated into PyAutoGUI. The scores and per-task costs of other models in Table 2 and Figure 2 are taken from Yuan et al. (2026) Table 3, whose reference harness is screenshot observation with a 500-step budget. The authors' own Prime Agent rollout is 300 completed assistant replies, and one step can contain multiple actions.
- Metrics and cost: OSWorld V2 reports binary success (full completion) and partial score (intermediate progress); the ScienceBoard scorer reports only success rate. Cost uses Parasail rates, assumes an 80% input cache hit rate, and counts only task-solving model calls, excluding repository construction and runtime infrastructure.
- Four evolutions: All start from the same seed, and each constructs one descendant; the number of descendants does not include the seed (Table 1). OSWorld V2: population, no scratch VM, 30 training / 15 validation / 30 descendants; population, with scratch VM, same split; linear, with scratch VM, same split. ScienceBoard: population, no scratch VM, 48 training / 15 validation / 30 descendants. With a scratch VM, the meta-agent can open applications and try interface code; without one, it only sees repository code and stored training trajectories.
- Selection and budget: OSWorld V2 selects the repository that fully solves the most validation tasks, with ties broken by average partial. ScienceBoard selects the highest validation success rate and re-evaluates the top-3 every 5 steps, with the score changed to a rolling average; OSWorld V2 does not do this step. Task rollouts are 300 steps. OSWorld V2 training and validation additionally have a 2-hour wall-clock limit, and final evaluation has no per-task wall-clock limit; ScienceBoard training, validation, repeated validation, and full evaluation are all 60 minutes. Each meta-agent construction: two hours for OSWorld V2 and one hour for ScienceBoard.
Main Results
The table below is based on Table 2. The first three rows are the authors' own evaluation of Qwen3.8-27B; the last five rows are cited via Table 2 from Yuan et al. (2026) Table 3 and were not run by the authors themselves.
Swipe horizontally to read the table
Setting Binary (%) Partial (%) Cost/task ($) Qwen CUA, fixed interface 5.56 20.69 1.39 Evolved repository, no scratch VM 21.30 46.90 1.10 Evolved repository, with scratch VM 19.44 51.06 1.27 GPT-5.5, batched, cited 13.00 49.50 25.50 Claude Opus 4.8, batched, cited 20.60 54.80 72.40 Claude Opus 4.7, batched, cited 18.20 48.91 33.60 MiniMax M3, single, cited 4.60 22.30 2.40 Qwen3.7-Plus, single, cited 2.80 21.50 3.80 Omitted cited rows: Kimi K2.6 single (4.60 / 22.10 / 6.60), Claude Opus 4.8 single (18.50 / 49.30 / 76.10), Claude Opus 4.7 single (13.90 / 49.10 / 35.80), Claude Sonnet 4.6 single (8.30 / 41.50 / 22.30). The lowest binary success in the table is Qwen3.7-Plus.
- The authors state that on OSWorld V2 the binary gain is the hardest to obtain: strong agents have similar partial progress, and what separates them is whether they can turn progress into fully completed tasks. The abstract writes 21.3%, and Table 2 writes 21.30%.
- The authors state that the evolved repository without a scratch VM is higher than GPT-5.5 and batched Claude Opus 4.8 in the table, at about 4.3% and 1.5% of their cost; the abstract states that this is 3.8 times that of the same model with a fixed interface. In the row with a scratch VM, binary success is lower than batched Claude Opus 4.8 in the same table.
- The authors state that relative to Qwen CUA with the same model, the evolved repository improves binary success and partial score and reduces task-solving cost. The authors also state that among the open-source model rows in the table, this setting has the highest binary success.
ScienceBoard Generalization
- What was tested: Another evolution, with the same task model, the same Prime Agent, and the same seed; the meta-agent learns from 48 synthetic tasks across six scientific applications, 15 validation tasks are used for selection during 30-step construction, and there is no scratch VM. The full set is 169 tasks, with applications Celestia, ChimeraX, GRASS GIS, KAlgebra, Lean, and TeXstudio.
- Results: In Table 3, Qwen CUA is 41.4%, the seed repository 55.03%, and the evolved repository 58.58%. The abstract writes from 41.4% to 58.6%. Relative to the seed, solved tasks go from 93 to 99, average model calls drop from 61.7 to 58.9, and functions increase from 15 to 64. KAlgebra success rate goes from 48% to 68%, and the authors state that the gain is largest there.
- The authors' interpretation: The authors state that Agent S4 can evolve useful interfaces for specialized scientific software from synthetic training experience. The additions include a ChimeraX command interface, GRASS GIS modules that run in an active session, and a KAlgebra calculator that can compute multiple expressions in one call.
Seed Repository and Evolution Strategies
- What was tested: Table 4 uses Qwen3.8-27B and Prime Agent throughout, comparing no repository, seed, and three evolutions on the full OSWorld V2. Each evolution reports the repository selected by that strategy.
- Results: No repository has binary 15.74% and partial 44.93%; seed has 19.44% and 44.90%, with task cost dropping from $1.36 to $1.11 per task. Linear with scratch VM is 19.44% and 47.17%; population with scratch VM is 19.44% and 51.06%; population without scratch VM is 21.30% and 46.90%, at a cost of $1.10.
- The authors' interpretation: The authors state that the seed is a useful starting point and that evolution improves it further on binary success and partial score. The authors state that the scratch VM improves partial progress, while the highest binary success comes from evolution without a scratch VM. Qwen CUA in Table 2 uses a different harness (Appendix A.2) and is not the same execution interface as the no-repository row in Table 4.
Evolved Interfaces and Repeated Validation
- Interface classification: Figure 4 counts new interfaces and subsequent extensions among 30 candidates each across three population runs, by scope; labels can overlap, and the sum of the parts can exceed the total. OSWorld V2 without scratch VM: 4 new interfaces and 127 extensions. With scratch VM: 12 new interfaces and 253 extensions, of which 129 are Cross-App extensions. ScienceBoard: 7 new interfaces and 91 extensions, with 77 App-specific extensions. The authors state that the additional application interfaces with a scratch VM are one possible explanation for its best repository's higher partial score.
- Case: Figure 5 compares the information-gathering segment of OSWorld V2 task 008. Qwen CUA with a fixed interface opens receipts one by one and handles download warnings; under the evolved repository, the task agent uses the browser interface to read email and bank records as text, then uses existing command-line tools to fetch attachments. Appendix B also has comparisons for MailHub, XMind, Zotero, and others, and the paper states that these segments are used to illustrate the mechanism, not as a controlled comparison.
- Repeated validation: The authors cite run-to-run variance in long-horizon computer use, so ScienceBoard re-evaluates the three highest-scoring repositories every 5 steps and selects by mean (Figure 6). if-003 and if-004 first scored 73.33%, and after re-evaluation their means dropped to 60.00% and 66.67%. The selected if-016 scored 73.33%, 66.67%, 73.33%, and 73.33% across four times, for a mean of 71.67%. The authors state that looking only at the first score would rank if-003, with a mean of 60.00%, among the best repositories.
Other Ablations and Analyses
- Figure 7 (OSWorld V2, with scratch VM, 15 validation tasks): seed partial 35.8%, binary 6.7%; step 24 crosses step 2 and step 6, with partial 50.2% and binary 26.7%, tied with the binary of steps 5, 25, and 29.
- Figure 8: On ScienceBoard, if-016 has a mean of 71.7% across four evaluations, and the seed's first evaluation is 53.3%; its parents have means of 66.7% and 60.0%.
- Appendix B.2, Table 6 (108 tasks, evolved repository is if-011): average IPython calls across all tasks are 163.2 for the seed and 162.1 for the evolved; their respective full-score subsets are 111.6 (n=21) and 103.7 (n=23). On the 11 tasks where both are full-score, the mean increases from 87.8 to 103.2.
- Table 8, one trajectory each for task 046: seed 299 tool calls, 68 results with images, 97.5 minutes, score 0.50; evolved if-011 is 167, 14, 51.1 minutes, 1.00. The paper states that the total duration difference is an observation from this case, not an isolated estimate of the CDP effect.
- The call savings for the same repository do not appear on every trajectory: after removing interrupted evolution attempts, the all-task means remain close (seed 163.2, evolved 163.4).
What are some points that can be further explored?
The paper does not specifically discuss limitations or future directions.
Limitations and future directions noted by the authors
The paper does not specifically discuss limitations. Appendix B.5 states that the ablation segments with and without interfaces are used to illustrate interface usage, are not a controlled comparison, and do not estimate a treatment effect or the benefit of a single helper. The main text's Limitations, Discussion, and Future Work do not list any other limitations or future work.
Scope of experimental coverage
- The task agent and meta-agent are both Qwen3.8-27B, and the harness is a modified Prime Agent; within each search the two are fixed (Section 4). Coordination, writing, and review of synthetic tasks use GPT-6 Astra and GPT-5.6-Sol.
- Full evaluation is 108 tasks on OSWorld V2 and 169 tasks on ScienceBoard, each including the 15 official validation tasks used for selection. The synthetic training tasks used for construction are 30 and 48 respectively, and have no success labels (Section 4).
- OSWorld V2's evolution comparisons include no repository, seed repository, population evolution with/without scratch VM, and linear evolution with scratch VM; ScienceBoard is another population evolution without scratch VM, and every 5 steps applies Denoise to the validation top-3. OSWorld V2 does not do Denoise (Table 1, Section 4, Section 7.3).
- In Table 2 and Figure 2, except for the authors' own evaluation of Qwen3.8-27B, the scores and per-task costs of other models are taken from Yuan et al. (2026) Table 3. The external reference setting is screenshot observation and a 500-step budget; the authors' own rollouts are 300 steps (Section 4, Appendix A.2).
- The paper reports repeated evaluation on the ScienceBoard validation set (Figure 6), and does not report the number of repetitions for the full scores on OSWorld V2 and ScienceBoard. Task solving cost does not include repository construction and runtime infrastructure (Section 4, Appendix A.2).
Summarize the main content of the paper
Agent S4 evolves interface repositories, reporting higher success rates on OSWorld V2 and ScienceBoard.
Agent S4 makes the design of computer-use interfaces an evolvable repository, rather than something fixed by humans before deployment.
- Problem: The authors argue that interfaces determine what the agent can observe and what it can request. Manual interface changes cannot keep up with new tasks; when static interfaces are mismatched with tasks, test-time sampling compensates with a wasteful and brittle policy; skills composed of preset actions cannot extend the interfaces themselves.
- Approach: The task agent's model and harness are fixed to Qwen3.8-27B and Prime Agent. The meta-agent reads only synthetic trajectories without success labels, and uses mutation or crossover to revise interfaces and usage knowledge. Validation tasks, trajectories, and scores are hidden from it, and only determine which repositories continue as parents. The finally selected repository is then evaluated on the full benchmark, and the full set includes those 15 validation tasks.
- OSWorld V2: In Table 2, the evolved repository without scratch VM has binary success 21.30%, partial 46.90%, and $1.10 per task; the same model Qwen CUA has 5.56%, 20.69%, and $1.39. The abstract states the former is 3.8 times that of fixed interfaces, and higher than the cited GPT-5.5 (13.00%) and batched Claude Opus 4.8 (20.60%), at about 4.3% and 1.5% of their cost. The repository with scratch VM has binary 19.44%, lower than that Opus row, and partial 51.06%.
- Increment under the same harness: In Table 4, Prime Agent without a repository is already 15.74% binary, the seed is 19.44%, and population evolution without scratch VM is 21.30%. Qwen CUA uses a different harness. Linear evolution's binary stops at 19.44%.
- ScienceBoard: In Table 3, the evolved repository is 58.58%, the seed is 55.03%, and Qwen CUA is 41.4%. Relative to the seed, solved tasks go from 93 to 99. KAlgebra goes from 48% to 68%.
The authors argue that useful interfaces can be evolved from synthetic experience without a verifier, and state this is a source of improvement beyond the model and harness. The authors state that this open-source setting reaches a new state of the art on OSWorld V2. The paper does not report the number of repetitions for the full scores; repeated validation on ScienceBoard shows that a single high score can be higher than the mean of multiple runs.