Skip to main content
Each integration is a subpath of @struktoai/mirage-agents. Install it once; tree-shaking keeps unused adapters out of your bundle.
For browser apps, swap @struktoai/mirage-node for @struktoai/mirage-browser.

OpenAI Agents

For the @openai/agents SDK.

LangChain · Deep Agents

Run Deep Agents on a Mirage workspace.

Vercel AI SDK

For ai generateText and streamText.

Mastra

For Mastra Agent definitions.

OpenCode

Native installable plugin for OpenCode, with Mirage tools and per-session stale-write protection.

Claude Code

Mount a workspace via FUSE and run claude against it.

Claude Agent SDK

For @anthropic-ai/claude-agent-sdk via an in-process MCP server.

Codex

Install the Mirage plugin and use its tools from the Codex CLI or app.

Grok Build

Install the Mirage plugin and use its tools from Grok’s native TUI.