Skip to main content

Module caches

Module caches 

Source
Expand description

Cache volumes: directories an image asks to keep across container recreation, named in its ai.agentmux.cache-dirs label (the developer image lists its cargo home and build output). An image update removes the container and keeps volumes, so a toolchain’s registry and build output there survive it. Spec: docs/specs/SPEC_CONTAINER_AGENT_DEVELOPER_IMAGE_2026_10_29.md section 4.

Constants§

CACHE_DIRS_LABEL
The image label that lists directories (absolute paths, separated by :) to keep in per-agent volumes.
VOLUME_AGENT_LABEL
Label on every volume made for an agent’s container: which container, so a sweep can find them.
VOLUME_KIND_LABEL
Label on a volume that holds a cache (as opposed to a CLI or Claude home), so one can be cleared on its own.