Infrastructure for computer-use RL: many isolated desktops on one Linux server, each one forkable, resettable and verifiable.
Website · Docs · Benchmarks · Console · PyPI · X · LinkedIn
Training a computer-use agent means running the same desktop task thousands of times. Drums runs many isolated desktops on one Linux host by sharing one running operating system and its applications while keeping each desktop's mutable state separate. A desktop restores from a checkpoint, forks into copies of its running state, resets to a clean start, and reports a verified reward at the end of a rollout.
What we have measured so far, on our own AWS hosts (self-measured, not independently replicated):
- 512 concurrent desktops sustained on one server (r8i.16xlarge, 64 vCPU, 512 GiB, scripted policy), on five hosts across four studies, including two fresh hosts installed from the public release on 2026-11-22, where tuned KVM on the same hosts held 128. Load doubles at each step, so 512 is the last step tested (at least 95% of rollouts valid).
- Clean reset: median 0.54 s at 32 concurrent desktops (drumsd v0.2.1, two fresh hosts, 2026-11-22, scripted policy, 55 OSWorld tasks).
- Warm fork into 4 copies: median under 0.3 s in every run, as low as 0.08 s, with no invalid copies after a crash-attribution fix. A cold fork of a desktop with Chrome and LibreOffice Calc open takes about 2.3 s.
| Repository | What it is | Language |
|---|---|---|
| drumsd | The host daemon: desktops, templates, fork, reset, the HTTP API and the installer | Rust, Python |
| drums-python-sdk | pip install drums-sdk: Python client and the drums mcp server for agent frameworks |
Python |
| drums-verifiers | Environments for verifiers and prime-rl: OSWorld tasks, a seeded task factory, audited rewards | Python |
| drums-criu | Our fork of CRIU with the template server and restore-fidelity patches drumsd depends on | C |
Hosted, no server needed. Drums Cloud is open to invited teams until January 2027 (request access). With an invite, create an API key at console.drums.run, then:
pip install drums-sdk
export DRUMS_URL=https://beta.drums.run/gw
export DRUMS_TOKEN=drums_sk_...import drums
with drums.connect() as client:
with client.create(task="e0df059f", ttl=900) as env: # an OSWorld task; ttl in seconds
env.wait_valid()
env.step("pyautogui.click(960, 540)")
reward = env.verify(strict=False)
print("score", reward.score, "valid", reward.valid)Agent frameworks that speak MCP get the same desktops from drums mcp; see the
MCP guide.
Self-hosted: the drumsd install guide takes a fresh Ubuntu 24.04 host to a running Drums server.
Apache-2.0 for Drums code. drums-criu stays GPL-2.0 like upstream CRIU. Security reports go through each repository's private vulnerability reporting, see its SECURITY.md.