Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
A Python runtime in both Mirage SDKs, supporting a subset of Python.
pip install 'mirage-ai[monty]'
in_process
runtime: monty
python3
from mirage import RAMVFS, MountMode, Workspace ws = Workspace( {"/data": RAMVFS()}, mode=MountMode.EXEC, machines={"py": {"provider": "in_process", "runtime": "monty"}}, ) await ws.shell("python3 -c 'print(1 + 1)'")