Building Foundation Models for Computer Use Agents

tzafon · Tech · 2026 · source Agentic: yes · promotional bias: low · source-backed · extracted with prompt 0.5.5 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Computer-use agents, multimodal foundation models, and agent training infrastructure

Tzafon wanted to train foundation models for computer-use agents: models that can observe a computer through screenshots and issue actions such as clicks and typing. The team found that existing state-of-the-art models performed poorly on simple computer-use benchmarks, that trajectory fine-tuning and reinforcement learning did not generalize well, and that the deeper bottleneck was visual grounding: models often did not know which on-screen element matched an instruction.

Constraints:

Architecture

Tzafon built Waypoint, an SDK/infrastructure layer for interacting with computers, first through browsers and later through OS-level environments, with warm browser pools for fast data collection. Early training generated trajectories for high-level tasks and used SFT or RL on successful paths, including a hierarchical Gemma-supervisor/Qwen-executor experiment. Those approaches improved in narrow settings but did not scale or generalize. Error analysis showed a grounding problem: coordinate errors were often either exactly correct or far off. Tzafon therefore moved toward pre-training a computer-use foundation model, filtering data, running ablations, mid-training, RL, and fine-tuning a Qwen vision encoder on screenshot/tutorial data to strengthen visual grounding. Training infrastructure shifted toward PyTorch Titan/Forge, with reported 40k tokens/sec/GPU throughput.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  computer-use-agent[Computer-use agent] --> screenshot-action-interface[Screenshot/action interface]
  screenshot-action-interface --> waypoint-sdk[Waypoint SDK]
  waypoint-sdk --> warm-browser-pool[Warm browser pool]
  waypoint-sdk --> os-environments[OS environments]
  warm-browser-pool --> trajectory-generator[Trajectory generator]
  os-environments --> trajectory-generator
  trajectory-generator --> trajectory-store[Trajectory store]
  trajectory-store --> sft-rl-trainer[SFT/RL trainer]
  trajectory-store --> verifiable-reward-domains[Verifiable reward domains]
  sft-rl-trainer --> supervisor-model[Supervisor model]
  supervisor-model --> executor-model[Executor model]
  executor-model --> screenshot-action-interface
  sft-rl-trainer --> benchmark-harness[Benchmark harness]
  verifiable-reward-domains --> benchmark-harness
  benchmark-harness --> grounding-analysis[Grounding analysis]
  grounding-analysis --> foundation-pretraining-pipeline[Foundation pretraining pipeline]
  foundation-pretraining-pipeline --> qwen-vision-encoder[Qwen vision encoder]
  foundation-pretraining-pipeline --> screenshot-tutorial-data[Screenshot tutorial data]
  screenshot-tutorial-data --> qwen-vision-encoder
  foundation-pretraining-pipeline --> pytorch-training-stack[PyTorch training stack]
  desktop-beta-app[Desktop beta app] --> computer-use-agent
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Computer-use agent Agent that observes screenshots and sends click, coordinate, and typing actions to operate a computer. Screenshot/action interface, Desktop beta app, Benchmark harness
Screenshot/action interface Observation/action loop in which the model receives screenshots and emits actions. Waypoint SDK, Computer-use agent
Waypoint SDK Tzafon's SDK and infrastructure for programmatically interacting with browsers and operating systems. Warm browser pool, OS environments, Trajectory generator
Warm browser pool Pool of ready browsers used to speed up data collection. Trajectory generator
OS environments Operating-system-level environments and lightweight Linuxes for broader computer interaction. Trajectory generator
Trajectory generator Generates computer-interaction paths for high-level tasks such as buying a ticket or browsing websites. Trajectory store, SFT/RL trainer
Trajectory store Collection of generated successful and attempted task trajectories. SFT/RL trainer, Verifiable reward domains
SFT/RL trainer Early post-training path using supervised fine-tuning and reinforcement learning on generated trajectories. Supervisor model, Executor model, Benchmark harness
Supervisor model Gemma-based model used to break tasks into subtasks and guide the executor model. Executor model
Executor model Qwen-based smaller model that executes guided computer interactions. Screenshot/action interface
Verifiable reward domains Terminal and HTML tasks where task completion can be checked more directly. SFT/RL trainer, Benchmark harness
Benchmark harness Evaluation layer centered on OS World and related computer-use tasks. Grounding analysis
Grounding analysis Error analysis showing that click-coordinate mistakes are often either exact or far off, indicating weak visual grounding. Foundation pretraining pipeline
Foundation pretraining pipeline Domain-specific model-training path using filtered datasets, ablations, mid-training, RL, and pre-training from scratch. Qwen vision encoder, Screenshot tutorial data, PyTorch training stack
Qwen vision encoder Open-source vision encoder fine-tuned on screenshot-specific data for better grounding. Foundation pretraining pipeline
Screenshot tutorial data Data from tutorials where people explain what is happening on screen, used to teach screen-language grounding. Qwen vision encoder
PyTorch training stack Training infrastructure using PyTorch Titan and PyTorch Forge to avoid custom pre/post-training infrastructure. Foundation pretraining pipeline
Desktop beta app Beta application that will let the trained agent act on a user's computer. Computer-use agent

Data flow

Waypoint creates browser or OS environments, captures screenshots, and lets scripts or agents perform computer actions. The team generates trajectories for high-level tasks, filters successful trajectories, and tries SFT/RL or supervisor-executor training. Verifiable domains such as terminal and HTML tasks provide reward signals, while broader tasks expose sparse verification and grounding failures. Grounding analysis then feeds a foundation-model path: collect and filter data, train/pre-train, run ablations, mid-training, RL, and fine-tune the Qwen vision encoder with screenshot tutorial data where a human explains what is happening on screen.

4 supporting quotes
“Waypoint is like a way to uh um to interact with uh with computer was initially started with browsers now we support OS.”transcript, stated
“thought uh so the first thing but we but we we tried to to reason from like first principles and the first thing we needed is some way to interact with computer regardless of whether you want you want to s you want to do somewhere else. uh you probably want a way to generate data”transcript, stated
“take some task generate a lot of a lot of uh um trajectories uh you know take successful ones and uh either either just just SFT on them or do some some kind of uh reinforcement learning”transcript, stated
“we took a data set we filtered it uh we did ablations uh we uh you know we we we did mid training then we uh we we did RL”transcript, stated

Why this architecture

Tzafon first built Waypoint because every computer-use training strategy needed scalable interaction data. SFT/RL and supervisor-executor training were worth trying because successful trajectories and task decomposition are natural starting points, but they did not generalize. The observed grounding failures pushed the team toward domain-specific foundation-model pretraining and screenshot-specific vision encoder tuning rather than assuming a text-pretrained multimodal model would learn precise screen grounding from ordinary post-training.

4 supporting quotes
“you probably want a way to generate data at scale. Um and so that's that's kind of the uh uh the first thing we did.”transcript, stated
“them or do some some kind of uh reinforcement learning and it doesn't really uh like it's it somewhat worked uh but uh it didn't really scale well. Uh there's a couple of problems here. So first of all when you start generating um generating trajectories by trajectory”transcript, stated
“no uh it it was quite new uh but didn't really scale uh and the problem is uh the the model this approach doesn't really generalize. So when you say when you train on uh terminal tasks or like when you train on um I don't know uh browsing file system or”transcript, stated
“text part because it's so it's so good and the signal from images is is is quite bad. So um we kind of felt like uh the that we need a fundamental solution here. So uh what we needed is to uh either throw a lot of the data um in in in pre-training and uh or just just fine tune exist”transcript, stated

Models used: Gemma · Qwen · Qwen vision encoder · Vision-language models · BERT-like transformers (conceptual comparison) · Mixture of experts · PyTorch Titan · PyTorch Forge · OS World

Scale

Alternatives considered (roads not taken)

Use existing multimodal models as-is for screenshot/action computer use.

Rejected because: The speaker says state-of-the-art models perform poorly on simple OS World tasks, motivating custom work.

“There are not many good benchmarks. Uh but I think the one that people are um most looking at is OS world and uh related related things. Uh it's it's and again I'm I'm um uh computer users get more and more uh attention. You know the in in latest release uh”transcript, stated
“The task is really simple and yeah even the in the best models uh they kind of uh uh they kind of don't perform really well.”transcript, stated

Fine-tune or RL-train on successful trajectories.

Rejected because: The approach somewhat worked but produced low-entropy trajectories, sparse rewards, and poor scaling.

“take successful ones and uh either either just just SFT on them or do some some kind of uh reinforcement learning”transcript, stated
“them or do some some kind of uh reinforcement learning and it doesn't really uh like it's it somewhat worked uh but uh it didn't really scale well. Uh there's a couple of problems here. So first of all when you start generating um generating trajectories by trajectory”transcript, stated

Hierarchical supervisor/executor architecture.

Rejected because: Using Gemma to guide Qwen improved results in narrow settings, but the approach still failed to generalize across domains.

3 supporting quotes
“and um it kind of surprising that it's learned so we we took a supervisor model of Gemma which uh gave instructions to a uh to a quen uh and we you know generated a lot of trajectories. we sfted on them. Uh we we did we did we did RL and surprisingly it improved. So uh it's it was kind of a big”transcript, stated
“generated a lot of trajectories. we sfted on them. Uh we we did we did we did RL and surprisingly it improved. So uh it's it was kind of a big deal because you know uh there was no infra there was no uh it it was quite new uh but didn't really scale uh and the problem”transcript, stated
“it was quite new uh but didn't really scale uh and the problem is uh the the model this approach doesn't really generalize.”transcript, stated

Attach a vision encoder to an already strong text model and rely on normal multimodal training.

Rejected because: The text-to-text component can explain much of the training signal, leaving weak image grounding.

“the open source models uh the way they train multimodel is they take a text to text part and they try to attach a uh vision part after after um text to text is pre-trained.”transcript, stated
“a lot of the variance in in the uh is explained just by text to text part because it's so it's so good and the signal from images is is is quite bad.”transcript, stated

Keep building custom training infrastructure.

Rejected because: As PyTorch Titan and Forge matured, the team no longer needed to own as much pre/post-training infrastructure itself.

“half a year ago the infrastructure was really poor uh there's the pre-training and post- training uh was kind of kind of hard. Nothing nothing worked. Checkpoint didn't work.”transcript, stated
“mostly torch titan and torch forge for meta. Uh they they those works works really really uh uh really fine and you know we we uh we don't have to deal with with it ourselves anymore. It's really efficient and uh we we we we even uh achieved 40k tokens per”transcript, stated

Patterns

tool-use-orchestration (orchestration)

The agent operates the computer through an action interface: it sees screenshots and emits clicks, coordinates, or typing actions.

“it takes a screenshot um and then it sends an action like click I don't know coordinates or like type something”transcript, stated
“uh new new model release obviously and an app for uh for for desktop it's it's uh now uh in in beta and uh the the agent would act on your behalf on your computer. Um I think it's uh uh kind of cool but uh the things that you can use uh even now is uh the the waypoint uh and uh for whatever”transcript, stated

synthetic-data-generation (data)

Waypoint provides scalable computer environments for creating screenshots, actions, trajectories, and training examples for computer-use models.

“uh you probably want a way to generate data at scale. Um and so that's that's kind of the uh uh the first thing we did.”transcript, stated
“we just we just take a screenshot we do some something random uh and uh uh here's a screenshot that something happened in a in a computer.”transcript, stated

fine-tuning-adaptation (model-operations)

The team fine-tuned existing components and trained computer-use-specific models, including Qwen vision encoder tuning on screenshot/tutorial data and SFT/RL on trajectories.

“we fine tuned it on a lot of data from say say tutorials where you where you have like a tuto tutorial somewhere and the person explains what is going on on the screen”transcript, stated
“we sfted on them. Uh we we did we did we did RL and surprisingly it improved.”transcript, stated

multi-agent-orchestration (orchestration)

Tzafon tried a hierarchical setup where a larger supervisor model decomposed tasks and instructed a smaller executor model.

“it would be really nice if there's like just a really smart model uh would give would divide the task into like a subtasks and maybe guide the model uh a smaller model”transcript, stated
“we took a supervisor model of Gemma which uh gave instructions to a uh to a quen”transcript, stated

eval-driven-development (evaluation)

The team used OS World and related benchmarks, verifiable reward domains, coordinate-error distributions, and grounding failure analysis to redirect the training strategy.

“There are not many good benchmarks. Uh but I think the one that people are um most looking at is OS world”transcript, stated
“if you look at the distribution of errors by by coordinates it's either zero or like a lot.”transcript, stated

batch-offline-processing (model-operations)

The foundation-model path uses offline data filtering, ablations, mid-training, RL, and large-scale pre-training cycles before model release.

“we took a data set we filtered it uh we did ablations uh we uh you know we we we did mid training then we uh we we did RL”transcript, stated
“make it work. We also we also we also um also are able to uh make you know mixture of experts converge. we we uh we do um uh a lot of pre-training stuff now. So uh but yeah to to summarize now we we kind of we're a small startup so we uh we uh now we mostly focus focused on releasing a model”transcript, stated

latency-optimization (operations)

Waypoint's warm browser pool and the training stack's throughput improvements reduce bottlenecks in data collection and model training.

“It maintains a warm pool of browsers. So you don't have to like it's it's really fast”transcript, stated
“It's really efficient and uh we we we we even uh achieved 40k tokens per second per GPU. Uh it's it was it was soda at the moment with uh some modifications to uh made the torch titan.”transcript, stated

Tradeoffs

Computer-control interface

Chose screenshot input plus click/type actions over more abstract or application-specific computer APIs.

Rationale: The speaker describes screenshot/action as the consensus among best-performing computer-use models, even if it seems unsophisticated.

“best performing models they all interact with computer uh by by just you know it takes a screenshot um and then it sends an action”transcript, stated
“it might seem like a uh not the smartest way to do it but uh it's actually not that bad compared to like the alternatives”transcript, stated

First infrastructure investment

Chose Waypoint data-generation infrastructure over starting directly with model tuning.

Rationale: Every downstream training strategy required a way to interact with computers and generate data at scale.

“Uh we thought uh so the first thing but we but we we tried to to reason from like first principles and the first thing we needed is some way to interact with computer regardless of whether you want you want to s you want to do somewhere else.”transcript, stated
“uh you probably want a way to generate data at scale. Um and so that's that's kind of the uh uh the first thing we did.”transcript, stated

Model development direction

Chose pre-training a computer-use foundation model over only SFT/RL on generated successful trajectories.

Rationale: Trajectory training somewhat worked but did not scale or generalize; grounding required a more fundamental solution.

“either just just SFT on them or do some some kind of uh reinforcement learning and it doesn't really uh like it's it somewhat worked uh but uh it didn't really scale well. Uh there's a couple of problems here. So first of all when you start generating um generating trajectories by trajectory I mean”transcript, stated
“we decided well why don't we just um um build a model from scratch. Uh so we uh so we decided to pre-train the model”transcript, stated

Grounding fix

Chose fine-tune an existing Qwen vision encoder on screenshot/tutorial data over assuming generic multimodal pretraining is enough.

Rationale: Attaching vision remained hard, but Qwen was the best available open-source option and tutorial data helped tie text explanations to screens.

“for now we just took quen vision encoder and uh because because it's kind of the the best of open source solutions”transcript, stated
“we found this this this this quite helpful but it's still uh ongoing research”transcript, stated

Training infrastructure ownership

Chose use maturing PyTorch Titan/Forge infrastructure over continuing to maintain all custom training infrastructure.

Rationale: The team initially had to build infra itself, but newer tools worked well enough to avoid that burden.

“there was there's no really good uh uh a real infrastructure back in the day so we we kind of had to had to uh implement it ourselves”transcript, stated
“Uh they they those works works really really uh uh really fine and you know we we uh we don't have to deal with with it ourselves anymore. It's really efficient and uh we we we we even uh achieved 40k tokens per second per GPU.”transcript, stated

Gotchas (what bit them)

Successful-trajectory training produced low-entropy behavior.

Root cause: Generated trajectory trees often followed one path instead of exploring diverse solutions.

Resolution: Treat trajectory SFT/RL as insufficient and move toward broader grounding and pretraining work.

“the problem with it is it's kind of low entropy tree. So it would it would often just just go just go with one trajectory.”transcript, stated
“either just just SFT on them or do some some kind of uh reinforcement learning and it doesn't really uh like it's it somewhat worked uh but uh it didn't really scale well. Uh there's a couple of problems here. So first of all when you start generating um generating trajectories by trajectory I mean”transcript, stated

Automatic verification of computer-use tasks is sparse and unreliable.

Root cause: Models do not understand computers well enough to decide from screenshots whether a task is completed.

Resolution: Use domains with verifiable rewards, such as terminal tasks or HTML tasks with known answers, while recognizing the limitation.

“models are they kind of uh they don't really understand computers so it's hard to verify”transcript, stated
“the the agent work is uh in the domains with verifiable rewards.”transcript, stated

Training on narrow domains did not generalize.

Root cause: Terminal-task and file-system browsing training improved local performance but failed to transfer to other computer-use domains.

Resolution: Use benchmark and failure analysis to identify grounding as the deeper cross-domain bottleneck.

“when you train on uh terminal tasks or like when you train on um I don't know uh browsing file system or like uh something like this it's it doesn't really generalize to other domains”transcript, stated

Click errors were often wrong-object errors, not small coordinate errors.

Root cause: The model did not recognize which button matched the description, producing a bimodal error distribution.

Resolution: Focus on visual grounding rather than merely coordinate regression.

“it doesn't really recognize which which button is correct one by the description. So it click just other button.”transcript, stated
“the error is large and the problem is um uh we played with it a lot and the problem is uh the model the model doesn't really understand uh grounding.”transcript, stated

Text-pretrained multimodal models can underlearn screen grounding.

Root cause: The strong text-to-text part explains much of the variance, leaving weak signal from image data.

Resolution: Pre-train for the computer-use domain and fine-tune the vision encoder on screenshot/tutorial data.

“a lot of the variance in in the uh is explained just by text to text part because it's so it's so good and the signal from images is is is quite bad.”transcript, stated
“just just fine tune exist existing existing vision coders on uh a lot of a lot of screenshot data.”transcript, stated

Training infrastructure was immature early in the project.

Root cause: Pre-training/post-training tools and checkpointing did not work reliably.

Resolution: Adopt newer infrastructure such as PyTorch Titan and PyTorch Forge once they matured.

“half a year ago the infrastructure was really poor uh there's the pre-training and post- training uh was kind of kind of hard. Nothing nothing worked. Checkpoint didn't work.”transcript, stated
“mostly torch titan and torch forge for meta. Uh they they those works works really really uh uh really fine”transcript, stated

Evaluation

Tzafon evaluates computer-use models with OS World and related benchmarks, domain-specific verifiable reward tasks such as terminal and HTML tasks, trajectory success, coordinate-error distributions, and grounding analysis. The talk emphasizes that benchmark and verification quality remain weak across the field.

Metrics: OS World and related computer-use benchmark performance. · Success on simple tasks such as restoring a file from trash. · Verifiable rewards in terminal and HTML tasks. · Coordinate error distribution: exact hit versus large miss. · Generalization across terminal, file-system, browsing, and other domains. · Training throughput, including 40k tokens/sec/GPU.

5 supporting quotes
“There are not many good benchmarks. Uh but I think the one that people are um most looking at is OS world”transcript, stated
“restore some file from from uh uh from the trash. Uh and uh that's the task we're dealing with.”transcript, stated
“the the agent work is uh in the domains with verifiable rewards.”transcript, stated
“if you look at the distribution of errors by by coordinates it's either zero or like a lot.”transcript, stated
“It's really efficient and uh we we we we even uh achieved 40k tokens per second per GPU. Uh it's it was it was soda at the moment with uh some modifications to uh made the torch titan.”transcript, stated

Outcomes

The case is research-heavy rather than production deployment. Concrete scale signals include a one-year effort, Waypoint support for browser and OS environments, large trajectory/data generation, 40k tokens/sec/GPU training throughput, and a beta desktop app.

4 supporting quotes
“Uh this is uh yeah that was our first idea and so we released a uh waypoint. Waypoint is like a way to uh um to interact with uh with computer was initially started with browsers now we support OS.”transcript, stated
“it was quite new uh but didn't really scale uh and the problem is uh the the model this approach doesn't really generalize.”transcript, stated
“the problem is uh the model the model doesn't really understand uh grounding.”transcript, stated
“new model release obviously and an app for uh for for desktop it's it's uh now uh in in beta”transcript, stated