Documentation Index
Fetch the complete documentation index at: https://docs.aspect.build/llms.txt
Use this file to discover all available pages before exploring further.
MODULE.aspect at your repo root declares external AXL module dependencies — analogous to MODULE.bazel for Bazel deps. Once declared, modules are loadable in any .axl file in the repo.
Declaring a dependency
Useaxl_archive_dep to pull in a module from an archive URL:
MODULE.aspect
| Parameter | Description |
|---|---|
name | The module name used in load() statements as @name |
urls | List of archive URLs (first reachable URL is used) |
integrity | SHA-512 checksum in subresource integrity format for reproducibility |
strip_prefix | Directory prefix to strip from the archive (usually repo-commitsha) |
auto_use_tasks | If True, all tasks exported by the module are automatically registered as CLI commands — no explicit load() in your .axl files needed |
dev | If True, the module is only active during local development, not in CI environments that set ASPECT_DEV=false |
Loading from a module
After declaring a dependency, useload() to import specific symbols:
.aspect/config.axl
load() path forms:
"@module_name//path/to/file.axl"— file inside a declared external module"@aspect//traits.axl"— built-in Aspect library (always available, no declaration needed)"./relative.axl"— relative to the current file"path/from/repo/root.axl"— absolute from the workspace root (no leading./)
Built-in @aspect library
The @aspect module is always available without a MODULE.aspect declaration. It exports the built-in traits, features, and utilities used throughout the config examples in these docs:

