> ## Documentation Index
> Fetch the complete documentation index at: https://struktoai-fix-databricks-volume-token-provider.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Agents

> Drop a Mirage workspace into the TypeScript agent framework you already use.

Each integration is a subpath of `@struktoai/mirage-agents`. Install it once; tree-shaking keeps unused adapters out of your bundle.

```bash theme={null}
pnpm add @struktoai/mirage-agents @struktoai/mirage-node
```

For browser apps, swap `@struktoai/mirage-node` for `@struktoai/mirage-browser`.

<CardGroup cols={2}>
  <Card title="OpenAI Agents" icon="https://mintcdn.com/struktoai-fix-databricks-volume-token-provider/L29HQXdXZnKHBlaU/images/openai-logo.svg?fit=max&auto=format&n=L29HQXdXZnKHBlaU&q=85&s=9c2cc1193e97bb26e64c6cbab6967fa1" href="/typescript/agents/openai" width="24" height="24" data-path="images/openai-logo.svg">
    For the [@openai/agents](https://github.com/openai/openai-agents-js) SDK.
  </Card>

  <Card title="LangChain · deepagents" icon="https://mintcdn.com/struktoai-fix-databricks-volume-token-provider/L29HQXdXZnKHBlaU/images/langchain-logo.svg?fit=max&auto=format&n=L29HQXdXZnKHBlaU&q=85&s=c9676b07dda219a16a4555bc8bcb5cc2" href="/typescript/agents/langchain" width="24" height="24" data-path="images/langchain-logo.svg">
    For [deepagents](https://github.com/langchain-ai/deepagents) and any LangGraph-style agent.
  </Card>

  <Card title="Pi Coding Agent" icon="https://mintcdn.com/struktoai-fix-databricks-volume-token-provider/L29HQXdXZnKHBlaU/images/pi-logo.svg?fit=max&auto=format&n=L29HQXdXZnKHBlaU&q=85&s=9e213eebe3c5622216aea2182113b5bd" href="/typescript/agents/pi" width="256" height="256" data-path="images/pi-logo.svg">
    For [@mariozechner/pi-coding-agent](https://github.com/mariozechner/pi).
  </Card>

  <Card title="Vercel AI SDK" icon="triangle" href="/typescript/agents/vercel">
    For [`ai`](https://sdk.vercel.ai) `generateText` and `streamText`.
  </Card>

  <Card title="Mastra" icon="wand-magic-sparkles" href="/typescript/agents/mastra">
    For [Mastra](https://mastra.ai) `Agent` definitions.
  </Card>

  <Card title="OpenCode" icon="https://mintcdn.com/struktoai-fix-databricks-volume-token-provider/L29HQXdXZnKHBlaU/images/opencode-logo.svg?fit=max&auto=format&n=L29HQXdXZnKHBlaU&q=85&s=d204a82ff21f040b153c7cccff696c11" href="/typescript/agents/opencode" width="512" height="512" data-path="images/opencode-logo.svg">
    Plugin tools for [OpenCode](https://opencode.ai) that swap `read`, `write`, `edit`, and `bash`.
  </Card>

  <Card title="Claude Code" icon="https://mintcdn.com/struktoai-fix-databricks-volume-token-provider/L29HQXdXZnKHBlaU/images/claude-logo.svg?fit=max&auto=format&n=L29HQXdXZnKHBlaU&q=85&s=2e077fd0a6608b29296230df228b3a61" href="/typescript/agents/claude-code" width="24" height="24" data-path="images/claude-logo.svg">
    Mount a workspace via FUSE and run `claude` against it.
  </Card>

  <Card title="Codex" icon="https://mintcdn.com/struktoai-fix-databricks-volume-token-provider/L29HQXdXZnKHBlaU/images/openai-logo.svg?fit=max&auto=format&n=L29HQXdXZnKHBlaU&q=85&s=9c2cc1193e97bb26e64c6cbab6967fa1" href="/typescript/agents/codex" width="24" height="24" data-path="images/openai-logo.svg">
    Same pattern as Claude Code: mount, then `codex`.
  </Card>
</CardGroup>
