An AI planner, never an AI decoder
A model may analyse the tree and emit a packing plan. The writer validates that plan; the decoder restores without a model, ever.
Planner → Policy validator → Deterministic writerANLA is an archive format for agents. A model may choose the chunking, the codec, the indexes and the order of work. A public, deterministic decoder still has to return every byte that was declared into the archive — with no model in the loop.
Traditional formats assume a human picks the files and a level, and a fixed algorithm does the rest. ANLA turns the packing plan into a structured control surface an agent can produce, a validator can check and a writer can replay — while the format's invariants refuse information loss.
A model may analyse the tree and emit a packing plan. The writer validates that plan; the decoder restores without a model, ever.
Planner → Policy validator → Deterministic writerEvery raw chunk is identified by the SHA-256 of its content, so identical content is stored once no matter how many files reference it, or which codec stored it.
chunk_id = SHA-256(raw bytes)Search indexes, decision logs and model annotations live in a plane you can empty completely. What a decoder extracts does not change by one byte.
Decode(P, I) = Decode(P, ∅)ANLA separates the preservation truth that must not be compromised from the AI-assisted data that may change freely. This is not a visual grouping; it is the format's trust boundary.
Raw payload chunks, the chunk map, paths, metadata, content hashes and the snapshot root. Every conforming decoder must reach the same result from these bytes.
The packing plan a model produced, its decision log, full-text and semantic indexes, agent history. Replaceable, deletable, and never a precondition for extraction.
A format's promises are worth what its tests are worth. These are the ones that run on every commit, on Linux, macOS and Windows.
A Python writer and a JavaScript writer, written separately against the specification, produce identical archives for every reproducible fixture — not merely archives each other can read.
The .anla file shipped with the original v0.1 browser build is checked into the repository as a compatibility vector, and both implementations still restore it exactly.
Wrong hash, wrong length, unknown codec, unsafe path, duplicate path, a compression bomb, an offset past the end of the file: each has a test asserting the decoder fails instead of guessing.
Two paths differing only by case, or by Unicode normalization, are distinct here. Extracting onto a filesystem that folds them fails with both names — it never silently drops one.
The whitepaper describes a larger format: BLAKE3, Zstandard, CBOR manifests, FastCDC, append-only snapshots, cross-platform metadata, encryption, signatures, parity. ANLA-MVP v0.1 implements the smallest subset that can be finished and verified end to end, and claims nothing else.
Single snapshot · ordinary files and directories · fixed-size chunking · Store and DEFLATE · SHA-256 chunk identity · canonical JSON manifest · cross-file deduplication · full round-trip verification · reproducible output · safe paths · resource limits · ZIP export.
Symlinks · hard links · permissions and ACLs · extended attributes · alternate data streams · sparse files · FastCDC · Zstandard · BLAKE3 · encryption · signatures · parity · append-only snapshots · partial materialization.