Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
# docs: test="docs" prelude="spacesd,spacesd-vars"
import asyncio
import cua
async def main():
sb = await cua.embedded().sandboxes().connect_url(URL, TOKEN, "dev") # your spacesd's address and token
guest = await sb.spacesd(None)
out = await guest.run(cua.SpacesdCommand(program="echo", args=["hi"]))
print(out.stdout)
asyncio.run(main())