You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Eager OCI digest resolution of external sub-agents adds ~2s each per launch; @sha256 pinning works but is undocumented #3066
area/agentFor work that has to do with the general agent loop/agentic features of the apparea/configFor configuration parsing, YAML, environment variablesarea/distributionAgent registry, packaging, distribution, sharing
External sub-agents referenced by tag (e.g. name:docker/foo:latest, or a bare docker/foo which defaults to :latest) are resolved EAGERLY at every docker agent run, even for sub-agents that are never invoked in the session. Each unpinned ref forces a registry digest HEAD on startup — measured at ~2.1s and ~1.7s for two sub-agents in our multi-agent config (~3.8s of network-bound startup tax), and it's a path that can hang when the registry/credential helper misbehaves (cf. #2972).
Pinning the reference to an immutable digest (docker/foo@sha256:…) resolves it from cache with zero network and removes the hang risk. This works today — but it is NOT documented anywhere, and every example in the docs/schema uses an unpinned tag.
(Compounds with #2972: this is one of the paths that can wedge on a stuck credential helper.)
Requests
Docs: document @sha256: digest pinning for sub_agents (and other external OCI refs), and note that tag/:latest refs incur a per-launch digest HEAD. Recommend pinning for reproducibility + startup speed. Affected pages: configuration/agents, concepts/multi-agent (External Sub-Agents), and the schema sub_agents description.
Behavior (optional): consider an on-disk digest cache with a short TTL so even tag refs avoid a registry round-trip on every quick restart; and/or a brief WARN when an unpinned external sub-agent ref is resolved at startup.
area/agentFor work that has to do with the general agent loop/agentic features of the apparea/configFor configuration parsing, YAML, environment variablesarea/distributionAgent registry, packaging, distribution, sharing
Activity
feat: warn on unpinned external agent refs and document digest pinning