> ## 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.

# Agents

> Give your agent a composable, scriptable and durable Mirage virtual terminal.

## Access

These connections work independently of your agent's programming language.

| Connection | What the agent gets |
| - | - |
| [MCP](https://docs.mirage.strukto.ai/home/access/mcp.md) | Shell and file tools through an MCP client. |
| [FUSE](https://docs.mirage.strukto.ai/home/setup/fuse.md) | A VFS exposed by your own app as a folder its existing file tools can read and write. |
| [SSH](https://docs.mirage.strukto.ai/home/access/ssh.md) | A remote shell, plus file access through SFTP, SCP or SSHFS. |
| [HTTP](https://docs.mirage.strukto.ai/home/access/http.md) or [RPC](https://docs.mirage.strukto.ai/home/access/rpc.md) | An API for running commands and working with files. |
| [CLI](https://docs.mirage.strukto.ai/home/access/cli.md) | Workspace access through `mirage` commands. |

## Supported agents

### Coding agents

Run the agent as it is, on a workspace the `mirage` CLI creates.

| Agent | Shell | MCP | SSH | FUSE |
| - | :-: | :-: | :-: | :-: |
| [Claude Code](https://docs.mirage.strukto.ai/home/agents/claude-code.md) | ✓ | ✓ | | ✓ |
| [Codex](https://docs.mirage.strukto.ai/home/agents/codex.md) | | ✓ | ✓ | ✓ |
| [Grok Build](https://docs.mirage.strukto.ai/home/agents/grok-build.md) | | ✓ | | ✓ |

* **Shell**: the agent's own shell is [`mirage-bash`](https://docs.mirage.strukto.ai/home/access/cli#mirage-bash), so every command it runs goes to the workspace.
* **MCP**: the agent adds Mirage's seven tools, from its plugin or `mirage mcp`.
* **SSH**: the agent's own tools run in the workspace.
* **FUSE**: the agent's own tools work on the workspace, mounted as a folder.

Or load Mirage into the agent as a TypeScript plugin, which replaces its own file and shell tools:

| Agent | Plugin |
| - | - |
| [Pi Coding Agent](https://docs.mirage.strukto.ai/typescript/agents/pi.md) | `@struktoai/mirage-pi` |
| [OpenCode](https://docs.mirage.strukto.ai/typescript/agents/opencode.md) | `@struktoai/mirage-opencode` |
| [DeepSeek Harness](https://docs.mirage.strukto.ai/typescript/agents/dsh.md) | `@struktoai/mirage-dsh` |

### Agent frameworks

| Framework | Python | TypeScript |
| - | - | - |
| Claude Agent SDK | [Guide](https://docs.mirage.strukto.ai/python/agents/claude-agent-sdk.md) | [Guide](https://docs.mirage.strukto.ai/typescript/agents/claude-agent-sdk.md) |
| OpenAI Agents SDK | [Guide](https://docs.mirage.strukto.ai/python/agents/openai-agents.md) | [Guide](https://docs.mirage.strukto.ai/typescript/agents/openai.md) |
| LangChain Deep Agents | [Guide](https://docs.mirage.strukto.ai/python/agents/langchain.md) | [Guide](https://docs.mirage.strukto.ai/typescript/agents/langchain.md) |
| Agno | [Guide](https://docs.mirage.strukto.ai/python/agents/agno.md) | — |
| Pydantic AI | [Guide](https://docs.mirage.strukto.ai/python/agents/pydantic-ai.md) | — |
| Haystack | [Guide](https://docs.mirage.strukto.ai/python/agents/haystack.md) | — |
| Vercel AI SDK | — | [Guide](https://docs.mirage.strukto.ai/typescript/agents/vercel.md) |
| Mastra | — | [Guide](https://docs.mirage.strukto.ai/typescript/agents/mastra.md) |

### Hosted agents

| Service | Python | TypeScript |
| - | - | - |
| OpenAI Agents API | [Guide](https://docs.mirage.strukto.ai/python/agents/openai-agents-api.md) | [Guide](https://docs.mirage.strukto.ai/typescript/agents/openai-agents-api.md) |
| Claude Managed Agents | [Guide](https://docs.mirage.strukto.ai/python/agents/claude-managed-agents.md) | [Guide](https://docs.mirage.strukto.ai/typescript/agents/claude-managed-agents.md) |

For an agent you build yourself, use the [Python](https://docs.mirage.strukto.ai/python/access/in-app.md) or
[TypeScript](https://docs.mirage.strukto.ai/typescript/access/in-app.md) workspace API. [Session profiles](https://docs.mirage.strukto.ai/home/configuration/session.md)
control what each session can see and do.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.