COMPUTE ON COMPRESSED MEMORY

100% Lossless, Bit-Exact Algebraic Memory Engine // Zero Quantization Loss // Native Rust SIMD

SHA-256 BIT-EXACT // ED25519 AUDITED

Execute exact Top-K similarity search directly over compressed embeddings in RAM without decompressing the entire vector store.

FP32 EMBEDDING STORE
4.00x
Lossless ratio (SHA-256 exact)
1M FP16 RAG INDEX
>78%
Active RAM saved with index
BLOCK PRUNING
>70%
Irrelevant blocks skipped
RECALL@10 PROOF
100.0%
Exact Top-K vs FP32 scan
WORKLOADRAW INPUTBAGUET RAMSAVINGSPROOF
1,000,000 FP16 Vectors (128D)256.00 MB~48–56 MB>78% RAM saved100% RECALL@10
FP32 Vector Store (Litepaper)100%25.0%4.00x denserSHA-256 EXACT
from baguet_sdk import core, ai
engine = core.BaguetEngine()
packed, _ = ai.compress_embeddings(embeddings_fp16, engine=engine)
sketch = ai.build_embedding_sketch_index(packed, block_size=16, engine=engine)
top_k, scores = ai.query_compressed_embeddings_topk(packed, query, k=10, metric="cosine", sketch_index=sketch, engine=engine)

Pack FP16 LLM KV-Cache blocks in RAM or NVMe swap and run online scaled dot-product attention directly over compressed blocks.

64K-TOKEN KV-CACHE
134.22 MB
Unpacked FP16 attention window
OFFLOADED RAM
>85% SAVED
2.71x–11x+ depending on window
ATTENTION ERROR
< 1e-4
Max abs error vs FP32 reference
KV INTEGRITY
BIT-EXACT
Zero quantization drift
from baguet_sdk import core, ai
engine = core.BaguetEngine()
offloader = ai.BaguetKVCacheOffloader(engine=engine)
offloader.put_block(0, k_block_fp16, v_block_fp16)
attn_out, _ = offloader.attention_on_offloaded_blocks([0], query_vec_fp32)

Store fine-tuned checkpoints as cryptographically bound differential containers against the base SHA-256, load individual tensors via selective mmap (~1.2 ms), and issue verifiable BGTR-AUDIT-1.0 receipts.

LORA DELTA (.BGTD)
-96.88%
32.01x vs raw | 27.12x vs standalone
MMAP SELECTIVE LOAD
~1.2 ms
Single tensor without full unpack
TAMPER GUARD
FAIL-CLOSED
1-bit base flip rejected
AUDIT RECEIPT
BGTR-AUDIT-1.0
Ed25519 + SHA-256 verified
from baguet_sdk import core, ai
engine = core.BaguetEngine()
delta_pkt, _ = ai.compress_safetensors_delta(finetuned_layers, base_layers, engine=engine)
restored = ai.decompress_safetensors_delta(delta_pkt, base_layers, engine=engine)
receipt = engine.generate_audit_receipt(delta_pkt)
RAW JSONL TELEMETRY
3,056 B
Structured RAG metadata batch
STANDARD .BGT
222 B
-92.74% lossless reduction
TRAINED .BGTPR
41 B
-98.66% (74.5x denser)
RECONSTRUCTION
SHA-256 EXACT
Bit-for-bit identical output
CAPABILITYZSTD / GZIP / LZMABAGUET 1.0
Static Cold StorageExcellent general-purpose cold archivingStreaming (.bgt / .bgts) + Domain Prior (.bgtpr)
Direct RAG Top-K on Compressed RAMRequires full decompressionNative 100% Recall@K without full unpack
KV-Cache Flash-SDPA & LinearNot supportedDirect execution over packed blocks
Differential LoRA + Ed25519 AuditExternal tooling requiredNative .bgtd + BGTR-AUDIT-1.0
CLUSTER FOOTPRINT
512 GB
8 nodes x 64 GB
MEMORY RECLAIMED
333 GB
At 65% reduction
EST. MONTHLY SAVINGS
$2,163 / mo
Cloud RAM / VectorDB
EST. ANNUAL SAVINGS
$25,958 / yr
Zero hardware upgrades

Run the official 5-Act benchmark from examples/quickstart.py ↗ or download it directly below. Public decompression is 100% free and perpetual (Baguet EULA v1.0); AI compute kernels include a free 16 MB Community sandbox.

ACTREAL-WORLD MOAT TESTEDKEY RESULT
ACT 1SafeTensors .bgtt + Zero-Copy mmap + BaguetCompressedLinear~1.2 ms selective load, <1e-4 error
ACT 21,000,000-Vector FP16 RAG Index>78% RAM saved, 100.0% Recall@10
ACT 364K-Token Long-Context KV-Cache + Flash-SDPA>85% RAM saved, SHA-256 bit-exact
ACT 4Contextual Domain Prior (.bgtpr)>98% reduction on structured JSONL
ACT 5Differential LoRA (.bgtd) + Progressive (.bgtp) + BGTR-AUDIT-1.0-96.88% (32x) delta, 1-bit tamper blocked
pip install baguet numpy
curl -fsSLO https://raw.githubusercontent.com/soilore/baguet/main/examples/quickstart.py
python quickstart.py --real-ai-showcase