Agent image storage#

Every agent runs on one shared runtime image, so a role adds little to storage.

GeoNeMo runs the Platform-managed DeepAgents harness, calls models through the Platform gateway and reaches tools through the scoped MCP bridge. The full Platform agent extra also installs other harnesses, their CLIs, Kubernetes clients and NAT evaluation packages. Those are toolchain capabilities, not dependencies of the deployed server, so they stay out of the runtime image.

What the runtime image holds#

platform/runtime/Dockerfile builds one Python 3.13 Linux amd64 runtime per pipeline from:

  • the hash-locked closure in platform/runtime/uv.lock;

  • the SHA-verified Platform wheel, installed with --no-deps;

  • the SHA-verified typed client and the bridge.

The full Platform CLI and SDK stay in a separate toolchain image used for validation and packaging. Upstream metadata requires CLI and SDK extras, so plain pip check is not the contract check: ci/verify_agent_runtime.py checks every other dependency edge, the locked versions, the required imports and the excluded packages.

nemo agents package still builds each role. A compatibility hook projects the Fabric image onto GEONEMO_AGENT_RUNTIME_IMAGE, a published repository@sha256:... reference, and the role installs without dependency resolution or network access. The developer wrapper requires that variable, and CI supplies it.

Limits CI enforces#

Check

Limit

Role image shares the exact base layers and names the same runtime digest

Required

Role image total size

Below 1,200 MiB

Added over the base

At most 64 MiB

Offline tool-error recovery, runtime imports, in-process health check

Pass, with no model call

The runtime digest and per-image size reports are kept as pipeline artifacts.

Update dependencies#

Edit platform/runtime/pyproject.toml, relock from the repository root, and run the full package pipeline:

uv lock --project reference/orchestration/nemo/platform/runtime

Keep the Fabric, adapter, Relay, Platform wheel, client and skills versions aligned with nvidia-platform.lock.toml. Model-provider clients that DeepAgents needs stay; they call external APIs and hold no model weights.