Skip to main content
Getting Started

Crash Course

The core Agent OS Exec concepts in one page.

Agent OS Exec is the language-execution layer of AgentOS. The root package owns the VM and shell; /javascript and /python provide focused conveniences for running submitted source.

The important boundaries are:

  • One runtime owns one isolated VM and may launch many fresh processes.
  • Submitted code and payloads are untrusted; the sidecar/runtime enforces the filesystem, process, network, permissions, and resource policy.
  • execute() returns streams and an exit code; evaluate() adds a structured JSON value or guest error.
  • spawn() returns a live process for servers and interactive programs.
  • TypeScript tools are part of the JavaScript runtime and compile inside its VM.
  • The underlying runtime.vm exposes files, mounts, shell, HTTP requests, bindings, software, and other general AgentOS operations.

Continue with Executing Code, Node.js, or Python.