Images¶
Each tool runs from an image built on your machine: Debian plus the runtimes, packages and tools you add. agentic build builds it, agentic update rebuilds it with the latest tool version, and agentic clean removes it. The build keys are in [build].
agentic build claude # one tool
agentic build --all # all tools
agentic build claude --base node,java # add Node.js and Java
agentic build claude --no-cache # fully fresh build
agentic build claude --pull # refresh base images, keep the rest of the cache
agentic inspect claude # layers, packages, versions, build time
--cache-from and --cache-to pass an external build cache to docker build, e.g. type=registry,ref=registry.example.com/agentic-cache to share layers between machines or CI. Both take Docker's cache backend syntax.
Runtime layers¶
Debian always includes curl, wget, git, gpg, jq and Python 3 (no pip). --base adds runtimes on top, and tab-completes their names:
debian
├── docker ← --base docker (CLI only, for --dind)
├── dotnet ← --base dotnet
├── go ← --base go
├── java ← --base java
└── node ← --base node (installed with NVM)
└── tool
| Flag | Result |
|---|---|
| (none) | debian only |
--base node,java |
debian + Node.js + Java |
--base node,java --java 17 |
debian + Node.js + Java 17 |
--node 22 |
debian + Node.js v22 |
Extra packages and tools¶
| Need | Use |
|---|---|
| A Debian package | --apt make,gcc or apt_packages. Checked with apt-cache show before the build. |
| A CLI tool in the aqua registry | aqua_packages, pinned as <owner>/<name>@<version>; find one with agentic aqua search <term> |
| Anything else | [[build.custom_installs]] shell commands |
--base and --apt add to the config's lists; --base-exact and --apt-exact replace them (see Precedence).
[build]
aqua_packages = ["golangci/golangci-lint@v2.15.0", "helm/helm@v3.19.0"]
[[build.custom_installs]]
name = "helm"
run = [
"curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 -o /tmp/get-helm.sh",
"bash /tmp/get-helm.sh",
]
- aqua packages are verified by whatever their registry entry declares (checksums, attestations, cosign, SLSA); an entry declaring none installs unverified. Only the binaries are copied to
/usr/local/bin. The build needs access to GitHub.agentic aqua searchshows the latest version and description of up to 10 matches, ready to paste. - Custom installs run as root, as-is, with the trust of a Dockerfile in the repo: no sandbox, checksum or allowlist. Install into
/usr/local/binor/opt, not$HOME. Each command is its own layer, rebuilt when you edit it. - Order: runtimes, then aqua packages, then custom installs, then the tool, so each step can use the ones before (e.g.
go installwith--base go).
Versions and updates¶
- Default versions are built in (see
agentic build --help). Pin one per build with--debian,--node,--java,--dotnet,--goor--docker, or per project with[build.versions]. agentic updatekeeps what the image was built with (runtimes, versions, packages, custom installs) and ignores[build]. Pass--base,--apt,--<layer>or a--*-exactflag to change it, or useagentic buildto pick up config edits. It printsversion: X -> Y(orX (up to date)) first.- If an image's custom installs are missing from the data directory,
agentic updatetakes them from.agenticrc.tomland warns about any it can't find. - Base images use floating tags.
agentic updatepulls them at most once every 24h per image;--pullforces it and--pull=falseturns it off.agentic buildonly pulls with--pull. agentic runchecks for a newer tool version at most every 6 hours and, in a terminal, offers to update first. Turn it off withcheck_updates = falseunder[run].
Updating aqua packages¶
agentic aqua update bumps each aqua_packages entry to its latest release in its own .agenticrc.toml, keeping comments and formatting. It asks before writing.
agentic aqua update # show updates per file, then ask
agentic aqua update helm/helm # only these packages
agentic aqua update --dry-run # only show
agentic aqua update --yes # don't ask
- aqua runs in a throwaway container that needs GitHub. To avoid rate limits, store a token once with
agentic secret set aqua(see GitHub tokens); a hostGITHUB_TOKENtakes precedence. - A package aqua couldn't look up shows as up to date, with aqua's warning above the table.
- Run
agentic build <tool>afterwards and approve the changed[build]settings;agentic updatekeeps the old packages.
In a repo, Renovate can bump the pins with a custom manager, for <owner>/<name> entries released on GitHub:
{
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/(^|/)\\.agenticrc\\.toml$/"],
"matchStrings": ["[\"'](?<depName>[\\w.-]+/[\\w.-]+)@(?<currentValue>[^\"']+)[\"']"],
"datasourceTemplate": "github-releases"
}
]
}
Registry proxy¶
To pull base images through a registry proxy (Harbor, Nexus, Artifactory, an ECR pull-through cache), run docker login for it and set registry in agentic.json, or pass --registry for one build:
{
"registry": "myregistry.example.com"
}
Install script checksums¶
The Claude, Copilot and OpenCode install scripts are checked against a pinned SHA256 before they run. A daily job updates the pins. If a build fails on a stale checksum before that lands, --skip-install-checksum skips the check for that build.