# vadgr-agent-os Containerized runtime for AI agents. A Linux sandbox with a browser, editor, terminal, and an MCP server, where agents do independent work and deliver results. **Status: early. Under construction.** ## Why this exists Running agents on the user's real machine has safety, concurrency, and reliability issues. Agent OS gives each agent its own isolated environment: - Own browser session (no pollution of user cookies) - Own filesystem (rollback trivial — just destroy the container) - Own compute (can parallelize N agents on one host) - Own identity (audit logs per container) - Own network policy (opt-in per task) The agent inside the container uses `vadgr-computer-use` (MCP) to operate its virtual desktop. The host launches containers, feeds tasks, collects outputs. ## Architecture ``` host │ ├── launches → docker run vadgr/agent-os:latest │ ▼ container ├── Xvfb :0 virtual display ├── openbox window manager ├── chrome / firefox browser ├── vs code editor ├── python / node / git tools ├── vadgr-computer-use (MCP) agent's eyes+hands └── agent runtime agent's brain (calls MCP) ``` Agent receives task → perceives via MCP → acts via MCP → produces output → container exits. ## Quick start (planned) ```bash # Pull the image docker pull vadgr/agent-os:latest # Run a task docker run --rm \ -v $PWD/output:/work/output \ -e TASK="research quantum computing and write a summary" \ vadgr/agent-os:latest # Output appears in ./output/ ``` ## Parallel tasks (planned) ```bash # Via vadgr-forge orchestrator vadgr-forge run --parallel 10 --env agent-os "test these 10 PRs" ``` ## Components - `docker/Dockerfile` — base image (Linux + desktop + tools + MCP) - `docker/entrypoint.sh` — launches Xvfb, WM, MCP server, agent runtime - `src/agent_os/` — Python glue code between agent and MCP - `scripts/` — helpers (build, run, exec) ## Part of Vadgr - [vadgr](https://github.com/MONTBRAIN/vadgr) — workflow engine (brain) - [vadgr-computer-use](https://github.com/MONTBRAIN/vadgr-computer-use) — desktop automation MCP (eyes) - **[vadgr-agent-os](https://github.com/MONTBRAIN/vadgr-agent-os)** — this repo ## License Apache 2.0.