Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt

Use this file to discover all available pages before exploring further.

Quick Install

Install the base package into your project:
uv add mirage-ai
This is enough to start with local workflows such as the RAM resource and to understand the Mirage execution model. If you are not using uv:
pip install mirage-ai

Use Mirage as a CLI

If you only want the mirage CLI (not the library), there are two convenient paths. One-shot run with uvx, no install, just runs:
uvx mirage-ai --help
uvx mirage-ai workspace create workspace.yaml --id demo
Persistent install with uv tool install, drops mirage on your PATH globally:
uv tool install mirage-ai
mirage --help
To upgrade later:
uv tool install --upgrade mirage-ai

Resource Extras

Install extras when a resource needs optional dependencies:
uv add "mirage-ai[s3]"
uv add "mirage-ai[r2]"
uv add "mirage-ai[redis]"
uv add "mirage-ai[fuse]"
Use the resource docs in the Python section when you are ready to connect real systems.

Install From Source

If you are contributing to Mirage or want the full local development setup:
git clone https://github.com/strukto-ai/mirage.git
cd mirage/python
uv sync --all-extras --no-extra camel
The camel extra conflicts with the openai stack, so excluding it keeps everything else installable in one shot.
  1. Install the base package.
  2. Follow the Python Quickstart with the RAM resource.
  3. Add the resource extras and follow the FUSE setup if you need to expose mounts as a real filesystem.