Atlas & Downloads

ExoHub Atlas is an interactive terminal UI for browsing and searching an ArtifactDB catalog. It is also available as a web application at /atlas . The exo download command lets you download artifact files directly from the catalog without opening the TUI.

Browsing with Atlas

Launch the interactive browser:

exo atlas

This opens a TUI where you can search, filter, and explore artifacts in the catalog. You can also open a specific document directly:

exo atlas "myproject:file.txt@v1"

Search Results

Each search result displays:

Search Highlights

Press h to toggle the highlights pane, which shows where your search terms matched within each result. Matched terms are displayed in yellow. The pane auto-closes when no highlights are available.

Finding What Uses an Artifact

While viewing an artifact document (an exohub-artifact or exohub-markdown document, opened from a search result), press u to search for every other document that lists it as an input. This runs a catalog search for lineage.inputs.id matching the document’s content id — and, when the document is a member of a folder collection, the collection’s id too — and shows the results as “Used by <path> (N)”. Press esc from the results to jump back to the document you started from, rather than to the previous search. u has no effect on document types that don’t carry lineage (a status message explains why).

Web App

In the web app, Atlas supports mouse interaction:

Options

FlagDescriptionDefault
--url <url>ArtifactDB instance URLAuto-resolved (see below)
-o, --output-dir <dir>Output directory for downloaded files. (current directory)
-q, --query <query>Pre-populate the search query(none)
--project <id>Filter results by project ID(none)
--version <version>Filter by version (e.g. v1.0.0 or latest)(none)
--schema <schema>Filter by schema (e.g. exohub-artifact/v1)(none)
--sort <field>Sort order (prefix - for descending)-_extra.uploaded
--size <n>Number of results per page10
--latestShow only latest versionstrue
--download-uiDownload UI assets without confirmationfalse

Catalog URL Resolution

The catalog URL is resolved in this order:

  1. --url flag
  2. EXOHUB_CATALOG_URL environment variable
  3. catalog_url field in the active exo context
  4. Default catalog URL

To set the catalog URL persistently, use the EXOHUB_CATALOG_URL environment variable:

export EXOHUB_CATALOG_URL=https://charon.example.com/v1/mydb

Alternatively, edit your context YAML file (e.g., ~/.config/exo/contexts/mycontext.yaml) and add:

catalog_url: https://charon.example.com/v1/mydb

Examples

# Browse the default catalog
exo atlas

# Browse a specific catalog
exo atlas --url https://charon.example.com/v1/mydb

# Open a specific document
exo atlas "mnist:data/processed/train.parquet@v0.1.0"

# Download files to a specific directory
exo atlas -o ./downloads

# Search for parquet files in a specific project
exo atlas -q "*.parquet" --project mnist

# Show only latest versions, sorted by upload date
exo atlas --latest --sort "-_extra.uploaded"

Downloading Artifacts

Use exo download to download artifact files from the command line without the interactive TUI:

exo download <artifact-id | project@version>

Download a Single File

exo download "myproject:file.txt@v1"

Download All Files in a Project Version

exo download "myproject@v1"

This lists all files in the project at the given version and downloads them, showing progress with file counts and sizes.

Options

FlagDescriptionDefault
--url <url>ArtifactDB catalog URLAuto-resolved (same as atlas)
-o, --output-dir <dir>Output directory for downloaded files. (current directory)
-f, --forceRe-download even if file already exists with matching sizefalse

Examples

# Download a single artifact
exo download "mnist:data/processed/train.parquet@v0.1.0"

# Download all files in a project version
exo download "mnist@v0.1.0"

# Force re-download existing files
exo download "mnist@v0.1.0" --force

# Download to a specific directory
exo download "mnist@v0.1.0" -o ./data

Remote Download via --eds

By default, exo download fetches files to this machine. With --eds, it instead submits the download to a remote ExoHub Data Service (EDS) and the EDS fetches the dataset into its own storage — nothing is written locally. The CLI only submits the request and follows its progress.

exo download --eds <eds-id-or-url> <project | project@version>

--eds accepts either:

Only datasets (project or project@version) are accepted — artifact ids (e.g. myproject:file.txt@v1) are rejected, since EDS downloads operate on whole datasets. --eds is also mutually exclusive with -o/--output-dir and -f/--force, since those only apply to local downloads.

Options

FlagDescriptionDefault
--eds <id-or-url>Data Service to download to (index id or https:// URL)(none — local download)
--scope <scope>Scope for the remote download (e.g. user, global)(none — EDS applies its own default)
--no-waitSubmit the download and exit without following progressfalse
--max-wait <duration>Maximum time to follow the remote download before giving up (the download keeps running on the EDS regardless)6h
--poll-interval <duration>How often to poll the operation status10s
--no-contentClone/update and initialise the project but fetch no annexed content (user scope only); fetch it later with exo get or a download without --no-contentfalse
--worktreesLay out the EDS copy as one read-only worktree per version instead of a single plain repository (user scope only)false (keeps existing layout)
--checkoutLet an existing plain repository on the EDS switch to the requested version (user scope only)false
--eds-forceLet an update or checkout discard unpublished work on the EDS copy: changed/untracked files, commits not on origin, nested repositories (user scope only; distinct from local -f/--force, which --eds already rejects)false
--eds-params <json>A JSON object (inline, or @path/to/file.json) of additional download options merged into the request, for options newer than this exo’s typed flags(none)

--no-content, --worktrees, --checkout, --eds-force, and --eds-params only make sense with --eds and are rejected otherwise. Only the flags you actually set are sent to the EDS, so an exo built against a newer EDS still works against an older one. Setting the same option both as a typed flag (or --scope) and inside --eds-params is an error, not silently resolved. --eds-params also rejects the reserved keys project_id, version, repository, and ref (these come from the dataset argument, not free-form options), and any trailing data after the JSON object (e.g. a second concatenated object).

Note: Ctrl-C does not cancel the remote download. The download keeps running on the EDS; the status URL is printed so it can be followed separately.

Examples

# Submit a dataset download to the "my-eds" EDS and follow its progress
exo download --eds my-eds myproject@v1

# Target an EDS directly by URL
exo download --eds https://eds.example.com myproject

# Submit and return immediately without following progress
exo download --eds my-eds myproject@v1 --no-wait

# Clone/initialise the project on the EDS without fetching annexed content
exo download --eds my-eds myproject@v1 --no-content

# Pass forward-compatible options as a JSON object (inline or from a file)
exo download --eds my-eds myproject@v1 --eds-params '{"content": false}'
exo download --eds my-eds myproject@v1 --eds-params @opts.json

Environment Variables

See Environment Variables for the full list. The most relevant for Atlas is EXOHUB_CATALOG_URL.