Skip to main content
The Weights & Biases (W&B) VFS provides read-only access to experiments, run configurations, summaries, metric history, and logged artifacts. For API key setup and entity discovery, see Weights & Biases Setup. For the TypeScript SDK, see Weights & Biases (TypeScript).

Config

The mount exposes /<entity>/<project>/<run-id>/ with run.json, config.json, summary.json, history.jsonl, and files/. Configure one or more entities explicitly; project and run listings are fetched on demand and follow service pagination. Run IDs identify directories; duplicate display names remain separate runs. Fields marked secret are redacted in snapshots.

VFS.md

The VFS.md an agent reads with Weights & Biases mounted at /<path>.

Virtual Filesystem

/<path> layout

Supported Unix Commands for VFS

Unix commands work on each path as on a local filesystem, as far as the path supports them:

Limitations of Unix Commands for VFS

Where a path differs from a local filesystem:Run man to list every command, and man <cmd> or <cmd> --help for one command’s usage.

Run data reference

run.json contains the run metadata exposed by the supported W&B API fields: Unavailable metadata is null; empty tags, zero counts, false permissions, and original timestamp strings are preserved. These fields are fetched only when reading run.json, in one run query. Listing and stat do not fetch them. The user is the run’s creator, not the identity associated with the API key. config.json unwraps W&B’s configuration value envelopes. summary.json contains the stored summary, which may differ from the best value in history. These documents have run-defined keys rather than a fixed Mirage field list. Nested objects, arrays, metric names containing / or ., and null values remain intact. history.jsonl scans full history in _step windows using the public SDK’s unsampled scan protocol. It retains row order, missing keys, nulls, and logged training-step fields. _step and a training-step metric are separate values. The last step is captured when a read begins; rows appended later are visible on a subsequent read. Run files retain their relative paths and are downloaded as raw bytes. Listing and stat do not download histories or files. Rendered JSON and history have unknown sizes; raw file sizes come from W&B’s file metadata. Directory metadata uses Mirage’s index cache (600 seconds by default). A project listing also establishes its runs’ existence; a file catalog populates all nested directories, so traversing them reuses the same metadata. Config, summary, and history reads request their own fields. Downloads resolve the exact filename for a fresh URL on each read. File content and download URLs are not cached in the index. Reads and downloads stream, so head can stop before fetching the entire history. page_size defaults to 100 (maximum 1000); max_pages defaults to 10000. Exhausting a page budget raises an error instead of returning a complete-looking partial result.

Example