tama brew
tama brew compiles your tama project into a lean, production-ready Docker image. It runs tama lint first, installs all skill dependencies, and packages everything with the tamar runtime binary.
tama brewtama brew --tag my-project:v1.2.0What it does
Section titled “What it does”- Lint — runs
tama lintand exits if any checks fail - Build base — starts from a distroless base image
- Install dependencies — runs
apt-get installanduv pip installfor all skilldepends: - Copy project files — copies
agents/,skills/,tama.toml - Bundle binary — includes the
tamarruntime binary - Tag image — tags as
<project-name>:latest(or custom tag)
Output
Section titled “Output”A Docker image that runs tamar as the entrypoint:
docker run -e ANTHROPIC_API_KEY=sk-... \ -e TAMA_MODEL_THINKER=anthropic:claude-opus-4-6 \ my-project:latest \ "research fusion energy trends"Image size
Section titled “Image size”The output image is typically ~8–15MB because it uses a distroless base (no shell, no apt, no unnecessary tools). This means fast cold starts and a minimal attack surface.
Configuration
Section titled “Configuration”Environment variables are not baked into the image. Pass them at runtime:
docker run \ -e ANTHROPIC_API_KEY=... \ -e TAMA_MODEL_THINKER=... \ my-project:latest \ "task input"Custom tag
Section titled “Custom tag”tama brew --tag my-project:v2.0.0tama brew --tag registry.example.com/my-project:latestPushing to a registry
Section titled “Pushing to a registry”tama brew --tag registry.example.com/my-project:latestdocker push registry.example.com/my-project:latest