Configuration-first · immutable outputs · reproducible builds

Build the whole machine.
Keep the intent.

Eclogite turns reviewed JSON configuration into a complete machine image. Choose hardware, software, and a kernel or operating-system family; it validates the combination, resolves every input, builds it in a controlled environment, and produces an immutable result for a VM or physical device.

utm-arm64

$ mkdir arm64-dev && cd arm64-dev

$ eclogite create \\

--config ../examples/utm-arm64.json \\

--fetch

resolve  machine + software · no cycles

fetch    18 layers attested

runtime  dev-arm64@sha256:9b3…

mount    aarch64-linux-gnu@sha256:6a1…

image    root.img + Image.gz

publish vm.json written last

$ ./vm.sh run

booting read-only root on ttyAMA0…

18buildable software units
6reusable software groups
6machine profiles
2software profiles
3ready machine + software pairs

Getting started

Choose. Review.
Build once.

Start with short catalog names, or pass your own JSONC files. The shorthand is expanded into recorded intent before locking, so convenience does not create hidden build state.

01 / intent

Write one system file.

Machine and software stay reusable, but one reviewed JSON file links the exact pair you want to build.

{
  "schema": "eclogite.system/v0.1",
  "name": "utm-arm64",
  "machine": "utm-arm64",
  "software": "minimal"
}
Browse machine profiles
02 / references

Use aliases or file links.

Bare names resolve predefined catalog objects. Relative paths resolve from the system file, so the same definition works from any directory.

"machine": "utm-arm64"
"software": "minimal"

or

"machine": "./my-machine.jsonc"
"software": "../software/base.jsonc"
Read the reference rules
03 / build

Resolve, review, create.

Every command consumes the same file. The lock records canonical objects and hashes before any builder runs.

eclogite plan \
  --config system.json

eclogite create \
  --config system.json \
  --fetch
Open the dependency graph
virtual target

vm.sh runs the completed VM.

A QEMU or UTM profile produces a self-contained bundle with images, runtime metadata, and vm.sh for validate, run, console, status, and stop.

./vm.sh run
physical target

A bootable hardware image.

A board profile produces the selected kernel or operating-system artifacts, boot files, filesystem image, manifest, and provenance. It does not pretend the physical board is a VM.

out/raspberry-pi-model-b.img

Two inputs · one resolved system

Describe the machine.
Describe the software.

Hardware sizing and device topology do not belong in the package selection. Eclogite keeps both sides independently reusable, then validates their platform contract before it builds.

machine.json

Machine profile

  • platform and CPU model
  • vCPU count and memory
  • boot method and firmware
  • storage, network, console
  • QEMU or physical device contract
software.json

Software profile

  • package selection
  • kernel or operating-system selection
  • init and read-only root filesystem
  • image and volumes
  • services and tests from packages
system.lock.json

Compatible system

One auditable graph, one bootable image, one self-contained deployment bundle.

compatibility gate machine.platform must equal software.platform · required devices must be present · no hidden runtime overrides

One source of truth

The catalog describes.
The plan proves.

Package JSON stays declarative: immutable source revisions, typed dependencies, builder selection, and package-owned resources. eclogite validates that intent, writes a deterministic lock, and runs the builds.

Build output never leaks back into the catalog. Locks, source trees, and immutable layers can be inspected, compared, discarded, and reconstructed.

01

Resolve before executing

Schema validation, meta-package expansion, cycle detection, platform selection, and input hashing complete before a builder runs.

Follow the workflow
02

Trust before caching

Git mirrors, source snapshots, and package outputs use immutable identities. Remote layers also require signed build provenance before entering the local cache.

Inspect package inputs
03

Replace, never mutate

Eclogite runs on the host. The produced root and its system software are read-only; changing them means producing and replacing a new tested image.

See the output boundary

Reproducible build room

The host coordinates.
The VM builds.

The host compiler is never part of a package build. Eclogite boots one pinned development image, mounts one exact target toolchain read-only, and runs each package's builder offline inside that boundary.

build.runtime resolved
  1. 01
    Host intentsystem.json + catalog commit
    validated
  2. 02
    Development imagelinux-libre-vm / arm64
    sha256 pinned
  3. 03
    Target toolchain/opt/eclogite/toolchains/aarch64-linux-gnu
    read-only mount
  4. 04
    Executionbuilders/configure/build.sh
    network off
  5. 05
    Layer resultmanifest + hashes + provenance
    compared

Ideas in context

Borrow proven machinery.
Decline accidental complexity.

Eclogite is not a universal package ecosystem or a container runtime. It is a deliberately narrow compiler from reviewed machine intent to a reproducible VM bundle or physical-machine image.

01

Nix

Functional package system
What we borrow

Input-derived identities, fixed source revisions, dependency keys, and a lock that separates human intent from a concrete build.

Eclogite's boundary

JSON is data, not a lazy programming language. One pinned version per package makes resolution a topological sort, with no overlays or fixpoint override APIs.

02

Guix

Scheme-based system manager
What we borrow

Explicit build, target, and runtime input roles; immutable store-like outputs; and the ability to reproduce a system from pinned catalog state.

Eclogite's boundary

No Scheme evaluation, package transformations, grafts, or deep input rewriting. A changed input produces a visible lock and rebuild plan.

03

Docker / BuildKit

Container image pipeline
What we borrow

A dependency DAG, parallel work, immutable cached results, and the convenience of shipping one self-contained runtime artifact.

Eclogite's boundary

The output is a bootable VM or hardware image with its selected kernel—not a host-kernel container. Inputs are graph nodes, not mutable network activity hidden inside RUN.

04

Yocto

Embedded distribution builder
What we borrow

Package groups, feature effects, kernel configuration fragments, task hashing, and tools that explain why a build signature changed.

Eclogite's boundary

No layer priority, .bbappend chains, override syntax, or inline Python. Defaults live in typed builders and package intent remains inspectable JSON.

05

Buildroot

Root filesystem builder
What we borrow

Reusable package infrastructures, per-package directories, kernel fragments, and a whole-system image assembled on the host.

Eclogite's boundary

The catalog is schema-validated data and package outputs receive content-aware input keys, manifests, comparison results, and reusable cache layers.

Design synthesis from the project’s package-build DSL research. The goal is a smaller problem surface, not feature parity with these systems.

Build flow

From JSON to a bootable image

Human input remains readable. Machine state becomes exact.

  1. JSONIntentsystems, packages, profiles
  2. LOCKResolutioncommits, graph, input keys
  3. BUILDExecutioninside the pinned build VM
  4. STORELayershashes and signed provenance
  5. OUTPUTDeploymentVM bundle or hardware image

Host configuration compiler

eclogite

  • Parses JSON and validates schemas
  • Resolves the complete dependency graph
  • Builds, tests, compares, and caches layers
  • Creates VM bundles or physical images

Deployment outputs

Virtual or physical

vm.sh · virtual profiles

Runs and controls the completed VM bundle.

*.img · physical profiles

Boot-media image and manifest for the selected board.

See what selects what

Inspect the current catalog as a graph.

Open packages