Command reference
stax push
Publish a built artifact to an OCI registry
Push a built artifact from the local artifact directory to an OCI-compatible registry. Once pushed, the artifact is available to anyone with registry access for pulling, materializing, or inspecting.
Usage
stax push ghcr.io/myorg/agents/backend-engineer:3.1.0How pushing works
- The CLI locates the built artifact in
.stax/artifacts/ - Each layer is uploaded to the registry as a content-addressed blob
- The OCI manifest is pushed with the specified tag
- The registry returns the manifest digest for verification
Because layers are content-addressed, pushing a new version of an agent only uploads layers that actually changed — unchanged layers are deduplicated by the registry.
Tagging strategy
The reference after push determines the repository and tag:
# Push with a semver tag
stax push ghcr.io/myorg/agents/backend-engineer:3.1.0
# Push with a branch or environment tag
stax push ghcr.io/myorg/agents/backend-engineer:staging
# Push with a latest tag
stax push ghcr.io/myorg/agents/backend-engineer:latestThe current reference CLI pushes the single artifact present in .stax/artifacts/. Multi-persona publishing workflows are future work.
Authentication
You must be authenticated with the target registry before pushing. See stax login.
Example output
Pushed ghcr.io/myorg/agents/backend-engineer:3.1.0
digest: sha256:a3f8c1…e7d2Related commands
stax build— Build the artifact before pushingstax pull— Pull an artifact from a registrystax login— Authenticate with a registry