aaimake

Documentation

CLI reference

Complete aimake command reference — build, plan, cache, registry, plugins, schedule, trust, and monorepo --project.

The aimake CLI is a Typer app. Every command runs against an aimake.yaml in the current directory (or a path you pass with --config / --project).

aimake --version    # or -V
aimake --help
aimake <command> --help

Related guides: Remote & team cache, GPU & workers, Experiments, Artifact registry, Trust, Team & production, Dashboard.

Global options

OptionDescription
--version, -VPrint version and exit
--helpShow help

Most commands also accept:

OptionDescription
--config, -cPath to aimake.yaml
--project, -PMonorepo subproject path (e.g. apps/rag) containing aimake.yaml

See Monorepo --project below and Team & production.


Project lifecycle

aimake init

Initialize a new aimake project (config, .aimake/, and usually build/).

aimake init
aimake init --path ./my-app --name my-rag-app
aimake init --from makefile
aimake init --from dvc
aimake init --from prefect
aimake init --from airflow-dag
OptionDescription
--path, -pProject directory (default: cwd)
--name, -nProject name written into aimake.yaml
--fromGenerate from an existing layout: makefile, dvc, prefect, airflow-dag

With --from, review generated commands before the first build.

aimake build

Build the dependency graph incrementally — skip unchanged nodes, restore from cache, or run stale steps.

aimake build
aimake build evaluation report
aimake build --force
aimake build evaluation --force
aimake build --dry-run
aimake build --jobs 4
aimake build -v --debug
aimake build --project apps/rag
Option / argDescription
[targets...]Optional artifact names; default is the full graph
--force, -fForce rebuild (all targets, or only named targets)
--dry-run, -nShow plan without executing
--jobs, -jParallel jobs (0 = auto)
--verbose, -vVerbose output
--debugDebug fingerprinting
--config, -cConfig path
--project, -PMonorepo subproject

On failure, aimake prints failed targets and relevant lines from .aimake/logs/build-NNN.log.

aimake plan

Show what would run, skip, or restore — including estimated cost and tokens when cost_estimate is set.

aimake plan
aimake plan evaluation
aimake plan --format json
aimake plan -P apps/rag
Option / argDescription
[targets...]Subgraph to plan
--format, -ftext (default) or json
--debugDebug mode
--config, -c / --project, -PConfig selection

JSON includes to_run, to_skip, to_restore, cost totals, and per-entry reasons — useful in CI.

aimake status

Show per-artifact status (UP TO DATE, CHANGED, STALE, …).

aimake status
aimake status embeddings index

aimake clean

Remove generated build outputs.

aimake clean
aimake clean embeddings index
aimake clean --all          # also clear local cache
OptionDescription
--allClear .aimake/cache/ in addition to build outputs
[targets...]Limit cleaning to named artifacts

aimake doctor

Project health checks (config, dirs, cache, attestation flags, etc.). Exits non-zero on ERROR issues.

aimake doctor

Inspection & debugging

aimake graph

Display the dependency DAG.

aimake graph
aimake graph --format ascii    # default
aimake graph --format json
aimake graph --format dot
aimake graph --serve --port 8765   # same API as aimake serve
OptionDescription
--format, -fascii, json, or dot
--serveStart the dashboard API instead of printing
--hostBind host with --serve (default 127.0.0.1)
--port, -pAPI port with --serve (default 8765)

See Dashboard.

aimake inspect

Detailed info for one artifact (status, fingerprint, deps, files, size).

aimake inspect evaluation

aimake explain

Explain why a target is stale (root cause chain, fingerprints, optional cost tree).

aimake explain report
aimake explain report --tree
aimake explain report --format json
OptionDescription
--treeDependency tree with costs / validation / external notes
--format, -ftext or json
--debugDebug fingerprinting

aimake history

Previous builds from .aimake/state.db.

aimake history
aimake history --limit 50
OptionDescription
--limit, -nMax rows (default 20)

aimake logs

Print the log file for a build id.

aimake logs 3
# → .aimake/logs/build-003.log

aimake diff

Show what changed for an artifact (prompt unified diff, dataset/model stats, fingerprint delta).

aimake diff prompt
aimake diff dataset --baseline lock
aimake diff model --baseline stored
aimake diff embeddings --baseline current
OptionDescription
--baseline, -bstored (default), lock, or current

Evaluation

aimake eval

Quality gate checks against metrics from the latest build.

aimake eval --check
OptionDescription
--checkEvaluate quality_gates in aimake.yaml; exit 1 on failure

Without --check, aimake prints a hint to use --check. Ideal for CI after aimake build.


Remote cache

Full guide: Remote & team cache.

aimake cache status
aimake cache remote-init --bucket my-cache --team acme --region us-east-1
aimake cache push
aimake cache pull
aimake cache pull-lock
aimake cache sync
CommandOptions / argsDescription
cache status-cLocal + remote + team summary
cache push [fingerprint]-cPush local entries to S3
cache pull [fingerprint]-cPull from S3
cache sync-c, -PPull missing, then push new
cache remote-init--bucket/-b, --prefix, --region/-r, --endpoint, --team/-t, -c, -PWrite cache.remote into yaml
cache pull-lock-c, -PPull fingerprints pinned in aimake.lock

Requires pip install aimake[s3] and AWS (or S3-compatible) credentials.


GPU & workers

aimake workers

Shows local GPU pool and SSH worker availability. See GPU & workers.


Experiments

Full guide: Experiments.

aimake compare
aimake compare 3 5
aimake compare previous latest
aimake optimize
aimake optimize --dry-run
aimake optimize -n 20 --name tuning-v2
aimake experiments list
aimake experiments show 1
CommandOptions / argsDescription
compare[baseline] [candidate]Metric deltas (previous/latest/build id)
optimize--trials/-n, --dry-run, --name, -cHyperparameter search from optimization:
experiments list--limit/-nList optimization runs
experiments show<id>Trials for one experiment

Artifact registry

Full guide: Artifact registry.

aimake registry list
aimake registry list --artifact evaluation --stage production
aimake registry list --tag best
aimake registry show evaluation v1
aimake registry promote evaluation v1 --stage production
aimake registry promote evaluation v1 --stage production --force
aimake registry promote evaluation v1 --no-push
aimake registry push evaluation v1
aimake registry tag evaluation v1 best champion
CommandOptionsDescription
list--artifact/-a, --stage/-s, --tag/-t, --limit/-nList versions
show<artifact> <version>Detail one entry
promote--stage/-s, --force, --no-push, -PPromote (policy-gated)
push<artifact> <version>, -PPush to registry.remote
tag<artifact> <version> <tags...>Add tags

Requires registry.enabled: true.


Watch, serve, TUI

aimake watch

Poll inputs and re-plan when files change.

aimake watch
aimake watch --interval 1.5
aimake watch --build          # auto-build on change
OptionDescription
--interval, -iPoll interval in seconds (default 2.0)
--build, -bRebuild when a change is detected

aimake serve

Start the dashboard JSON API (pair with the Next.js UI).

aimake serve
aimake serve --port 8765 --host 127.0.0.1
aimake serve --open           # opens http://localhost:3000 hint
OptionDescription
--hostBind host (default 127.0.0.1)
--port, -pAPI port (default 8765)
--openOpen the dashboard URL hint in a browser
--config, -cConfig path

See Dashboard.

aimake tui

Interactive full-screen Rich TUI — plan, build, and metrics.

aimake tui
aimake tui --project apps/rag

Team: schedule, notify, secrets

Full guide: Team & production.

aimake schedule

Run builds on a cron expression or a named schedule.jobs entry.

aimake schedule "0 6 * * *"
aimake schedule "0 6 * * *" --once
aimake schedule "0 6 * * *" --dry-run
aimake schedule --job nightly --once
aimake schedule "*/30 * * * *" --target evaluation --force
Option / argDescription
[cron]Cron expression (UTC), e.g. 0 6 * * *
--job, -jNamed job from schedule.jobs
--onceRun on next match then exit
--dry-run, -nPrint next fire time only
--target, -tBuild targets (repeatable)
--force, -fForce rebuild when the job fires
--project, -PMonorepo subproject

aimake notify-test

Send a test notification via configured Slack / Discord / email channels.

aimake notify-test
aimake notify-test --event success
aimake notify-test --event quality_gate
aimake notify-test --event cost_spike
OptionDescription
--event, -efail (default), success, quality_gate, or cost_spike

aimake secrets

Show which secrets sources loaded (keys only, never values).

aimake secrets
aimake secrets -P apps/rag

Trust & reproducibility

Full guide: Trust & reproducibility.

aimake probe

Probe external model/API deps marked probe: true for revision drift. Exit code 2 if drift is detected.

aimake probe

aimake repro

Generate a reproducibility report (env, fingerprints, git, drift, attestations).

aimake repro
aimake repro --format markdown
aimake repro --format json -o repro.json
aimake repro --format pdf
OptionDescription
--format, -fmarkdown (default), json, or pdf
--output, -oOutput path
--project, -PMonorepo subproject

aimake lineage

Export pipeline lineage as OpenLineage / MLflow / W&B graph JSON.

aimake lineage
aimake lineage --format openlineage --format mlflow
aimake lineage -f wandb -o .aimake/lineage
OptionDescription
--format, -fopenlineage, mlflow, and/or wandb (repeatable)
--output-dir, -oDirectory for exported files

Plugins

aimake plugins

Lists enabled plugins and built-in integration status (HF, W&B, DVC, Docker, Ollama, MLflow, Optuna, S3).

Enable plugins under plugins.*.enabled: true in aimake.yaml. See Plugins overview.

Hugging Face (aimake hf)

pip install aimake[huggingface]
aimake hf pull embedder
aimake hf push embedder
aimake hf status
aimake hf status embedder
CommandDescription
hf pull <artifact>Download from the Hub
hf push <artifact>Upload to the Hub
hf status [artifact]Show Hub linkage

Weights & Biases (aimake wandb)

pip install aimake[wandb]
aimake wandb sync evaluation
aimake wandb status
CommandDescription
wandb sync <artifact>Log metrics/artifacts
wandb status [artifact]Show W&B linkage

DVC (aimake dvc)

pip install aimake[dvc]
aimake dvc pull dataset
aimake dvc push dataset
aimake dvc status
CommandDescription
dvc pull <artifact>Pull DVC-tracked data
dvc push <artifact>Push DVC-tracked data
dvc status [artifact]Show DVC linkage

Docker (aimake docker)

pip install aimake[docker]
aimake docker build train
aimake docker status
CommandDescription
docker build <artifact>Build the artifact’s image
docker status [artifact]Show Docker config / whether image exists

Ollama (aimake ollama)

pip install aimake[ollama]
aimake ollama pull local_llm
aimake ollama status
CommandDescription
ollama pull <artifact>Pull the configured Ollama model
ollama status [artifact]Show model / host / local presence

Monorepo --project / -P

In a monorepo, each package can own an aimake.yaml. Point the CLI at a subproject:

aimake build --project apps/rag
aimake plan -P apps/rag
aimake cache pull-lock -P services/eval
aimake registry promote evaluation v3 --stage production -P apps/rag
aimake tui -P apps/rag

Commands that accept -P include (among others): build, plan, status, tui, cache sync|remote-init|pull-lock, registry promote|push|tag, schedule, notify-test, secrets, repro, lineage, probe.

Equivalent forms:

aimake build -c apps/rag/aimake.yaml
aimake build -P apps/rag

Command tree

aimake
├── init | build | plan | status | clean | doctor
├── graph | inspect | explain | history | logs | diff | eval
├── watch | serve | tui
├── workers | compare | optimize
├── schedule | notify-test | secrets | plugins
├── probe | repro | lineage
├── cache → status | push | pull | sync | remote-init | pull-lock
├── experiments → list | show
├── registry → list | show | promote | push | tag
├── hf → pull | push | status
├── wandb → sync | status
├── dvc → pull | push | status
├── docker → build | status
└── ollama → pull | status