Installation
Use Python 3.12 or newer. In a uv project, install Mirage with:Create a Workspace
Start with the RAM VFS so you can try Mirage without credentials.quickstart.py
uv run python quickstart.py. If you installed Mirage in
another activated environment, run python quickstart.py. It lists user.json,
prints alice, then prints the matching JSON document.
Shell failures are returned in the result; check exit_code and stderr_str()
when needed. See the in-app API reference.
Next Steps
- See Python Installation for VFS extras and the
uvworkflow. - Configure command output limits for large files and long-running commands.
- Browse Python Agents to wire Mirage into the OpenAI Agents SDK, LangChain, and Pydantic AI.
- Pick a real backend from VFS Docs, such as S3, Slack, or GitHub.