Skip to Content
Alzo

Why Alzo

Every team that outgrows a single process arrives at the same problem and the same two bad answers.

Docker Compose is the honest baseline, and it is genuinely good. It requires no cluster, no new vocabulary, supports health-gated dependency conditions, and has ps, logs and --wait workflows. The friction at larger graphs is different: readiness is opt-in and repeated per edge, host processes sit outside the graph, observability is split across commands, and project naming and isolation are manual. On macOS, bind-mount filesystem performance can also dominate the inner loop.

The Kubernetes inner-loop tools — Tilt, Skaffold, DevSpace, Garden — solve some of that around a Kubernetes cluster. A cluster is a large tax to pay for readiness checks and a dashboard, and it is the wrong tax if your production environment is not Kubernetes. Their own users say so repeatedly; the most-repeated request across all of them is some variant of "none of them are really simple like Compose." Tilt and Skaffold do run without a cluster, but by default Tilt then counts a Compose service as ready the moment its container starts (Comparison).

Alzo takes the middle position. It orchestrates Docker containers and ordinary host processes as one dependency graph, with no cluster and no manifests. Its intended advantage over Compose is automatic typed readiness edges, one dashboard for lifecycle and telemetry, and worktree-derived isolation without manually coordinating project names and ports.

Principles

  1. Simplicity parity with Compose. A configuration for one service and a database must be as short and obvious as the equivalent compose.yaml. Every feature is weighed against this and most are rejected.
  2. Two graphs, not one. Build dependencies and runtime dependencies are different problems. An image build should not wait for a Postgres health check.
  3. The configuration can reach Alzo's own abstractions. dependsOn: [db.available] is a variable reference, not a string that might be misspelled.
  4. Instances are first-class. Several git worktrees running the same stack simultaneously is the normal case, not an edge case.
  5. Names, not ports. You never choose a port number.
  6. Fail loud. A dependency that is unhealthy, a reference that cannot resolve, a build that is stale — each is a specific, actionable error naming the node. Nothing silently degrades.
  7. One application graph, multiple target bindings. Local, agent, preview and production runs share the portable graph while target policy stays out of service nodes; an unsupported field is reported, never dropped.
  8. The dashboard is a product surface, not a debug view.
  9. Agent-consumable by default. Every command has a clean exit code and line-structured output.

Comparison

AlzoDocker ComposeTiltSkaffold
Runs without KubernetesYesYesYes, via docker_compose()Yes, via the Docker deployer
Containers and host processes in one graphYesNoPartialNo
Dependencies wait for readinessBy defaultOpt-in per edge (condition:)On Kubernetes; Compose at container start by defaultOn Kubernetes, between deployers by default
Image build scheduling on initial startupbuildDependsOn gates buildsup --build builds before container startupresource_deps waits for readiness before dependent buildsThe build stage precedes deployment and readiness checks
DashboardYesNoYesNo
Parallel environments per worktreeAutomaticManual project names and portsManualManual
Configuration languageTypeScriptYAMLStarlarkYAML
Automatic port allocationYesNoNoNo
Telemetry receiverYesNoNoNo

In Alzo, dependsOn gates service startup. A dependent image build can run when its own build dependencies are satisfied, including while its runtime dependencies are becoming ready.

Tilt is a good tool and Alzo owes it a great deal — the dashboard, the file-watching model, and a long list of feature requests its users filed and never received. It does not require Kubernetes, but its dependency model is built for a cluster. Per its documentation, a Compose service counts as ready when "the container is started"; docker_compose(wait=True) opts in to docker compose up --wait. A host process run through local_resource(serve_cmd) "doesn't have any restart semantics", in a Tilt maintainer's words (tilt-dev/tilt#5327).

On parity, honestly

Three real Compose examples, rewritten and counted. Code lines, comments stripped:

ComposeAlzo
Airflow — 10 services, 6 sharing one image258131about half
Immich — app, ML sidecar, valkey, postgres506122% longer
Kafka KRaft — 3 controllers + 3 brokers, one quorum13152about two-fifths

Both linked Compose files are vendored in the repository with their upstream commit and fetch date, and Alzo's documentation check counts both columns, so neither number can drift unnoticed. Immich's is docker/docker-compose.yml at 2237b28813d4, linked rather than vendored, so that no AGPL-3.0 file ships in Alzo's Apache-2.0 packages; its 50 is counted by hand and is the one number here you cannot check locally.

Kafka wins for a different reason, and it is the one worth understanding. Its quorum string — 1@controller-1:9093,2@controller-2:9093,3@controller-3:9093 — appears six times in the Compose file, once per service, because every peer must know every peer. Changing three brokers to five is an edit in six places and a new service block. Here the same string is written once, CLUSTER_SIZE is an ordinary constant, and five is a one-character change.

That mutual reference is why it is hard: broker one's configuration contains broker two's address and vice versa, so no declaration order works. forward() hoists the address surface and nothing else, which puts the cycle in addresses — resolved by allocation — instead of in startup order, which must stay acyclic.

Airflow wins because six of its ten services are the same image differing only by arguments, and because a one-shot initialiser that six services wait on is defineTask plus .done rather than depends_on: { condition: service_completed_successfully }.

Immich loses by eleven lines. One is the import type statement this repository's style puts on its own line; the other ten go to three places: connection strings are stated rather than hardcoded (postgresql://…@${hostname}:${port.pg}/immich instead of a literal hostname, because the address differs per worktree), environment is wired per service rather than a whole .env being handed to everything, and one extra dependency edge — the server reads IMMICH_MACHINE_LEARNING_URL, but the Compose file never declares that it depends on that container.

All three are deliberate, and none is free. What the ten lines buy is that Immich's depends_on edges actually wait. The Compose file declares a healthcheck on all four services and then gates on none of them: one depends_on, two entries, no condition:.

ready: { inherit: 'image' } was supposed to close this gap and did not — it made three probes free, then the third dependency edge spent the savings and one line more. Reporting it as a draw would be tidier and would not be true.

Product direction

Alzo today runs local development environments. The long-term product is one application graph across local human development, isolated local or remote agent work, preview environments and production. Each target applies its own execution, exposure, state and rollout policy, so Alzo does not claim development-production parity. The differentiator is continuity between those stages: parallel work produces a verified, immutable release, preview and production run that same release, and one chain of evidence explains the result. None of that widens what is available today; the FAQ says what is not.

On this page