Coding Agents
Run the agent as it is, on a workspace themirage CLI creates.
- CLI: the agent adds Mirage’s seven tools from
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.
Agent SDKs
Your program holds the workspace and hands it to the framework.
Mirage’s seven tools are the session’s
session.tools: shell, read, write, edit, ls, grep and glob. A session gets the ones its profile leaves it (session.tools.names()), so an agent is never offered a tool every call of which would be refused.
Each framework is a subpath of @struktoai/mirage-agents, such as @struktoai/mirage-agents/vercel, so a bundle carries only what it imports.
@struktoai/mirage-browser in place of @struktoai/mirage-node.