A mount is how Mirage attaches one resource to one visible prefix. If Eyes are how agents see, a mount is the attachment point that puts a new region of the world within reach of the Arm.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.
Resource Versus Mount
| Concept | Role |
|---|---|
| Resource | Knows how to read and write one external system |
| Mount | Binds that resource to a prefix and access mode inside a Workspace |
Prefix Routing
Mirage resolves paths with longest-prefix match. That means/data/sub/file.txt resolves to /data/sub/ if both /data/ and /data/sub/ exist as mounts.
What A Mount Carries
Each mount bundles the pieces needed for dispatch at one prefix:- a normalized prefix such as
/s3/ - the resource instance
- an access mode
- resource-specific command registrations
- resource-specific VFS operation registrations
- optional cross-mount command handlers
- Which backend owns this path?
- Which command or filesystem operation should handle it?
Mount Modes
Mount modes control what the Hands are allowed to do at a prefix.| Mode | Behavior |
|---|---|
READ | Read only. Write commands are blocked. |
WRITE | Read and write. Standard filesystem operations are enabled. |
EXEC | Read, write, and execute. |
Examples
One Global Default
READ unless a mount overrides it.