agentix buildturns a Python project into a deploy-ready runtime image.
agentix build
Package one project root into a bundle image.
pyproject.toml. The default image tag is
derived from [project].name and [project].version; -n / --name
overrides it.
| Option | Meaning |
|---|---|
path | Project root, default . |
-n, --name | Image NAME or NAME:TAG; bare names use [project].version |
--platform | Sandbox runtime platform, linux/amd64 or linux/arm64; defaults to local CPU |
--dry-run | Stage the Dockerfile and build context without running Docker |
--platform describes the Linux container platform where the sandbox
will run, not the machine that invokes the build. For example, use
--platform linux/amd64 when building on an Apple Silicon Mac for a
remote x86 sandbox.
Dependency Model
The CLI never enumerates integrations. It installs the project into the runtime venv, and pip resolves everything declared by the project.pyproject.toml
Dry Run
./build/<tag>/, prints what would be built, and exits without invoking
Docker.
Configuration
Most configuration is environment-driven so CLI and code paths stay the same.| Variable | Used by | Purpose |
|---|---|---|
AGENTIX_BIND_PORT | runtime server | Sandbox-side bind port, default 8000 |
AGENTIX_UPLOAD_ROOT | file primitive packages | Sandbox-side root for file operations |
DAYTONA_API_KEY | daytona backend | API authentication |
E2B_API_KEY / E2B_TEMPLATE_ID | e2b backend | API authentication and template selection |
agentix-yourcmd instead of expanding the
core CLI.