Dockerfile packs one published version of the base agent checkpoint
(OramaSearch/base-agent-0.6b on Hugging Face;
model card zetta docs/agent/cards/models/base-agent.md)
into the image oramasearch/base-agent-0.6b:<version>, for example :v16.
Released: v0.1.0 (all releases). The release
version is in VERSION; python3 tools/test-version.py checks that its notes exist, are
indexed and are named here.
Why it exists: a native agent created in lake without
a model runs on the base model inside its workspace Zetta. The Orama operator gives every workspace
Zetta this image as spec.models[{name: base-agent}]; an init container copies /model to
/data/models/base-agent on the workspace volume before the node starts, and lake points native
agents at that path. Workspace namespaces deny egress by default, so the checkpoint arrives as an
image the kubelet pulls with the workspace's pull Secret, not as a download from the pod. The
operator side is orama-operator's docs/zetta-models.md.
/model/holds the checkpoint files:config.json, the weights (model.safetensors, ormodel.safetensors.index.jsonand its shards), and the tokenizer (tokenizer.json, orvocab.json+merges.txt), plus whatever else the version folder has. The build fails if the required ones are missing./bin/shexists (busybox), because the operator's copy script runs in this image. The base isbusybox:1.37pinned by its multi-platform index digest (sha256:a7dbc319…, lake#1003), so a moved tag cannot change it; moving it is a reviewed change of the digest.- Every file is readable by uid 10001, the Zetta node's user.
- A tag is never moved. The operator replaces the copy on a volume only when the image string
changes, so a new checkpoint is a new tag (
v17), and the operator's default (lakeDefaultBaseModelImageininternal/controller/lake_defaults.go) moves with it.
The context is a directory with one folder, checkpoint/. Take the files from a zetta checkout's
local checkpoint (data/checkpoints/), or download the version from the Hub:
ctx=$(mktemp -d)
# local: the same files the Hub's v16/ folder holds
cp -R <zetta>/data/checkpoints/base-agent-0.6b-interaction-v16 "$ctx/checkpoint"
# or from the Hub
# hf download OramaSearch/base-agent-0.6b --include 'v16/*' --local-dir "$ctx/hub"
# mv "$ctx/hub/v16" "$ctx/checkpoint"Then build with any BuildKit builder, from this repository with $ctx as the context:
docker buildx build --platform linux/amd64 -f Dockerfile -t <registry>/base-agent-0.6b:v16 --push "$ctx"The fp32 checkpoint is about 2.2 GB, so the image is too, and it is copied onto every workspace
volume (lake's default is 5 GiB). A bf16 copy of the same weights is half that, and the engine
loads BF16 safetensors (zetta src/core/compute/safetensors.cpp), widening them to fp32 in memory, so
it is a possible later step that changes the volume cost, not the memory one.
The checkpoint is a fine-tune of Qwen/Qwen3-0.6B, which its authors release under the Apache License 2.0; that license and its notice apply to the base weights this image carries.
Moved out of zetta's images/base-agent/ on 2026-10-23, so the image has a repository of its own.
Pinned by zetta-bridge as modules/base-agent-0.6b.
This repository's files are MIT, see LICENSE. The model weights in the image are a fine-tune of Qwen3-0.6B and are under the Apache License 2.0; see NOTICE. Third-party components and their licenses are in THIRD_PARTY_LICENSES. Contributions are welcome under the Contributor License Agreement; see CONTRIBUTING.md.