Skip to main content

Prerequisites

  • Python 3.12 or newer for mirage-ai and its mirage CLI
  • Node.js 22.20+ on Node 22, 24.12+ on Node 24, or 25+ for @struktoai/mirage-node and @struktoai/mirage-cli
  • Browser builds can use @struktoai/mirage-browser with Node 20.18.1+ on Node 20, or Node 22+
  • macOS or Linux (FUSE-based mounts require platform support)

Python

This installs both the mirage library and the mirage CLI binary. Each agent framework adapter is an extra, such as uv add 'mirage-ai[openai]'. The default runtimes that run python3, node and js inside Mirage are extras too:
QuickJS also needs a qjs-wasi.wasm module; see QuickJS installation.

TypeScript

Pick the package that matches your runtime — @struktoai/mirage-core is auto-pulled by both Node and browser entrypoints.

CLI

Continue with the Python, Node, browser, or CLI quickstart.

More Details

Python

VFS extras, virtualenv setup, and uv workflow.

TypeScript

Native peers (FUSE, Redis) and per-runtime notes for Node, browser, and edge.