• bitcoinBitcoin(BTC)$77,112.00-0.33%
  • ethereumEthereum(ETH)$2,490.47-1.75%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$718.58-2.22%
  • rippleXRP(XRP)$1.34-2.12%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$100.23-1.78%
  • tronTRON(TRX)$0.3412080.35%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.00-3.20%
  • zcashZcash(ZEC)$1,087.00-4.65%
  • HyperliquidHyperliquid(HYPE)$77.96-2.83%
  • dogecoinDogecoin(DOGE)$0.083484-1.88%
  • RainRain(RAIN)$0.0152981.62%
  • moneroMonero(XMR)$535.171.37%
  • USDSUSDS(USDS)$1.000.00%
  • whitebitWhiteBIT Coin(WBT)$79.87-0.70%
  • chainlinkChainlink(LINK)$11.26-2.86%
  • leo-tokenLEO Token(LEO)$9.05-0.67%
  • cardanoCardano(ADA)$0.205677-1.38%
  • stellarStellar(XLM)$0.178241-2.36%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • daiDai(DAI)$1.000.00%
  • bitcoin-cashBitcoin Cash(BCH)$223.61-3.10%
  • USD1USD1(USD1)$1.00-0.01%
  • litecoinLitecoin(LTC)$54.470.77%
  • uniswapUniswap(UNI)$6.23-4.24%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.36-1.83%
  • CantonCanton(CC)$0.095034-3.08%
  • hedera-hashgraphHedera(HBAR)$0.0755400.73%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • avalanche-2Avalanche(AVAX)$7.36-0.92%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.84%
  • nearNEAR Protocol(NEAR)$2.28-4.98%
  • suiSui(SUI)$0.71-2.37%
  • crypto-com-chainCronos(CRO)$0.057889-1.47%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,345.64-0.10%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • MemeCoreMemeCore(M)$1.14-3.73%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • okbOKB(OKB)$112.63-1.24%
  • BittensorBittensor(TAO)$233.05-1.02%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.10%
  • aaveAave(AAVE)$125.58-0.44%
  • AsterAster(ASTER)$0.701.05%
  • pax-goldPAX Gold(PAXG)$4,347.30-0.17%
  • mantleMantle(MNT)$0.57-0.80%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056951-1.28%
  • BitwayBitway(BTW)$0.6620.34%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Meet OSGym: A New OS Infrastructure Framework That Manages 1,000+ Replicas at $0.23/Day for Computer Use Agent Research

April 8, 2026
in AI & Technology
Reading Time: 7 mins read
A A
Meet OSGym: A New OS Infrastructure Framework That Manages 1,000+ Replicas at alt=
ShareShareShareShareShare

Training AI agents that can actually use a computer — opening apps, clicking buttons, browsing the web, writing code — is one of the hardest infrastructure problems in modern AI. It’s not a data problem. It’s not a model problem. It’s a plumbing problem.

You need to spin up hundreds, potentially thousands, of full operating system environments with actual graphical user interfaces. Each one needs to run real software. Each one needs to handle unpredictable crashes. And you need all of them to run simultaneously at a cost that doesn’t bankrupt a university research lab.

YOU MAY ALSO LIKE

If Your Laptop Trackpad Is Popping Out, Stop Using It Immediately

How To Get Your Cut Of PlayStation’s $7.85 Million Settlement

That’s the problem ‘OSGym‘, a new research from a team of researchers at MIT, UIUC, CMU, USC, UVA, and UC Berkeley, is designed to solve.

https://arxiv.org/pdf/2511.11672

What is a Computer Use Agent?

Before unpacking the infrastructure, it helps to understand what a computer use agent actually is. Unlike a chatbot that responds to text prompts, a computer use agent observes a screenshot of a desktop, decides what to do — click a button, type text, open a file — and executes that action through keyboard and mouse inputs. Think of it as an AI that can operate any software the way a human would.

Models like Anthropic’s Claude Computer Use and OpenAI’s Operator are early commercial examples. Research models like UI-TARS, Agent-S2, and CogAgent are pushing the boundaries further. But training any of these systems requires massive amounts of interaction data generated inside real OS environments — and that’s where things get expensive and complicated fast.

The Core Problem: OS Sandboxes at Scale

A coding environment or a web browser sandbox is relatively lightweight to run. A full OS sandbox with a GUI is not. Each virtual machine needs its own bootable disk (around 24 GB), its own CPU and RAM allocation, and its own display stack. Multiply that by hundreds or thousands of parallel instances and you have a resource consumption problem that typical academic compute budgets simply cannot absorb.

On top of resource costs, there’s the reliability problem. Software crashes. Browser sessions time out. Applications freeze. If your training pipeline doesn’t handle these failures gracefully, one bad VM can stall an entire training batch.

OSGym tackles both problems with four distinct architectural optimizations.

Decentralized OS State Management

The first design choice concerns how the system manages the state of each OS replica — tracking whether it’s healthy, what task it’s running, and how to recover it if something goes wrong.

A naive approach uses a single centralized manager for all replicas. This is a classic single point of failure: as replica count grows into the thousands, the central manager becomes overwhelmed, latency increases, and one crash can halt the whole system. OSGym instead gives every OS replica its own dedicated state manager. Each state manager exposes public methods modeled after the OpenAI Gym API — reset, step, and shutdown — but handles its own health monitoring and crash recovery internally. A failure in one replica cannot propagate to any other.

Hardware-Aware OS Replica Orchestration

Here’s a non-obvious insight this research surfaces: when you run many OS replicas on a single server, the bottleneck depends on how many replicas you pack per machine. For a small number of replicas per server (low K), the system is CPU-bounded — most replicas are fighting over processor time. But as you pack more replicas per server (large K), the bottleneck shifts to RAM — and RAM is dramatically cheaper than CPU.

A 32 GB DDR4 RAM module typically costs 10–20% of what a 16-core CPU costs. OSGym runs replicas as Docker containers (using Docker images from OSWorld as a foundation) rather than full Virtual Machines to reduce per-replica overhead. By choosing servers with higher RAM capacity and running more replicas per machine, the daily cost drops from around $300 for 128 replicas at K=1, to roughly $30 at K=64 — approximately $0.234 per replica per day, a number that fits comfortably within many academic grant budgets.

KVM Virtualization with Copy-on-Write Disk Management

The disk provisioning problem is solved with a filesystem technique called reflink copy-on-write (CoW). Normally, spinning up 128 VM instances would mean duplicating a 24 GB base image 128 times — over 3 TB of storage and 30 seconds of provisioning time per VM.

OSGym instead uses cp --reflink=always on XFS-formatted NVMe drives. Each per-VM disk image shares physical disk blocks with the base image and only allocates new blocks when the VM actually writes to them. The result: 128 VMs consume 366 GB of physical disk instead of 3.1 TB — an 88% reduction — and disk provisioning time drops from 30 seconds to 0.8 seconds per VM, a 37× speedup. Each VM still sees its full 24 GB logical disk with near-native CPU performance.

Robust Container Pool with Multi-Layer Fault Recovery

OSGym maintains a pre-warmed runner pool — by default, 128 runners per executor node — initialized before training begins. Rather than creating and destroying VMs on demand, runners are recycled between tasks. Before each VM creation, OSGym reads /proc/meminfo and /proc/loadavg to verify the host can safely accommodate another instance, blocking creation if available memory falls below 10% or under 8 GB absolute. Each container is memory-limited to 6 GB to prevent over-provisioning under burst scenarios.

The system also tunes Linux kernel parameters that would otherwise cause silent failures at high concurrency — for example, fs.aio-max-nr is raised from 65,536 to 1,048,576, and fs.inotify.max_user_instances from 128 to 8,192. Fault recovery operates at two levels: at the step level, each action gets up to 10 retries by default; at the task level, if a runner fails permanently, the task is automatically reassigned to a fresh runner.

Unified Task Flow and Centralized Data Server

Two design elements that are particularly important for devs integrating OSGym: every task follows a four-phase unified execution flow — Configure, Reset, Operate, Evaluate — regardless of which software or domain is involved. This standardization makes it straightforward to add new task types without changing the surrounding infrastructure.

Above the replica layer, a centralized data server Python class exposes a single-entry batched interface (__next__ and async_step) that hides all the complexity of state manager communication and queuing. The batched step method is asynchronous, meaning the training loop is never blocked while waiting for OS replicas to complete their actions.

What the Numbers Look Like in Practice

Using 1,024 parallel OS replicas, the system collected trajectories across ten task categories — including LibreOffice Writer, Calc, and Impress, Chrome, ThunderBird, VLC, VS Code, GIMP, OS system configuration, and multi-app workflows — at approximately 1,420 trajectories per minute, versus 115,654 seconds without parallelization. The entire dataset cost $43 in cloud compute.

The research team then used that data to fine-tune Qwen2.5-VL 32B via supervised fine-tuning, followed by reinforcement learning using a PPO-based semi-online asynchronous pipeline (200 steps, batch size 64, learning rate 1e-6). The resulting model achieved a 56.3% success rate on the OSWorld-Verified benchmark — competitive with existing methods for a 32B parameter base model with no task-specific tuning.

Key Takeaways

  • Training computer use agents is an infrastructure problem first: Full OS sandboxes with GUIs are far heavier than coding or browser environments — each VM needs ~24 GB of disk, dedicated CPU and RAM, and a display stack. Without careful optimization, scaling to hundreds of replicas is simply unaffordable for most academic labs.
  • RAM is a smarter scaling lever than CPU: OSGym’s hardware-aware orchestration reveals that packing more replicas per server shifts the bottleneck from CPU to RAM — and RAM is 5–10× cheaper. This single insight cuts per-replica cost from ~$2.10/day to as low as $0.23/day.
  • Copy-on-write disk management eliminates the storage wall. By using XFS reflink CoW (cp --reflink=always), OSGym reduces physical disk consumption by 88% and speeds up VM disk provisioning by 37× — turning a 3.1 TB, 30-second-per-VM problem into a 366 GB, 0.8-second one.
  • Decentralized state management is the key to robustness at scale. Giving each OS replica its own dedicated state manager means failures stay isolated. Even starting from a fully crashed state, OSGym self-recovers all replicas within a short window — critical for uninterrupted long-running training jobs.
  • Academic-scale computer use agent research is now financially viable. With 1,024 replicas generating 1,420 trajectories per minute and a full dataset costing just $43 in cloud compute, OSGym brings the infrastructure cost of training general-purpose computer agents within reach of university research budgets.

Check out the Paper here.  Also, feel free to follow us on Twitter and don’t forget to join our 120k+ ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

The post Meet OSGym: A New OS Infrastructure Framework That Manages 1,000+ Replicas at $0.23/Day for Computer Use Agent Research appeared first on MarkTechPost.

Credit: Source link

ShareTweetSendSharePin

Related Posts

If Your Laptop Trackpad Is Popping Out, Stop Using It Immediately
AI & Technology

If Your Laptop Trackpad Is Popping Out, Stop Using It Immediately

September 13, 2026
How To Get Your Cut Of PlayStation’s .85 Million Settlement
AI & Technology

How To Get Your Cut Of PlayStation’s $7.85 Million Settlement

September 13, 2026
What Are Embeddings? How AI Represents Meaning as Numbers – Unite.AI
AI & Technology

What Are Embeddings? How AI Represents Meaning as Numbers – Unite.AI

September 13, 2026
AWS Introduces Pizza Bot: An Open Source Inbox for Background AI Agents
AI & Technology

AWS Introduces Pizza Bot: An Open Source Inbox for Background AI Agents

September 13, 2026
Next Post
NANO Nuclear Energy: Making Moves In The Drawdown

NANO Nuclear Energy: Making Moves In The Drawdown

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
More Weakness Ahead? Kevin Mahn Says Buy These 7 Stocks

More Weakness Ahead? Kevin Mahn Says Buy These 7 Stocks

September 10, 2026
Universal Music Group Is Collaborating With ElevenLabs On A New AI-Powered Creation Platform

Universal Music Group Is Collaborating With ElevenLabs On A New AI-Powered Creation Platform

September 10, 2026
Better Prepared, Yet More Heavily Targeted – Unite.AI

Better Prepared, Yet More Heavily Targeted – Unite.AI

September 11, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!