Files
strukto-ai--mirage/docs/home/install.mdx
T
Zecheng Zhang 924ec49796 Initial public release: Mirage v0.0.1-alpha.1
A unified virtual filesystem for AI agents. Mount S3, Google Drive,
Slack, Gmail, GitHub, Linear, Notion, Postgres, MongoDB, SSH, and
more behind one filesystem so agents read, write, and pipe across
services with familiar shell commands.

Ships Python (mirage-ai) and TypeScript (@struktoai/mirage-*) SDKs,
a CLI, FUSE mounts, and adapters for OpenAI Agents SDK, Vercel AI
SDK, LangChain deepagents, Pydantic AI, CAMEL, OpenHands, Mastra,
Pi Coding Agent, plus FUSE-based integration with Claude Code and
Codex.

Apache 2.0 licensed.
2026-05-06 10:03:22 -07:00

64 lines
1.4 KiB
Plaintext

---
title: Installation
description: Install Mirage with the Python package mirage-ai or the TypeScript packages @struktoai/mirage-node and @struktoai/mirage-browser.
keywords: ["install Mirage", "mirage-ai", "@struktoai/mirage-node", "virtual filesystem", "AI agents"]
icon: download
---
## Prerequisites
- **Python** ≥ 3.12 for the `mirage-ai` package and the `mirage` CLI
- **Node.js** ≥ 20 for the TypeScript SDK
- **macOS** or **Linux** (FUSE-based mounts require platform support)
## Python
```bash
uv add mirage-ai
```
This installs both the `mirage` library and the `mirage` CLI binary.
## TypeScript
```bash
npm install mirage
```
One package, three entrypoints. Pick the one that matches your runtime:
- `mirage/node`: Node.js servers and CLIs
- `mirage/browser`: browser / edge runtimes
- `mirage/core`: runtime-agnostic primitives
## CLI
```bash
curl -fsSL https://strukto.ai/install.sh | sh
```
Or via your package manager of choice:
```bash
brew install mirage
```
```bash
uvx mirage-ai
```
```bash
npx mirage
```
## More Details
<CardGroup cols={2}>
<Card title="Python" icon="/images/python-logo.svg" href="/python/install">
Resource extras, virtualenv setup, and `uv` workflow.
</Card>
<Card title="TypeScript" icon="/images/typescript-logo.svg" href="/typescript/install">
Native peers (FUSE, Redis) and per-runtime notes for Node, browser, and edge.
</Card>
</CardGroup>