Computers & Runtimes#
Computaco decouples what software runs on from what drives it. Every agent loop speaks the same observation and action contract across four interchangeable computer runtimes:
| Runtime | Execution model | Best for |
|---|---|---|
| Your own desktop (Computatrum) | Native macOS, Windows, or Linux desktop driven with live cursor previews and human confirmation gates. | Automating daily work in your real installed apps without APIs. |
| Deterministic ComputerWorld | Single-process simulated OS profiles (macos, windows, ubuntu, ios, android) sharing a synthetic internet. Byte-exact replay and microsecond forks. | RL training, multi-agent simulations, policy verification, and reproducible evals. |
| Browser Computers (WebAssembly VMs) | Real Linux kernel (7.3+) compiled to WebAssembly via unkernel, with Windows (box64 + Wine wow64) and macOS (GNUstep / BYO image) runtime layers over /dev/fb0 and evdev. | Instant zero-server real OS sandboxes directly inside a browser tab (#/browser/linux). |
| Containerized Linux | Isolated Linux sandboxes on Cloudflare Containers (Heavy place) with checkpoint sleep/wake restoration to object storage. | Heavy worlds, real web browsers, and persistent multi-gigabyte workspaces. |
Deterministic simulated computers#
In ComputerWorld, every ComputerDefinition constructs an independent machine from an OS profile (macos, windows, ubuntu, ios, android). Profiles govern path conventions, home layouts, shell syntax, and desktop chrome without ever invoking host OS programs. Machines in a multi-computer world share no files, PIDs, or working directories unless an explicit network or service operation transfers state.
Virtual filesystem (Vfs)#
Vfs models inode identity, files, directories, hard links, symlinks, and OS-accurate case sensitivity with copy-on-write backing so snapshots and forks remain cheap. Privileged host accessors are strictly separated from actor-scoped permission checks (read_as / write_as); host filesystem paths are never exposed to simulated actors (Security).
Processes, logical time, and packages#
ProcessTable models process spawn, exit codes, signals, file descriptors, and logical-time advancement (Determinism). Running programs can be paused and stepped inside the simulated IDE (Debugging), and PackageManager resolves deterministic package transactions.
Shell and synthetic Git#
The terminal interprets a documented POSIX and PowerShell command subset (Shell) routed entirely through synthetic networking — no host subprocess is ever launched. Built-in Git models repositories and content-addressed commits over a canonical SHA-256 protocol so multi-machine engineering workflows (clone, branch, commit, push, PR review) replay identically across platforms.
Browser Computers (WebAssembly VMs)#
In the Console (New environment → Browser VM or #/browser/{linux,windows,macos}), Computaco can boot a real Linux kernel directly inside your browser tab via unkernel (WebAssembly + kwemu aarch64 execution + virtual framebuffer /dev/fb0 + evdev input):
- Linux (
#/browser/linux): Real Linux userspace booting in under 100 ms with interactive canvas, pointer/keyboard passthrough, and shell execution. - Windows (
#/browser/windows): Layered ARM64 Linux overlay runningbox64(BOX64_DYNAREC=0) + Wine wow64 + accessibility bridge over the sameComputerinterface. - macOS (
#/browser/macos): Instant GNUstep/Cocoa compatibility mode plus optional user-supplied disk image support (Apple OS binaries are never bundled).
See World Schema to define machines declaratively, Agent API for actor grants, and Desktop GUI for OS shells and window layouts.