Build with Saar

Build Saar into
your stack.

The engine interfaces are the native C11 CLI/library and the TypeScript API with its shard worker, available through controlled evaluation. Public Python, Rust and .NET adapters, plus Go and Swift modules, call the separately installed licensed engine; they contain no codec. All use the same bounded, verified recovery contract.

Native C11 + TypeScriptStreams and objectsExact recoveryEvaluation access
Input Compress Verify
saar_native · fast profile
streaming
saar_native stream-compress \
  --profile fast \
  --chunk-size 4194304 \
  --threads 8 \
  < input > output.sast

saar_native stream-decompress \
  < output.sast > restored

# success means exact source bytes,
# not a plausible-looking file.

Implemented · evaluation

Native C API

Embed the checked C11 library or use its native command-line interface. Object calls are bounded; use the stream CLI for larger inputs.

Implemented · controlled evaluation

TypeScript API

The TypeScript engine API and CLI remain private source and are provided through controlled evaluation. They are not published as a public npm package.

Public client packages · engine required

Language SDK adapters

Apache-2.0 adapters are published for Python, Rust and .NET; Go and Swift resolve from the public Saar integration repository. Each drives a separately installed, licensed saar_native executable and contains no codec.

Implemented · evaluation

Native CLI

Pipe objects and SAST streams through the checked native executable, with exact output verification and explicit resource limits.

Built · npm publication pending

MCP server

The MCP wrapper drives the installed native CLI and contains no codec. Its package builds; public npm publication is pending release authorisation.

Published · Marketplace

VS Code extension

The extension is listed on the Visual Studio Marketplace and drives an installed Saar CLI. It does not bundle the engine; a valid licence is required for engine operations.

Public client adapters

Install a client. License the engine separately.

These Apache-2.0 wrappers call the installed saar_nativebinary. They do not contain the codec, CLI, container or stream implementation. A valid Saar engine license is required to process files.

The engine and native CLI are distributed through controlled technical evaluation, not through those package registries. The TypeScript engine API is source-only; the MCP wrapper builds but is not published on npm.

Quick start

The real commands.

Both CLIs stream on stdin/stdout, never overwrite existing outputs and verify recovery before declaring success.

Native CLI · streams

Parallel, checked streaming

saar_native stream-compress --profile fast --chunk-size 4194304 --threads 8 < input > output.sastDecode the same way with stream-decompress. Profiles: fast, ratio, full. Ordered worker batches are deterministic. The output is byte-identical across tested thread counts.

Native CLI · objects

Single objects with envelope digest

saar_native compress-object --profile ratio < input > object.saarLow-level strand encoding is exposed for evaluation harnesses:encode-strand --mode N [--variant N].

TypeScript CLI · objects and streams

Content-aware multimodal pipeline

saar compress input.jsonsaar stream-compress big.bin --chunk-size 4MiBsaar verify input.saarsaar info input.saar

Modality detection is automatic; override with --modality.

TypeScript CLI · distribution

The shard worker

saar shard-worker task.saar -o result.saar runs one bounded worker over a transport-neutral shard task and emits a result that assembles into a SAST v3 stream independent of completion order. This is the building block for distributed runs.

The integration contract

Integrate around boundaries, not internals.

These are the facts you build against: what goes in, what comes back, how it is checked and where it stops. Encoder search, tuning rules and patent-sensitive mechanisms remain confidential.

Input

A bounded byte range

Objects and stream chunks are bounded at 16 MiB. Longer inputs are split into independent chunks, never silently truncated.

Output

The original bytes

A successful decode reproduces the source exactly. When compression does not help, the stored frame is still a valid, fully recoverable object.

Integrity

SHA-256 envelope and stream transcript checks

An envelope digest and an ordered stream transcript detect corruption. They are not encryption, and they do not prove sender identity.

Failure

Explicit, bounded limits

Malformed input is rejected and resource limits are part of the contract, rather than undefined behaviour you discover in production.

Compatibility

Versioned formats

SAAR v7 compact binary with v6 stored and general chunks; SAST v3 streams with SAST v2 readable for compatibility.

Surfaces

One contract, many surfaces

The native C11 library and CLI, and the TypeScript engine API, are supplied through controlled technical evaluation. Public language SDK adapters are listed separately and still require the licensed native executable.

Implementation detail

Container pipeline

How an object is produced: bounded input, an explicit envelope, candidate families, reconstruction and comparison, then a verified object. Incompressible input falls back to stored bytes rather than expanding.

Workload coverage

Documented across your kinds of data.

The public roster and this table are one taxonomy: 31 workload classes. Every class enters the same byte-exact recovery contract and has a dated measurement against the strongest available standard codec. The current matrix is 31 wins, 0 losses. Real public samples are used wherever one could be acquired; rows state whether the sample is real, a repository fixture or generated, and each row names its evidence file. 11 classes have a dedicated format mode. The others use the universal route, and every class is measured. A new mode is added only when it passes the published specialist gate: train and holdout gains, competitor position and byte-exact cross-decode.

Workload classRepresentative inputsModeMeasured
Text & documentsDocuments, RFCs, exports, chat archivesTested 2026-10-17 · won: 3.4% smaller than bzip2 -9 · real public sample: round22-two-cities.txtEvidence: apps/shared/data/benchmark-data.json#round2233 PDF · 36 textWon
Source codeRepositories, patches, build scriptsTested 2026-10-17 · won: 17.3% smaller than bzip2 -9 · TypeScript tournament · real public sample: round22-cpython-typeobject.cEvidence: evidence/benchmarks/workload-config-scan-2026-10-18.jsonUniversalWon
Logs & observabilityApplication logs, traces, audit recordsTested 2026-10-18 · won: 10.2% smaller than xz -9 · repository fixture: fixture-app.logEvidence: evidence/benchmarks/workload-class-matrix-2026-10-18.jsonUniversalWon
Structured dataJSON, CSV, ledgers, tabular exportsTested 2026-10-17 · won: 10.9% smaller than Brotli -q 11 · real public sample: round22-gdp.csvEvidence: apps/shared/data/benchmark-data.json#round2236 structured textWon
ImagesPhotographs, scans, diagram filesTested 2026-10-17 · won: 0.6% smaller than bzip2 -9 · real public sample: earth.jpgEvidence: apps/shared/data/benchmark-data.json#media527 PNG · 32 rasterWon
Voice & audioSpeech, music, call recordingsTested 2026-10-17 · won: 2.6% smaller than xz -9 · real public sample: hello.oggEvidence: apps/shared/data/benchmark-data.json#media530 WAVWon
VideoClips, delivery libraries, capturesTested 2026-10-17 · won: 0.2% smaller than xz -9 · TypeScript tournament · real public sample: sintel-trailer.mp4Evidence: evidence/benchmarks/workload-config-scan-2026-10-18.jsonUniversalWon
AI models & embeddingsCheckpoints, weights, vector setsTested 2026-10-16 · won: 0.6% smaller than brotli -q11 · real public sample: mobilenet-quant.tfliteEvidence: evidence/benchmarks/web-samples-coverage-2026-10-16.jsonUniversalWon
Game & app assetsBuilds, patch payloads, content packsTested 2026-10-16 · won: 6.2% smaller than xz -9 · real public sample: Duck.glbEvidence: evidence/benchmarks/web-samples-coverage-2026-10-16.jsonUniversalWon
Backups & archivesSnapshots, cold storage, exportsTested 2026-10-16 · won: 6.1% smaller than brotli -q11 · real public sample: nibabel-example4d.nii.gzEvidence: evidence/benchmarks/web-samples-coverage-2026-10-16.json29 ZIPWon
Network payloadsPacket captures, messages, streamsTested 2026-10-15 · won: 0.4% smaller than zstd · real public sample: pcap.binEvidence: evidence/benchmarks/workload-audit-2026-10-15.jsonUniversalWon
Telemetry & signalsSensor captures, time seriesTested 2026-10-15 · won: 22.3% smaller than xz -9 · generated fixture: fixtures/voice-signal.pcmEvidence: evidence/benchmarks/signal-mode28-2026-10-15.json28 signalWon
Firmware & binaryFirmware images, signed bundlesTested 2026-10-21 · won: 5.3% smaller than Brotli -q 5 · native ratio mode 38 (compact raw dictionary) profile · real public sample: simple.wasmEvidence: evidence/benchmarks/wasm-simple-dictionary-2026-10-21.jsonUniversalWon
Blockchain & PQC dataLedger exports, serialized payloadsTested 2026-10-18 · won: 0.3% smaller than brotli -q11 · real public sample: nist-mlkem-kat.rspEvidence: evidence/benchmarks/workload-audit-2026-10-18-real-samples.json36 structured textWon
Email & messagesMail archives, message stores, exportsTested 2026-10-18 · won: 1.0% smaller than brotli -q11 · real public sample: real-email-bundle.mboxEvidence: evidence/benchmarks/workload-audit-2026-10-18-real-samples.jsonUniversalWon
Cloud & object storageBuckets, object exports, snapshotsTested 2026-10-17 · won: 0.7% smaller than brotli -q11 · TypeScript tournament · real public sample: oci-layer-inventory.jsonEvidence: evidence/benchmarks/workload-config-scan-2026-10-18.json36 structured textWon
Servers & infrastructureConfigs, logs, state snapshotsTested 2026-10-18 · won: 8.3% smaller than brotli -q11 · real public sample: postgres-configs.tar.gzEvidence: evidence/benchmarks/workload-audit-2026-10-18-real-samples.json36 structured textWon
Memory & execution statesRAM snapshots, core dumps, hibernation filesTested 2026-10-18 · won: 8.1% smaller than xz -9 · real public sample: core-dump-prefix.binEvidence: evidence/benchmarks/workload-audit-2026-10-18-real-samples.jsonUniversalWon
Indexes & transaction logsWAL, B-tree indexes, database checkpointsTested 2026-10-15 · won: 20.1% smaller than xz · real public sample: rdb.sqliteEvidence: evidence/benchmarks/workload-audit-2026-10-15.jsonUniversalWon
Virtualization artifactsContainer layers, VM disks (VMDK/VHDX), snapshotsTested 2026-10-16 · won: 8.2% smaller than brotli -q11 · real public sample: vdisk.vhdxEvidence: evidence/benchmarks/web-samples-coverage-2026-10-16.json34 sparse residualWon
Graph databasesRelationship graphs, network topologies, crawl mapsTested 2026-10-15 · won: 6.1% smaller than brotli · real public sample: graph.binEvidence: evidence/benchmarks/workload-audit-2026-10-15.jsonUniversalWon
Genomic & biological dataFASTQ/BAM sequencing, protein structuresTested 2026-10-15 · won: 15.3% smaller than brotli · real public sample: fastq.binEvidence: evidence/benchmarks/workload-audit-2026-10-15.jsonUniversalWon
Geospatial & environmental dataLiDAR point clouds, radar, GIS, weather gridsTested 2026-10-15 · won: 9.3% smaller than xz · real public sample: las.binEvidence: evidence/benchmarks/workload-audit-2026-10-15.jsonUniversalWon
Scientific simulation outputsCFD grids, particle physics, MD trajectoriesTested 2026-10-15 · won: 2.3% smaller than brotli · real public sample: netcdf.ncEvidence: evidence/benchmarks/workload-audit-2026-10-15.jsonUniversalWon
Industrial & CAD designs3D CAD, BIM, CNC toolpathsTested 2026-10-15 · won: 11.6% smaller than brotli · real public sample: model.stlEvidence: evidence/benchmarks/workload-audit-2026-10-15.jsonUniversalWon
Medical imaging volumesCT/MRI/ultrasound 3D voxel dataTested 2026-10-16 · won: 5.3% smaller than bzip2 -9 · real public sample: nibabel-example4d.niiEvidence: evidence/benchmarks/web-samples-coverage-2026-10-16.jsonUniversalWon
Automotive & robotics mappingSLAM maps, autonomous-vehicle sensor streamsTested 2026-10-18 · won: 6.9% smaller than xz -9 · real public sample: lidar-simple1_4.lasEvidence: evidence/benchmarks/workload-audit-2026-10-18-real-samples.json35 LASWon
IC design & semiconductorsGDSII/OASIS silicon layoutsTested 2026-10-15 · won: 5.2% smaller than xz · real public sample: gdsii.gdsEvidence: evidence/benchmarks/workload-audit-2026-10-15.jsonUniversalWon
Astronomical dataTelescope outputs, sky surveys, CMB datasetsTested 2026-10-15 · won: 1.5% smaller than brotli · real public sample: fits.binEvidence: evidence/benchmarks/workload-audit-2026-10-15.jsonUniversalWon
Seismic dataSubsurface soundings, exploration recordsTested 2026-10-15 · won: 29.0% smaller than xz · real public sample: seismic.sgyEvidence: evidence/benchmarks/workload-audit-2026-10-15.jsonUniversalWon
Haptic & telepresence dataForce-feedback profiles, motion captureTested 2026-10-18 · won: 14.4% smaller than bzip2 -9 · generated fixture: motion-capture.bvhEvidence: evidence/benchmarks/workload-audit-2026-10-18-real-samples.jsonUniversalWon

Format history

Versions you can rely on.

Objects and streams carry explicit versions, and older readers remain available.

Compatibility

Old readers keep working.

Every object and stream carries an explicit version, and decoders keep reading the older formats. Version numbers change only when the bytes on the wire change.

Legacy

Readers for modes 1-4

Historical strand representations are retained for decoding only; no current encoder emits them.

V5

Objects with separate digests

Source and envelope digests were recorded independently. V5 objects remain readable.

V6

Stored & general envelope

One SHA-256 over the complete encoded envelope, a 49-byte binary overhead, and stored fallback that bounds expansion. V6 remains the envelope for stored and non-binary chunks, and old objects stay readable.

V7 · current

Compact binary objects

The active compact binary strand envelope. It carries only what the frame cannot: no repeated size or modality fields. v7 is emitted for compressed binary chunks; other modalities still use v6.

SAST v2

Checked stream chunks

Independent chunks with a whole-stream digest and completeness check at end of stream.

SAST v3 · current

Parallel stream workers

The POSIX native CLI encodes and decodes chunk batches across host threads while an ordered transcript digest verifies the stream. Windows currently uses the serial path.

Research

Accelerator kernels · planned

GPU, FPGA and multi-device execution are design directions until a single-device kernel beats its CPU control.

Current platform status

The proprietary engine and native CLI are available through controlled evaluation and are not downloadable as public artifacts. Public client adapters are published for Python, Rust and .NET; Go and Swift sources are available in the integration repository, and all require a separately installed, licensed engine. The VS Code extension is on the Marketplace. The MCP wrapper builds, but its npm publication remains pending. Independent security review is not claimed.

Developer questions

The things technical evaluators ask first.

Is there a package I can install today?

Yes. Apache-2.0 client adapters are published for Python (PyPI saar-sdk), Rust (crates.io saar-sdk) and .NET (NuGet Heossi.Saar); Go and Swift sources resolve from the public Saar integration repository. Each calls a separately installed, licensed saar_native executable and contains no codec. The engine, native CLI, C SDK and TypeScript engine API remain available through controlled technical evaluation; the TypeScript API is not a public npm package. The MCP package is built but not published to npm. The VS Code extension is on the Visual Studio Marketplace.

Which platforms are supported?

macOS and Linux for the native C SDK and CLI. Windows has a serial code path that has not completed the runtime acceptance matrix, so it is qualified per evaluation rather than assumed.

How do I evaluate it without shipping my data?

Run the bounded live comparison on the website. It sends at most 32 KiB, only when you explicitly run it. You can also run complete jobs in the customer workspace, or submit a representative corpus under agreed handling in a scoped evaluation.

Will you help me integrate?

Yes, during a scoped evaluation. Endpoints, inputs, outputs, limits and compatibility are documented up front; encoder internals stay confidential. Data handling, support and any commercial terms are agreed in writing before work begins.

Technical access

Evaluate before you integrate.

Define the target, workload and acceptance criteria with the Saar engineering team. Then decide based on your own results.