Installation
Use a supported Node release, then install the runtime:npm install @struktoai/mirage-node and yarn add @struktoai/mirage-node work too.
Create a Workspace
Start with the RAM VFS so you can try Mirage without credentials.quickstart.ts
user.json, prints alice, then prints the matching JSON
document:
exitCode and stderrText
when needed. See the in-app API reference.
Next Steps
- See TypeScript Installation for optional native peers (FUSE, Redis, Postgres, MongoDB, SSH, Email).
- Building for the browser? Start with the Browser Quickstart.
- Configure command output limits for large files and long-running commands.
- Browse TypeScript Agents to wire Mirage into OpenAI Agents SDK, Vercel AI SDK, LangChain, Mastra, and more.
- Pick a real backend from the VFS section, such as S3, Slack, or Discord.