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.

Each integration is a subpath of @struktoai/mirage-agents. Install it once; tree-shaking keeps unused adapters out of your bundle.
pnpm add @struktoai/mirage-agents @struktoai/mirage-node
For browser apps, swap @struktoai/mirage-node for @struktoai/mirage-browser.
https://mintcdn.com/struktoai/F9Lv_nTaj6By6crk/images/openai-logo.svg?fit=max&auto=format&n=F9Lv_nTaj6By6crk&q=85&s=086e9344aa70f87e32186cd834e92dfb

OpenAI Agents

For the @openai/agents SDK.
https://mintcdn.com/struktoai/F9Lv_nTaj6By6crk/images/langchain-logo.svg?fit=max&auto=format&n=F9Lv_nTaj6By6crk&q=85&s=e80db5bd3f35579605d89e469cfbf598

LangChain · deepagents

For deepagents and any LangGraph-style agent.
https://mintcdn.com/struktoai/F9Lv_nTaj6By6crk/images/pi-logo.svg?fit=max&auto=format&n=F9Lv_nTaj6By6crk&q=85&s=9fd1dda1602db8b4e9fd858a396d94bd

Pi Coding Agent

Vercel AI SDK

For ai generateText and streamText.

Mastra

For Mastra Agent definitions.
https://mintcdn.com/struktoai/F9Lv_nTaj6By6crk/images/claude-logo.svg?fit=max&auto=format&n=F9Lv_nTaj6By6crk&q=85&s=24f21eb989bc7b3119bbd5d6cc6aa758

Claude Code

Mount a workspace via FUSE and run claude against it.
https://mintcdn.com/struktoai/F9Lv_nTaj6By6crk/images/openai-logo.svg?fit=max&auto=format&n=F9Lv_nTaj6By6crk&q=85&s=086e9344aa70f87e32186cd834e92dfb

Codex

Same pattern as Claude Code: mount, then codex.