Spectrum Store Developer Preview

Lossless, searchable codebase packs for local agents and RAG.

Spectrum turns source trees into compact .specpack stores that can be searched, retrieved, decoded, and verified back to the original bytes.

Install

Try the CLI

The preview ships as an npm-installed command line tool for packing, searching, verifying, and unpacking local repositories.

npm install -g spectrumstore
spectrum doctor
spectrum pack ./my-repo ./my-repo.specpack --json
spectrum search ./my-repo.specpack "authentication middleware" --top 5 --json
spectrum verify ./my-repo.specpack --json

Why It Exists

Most retrieval systems store raw chunks and build a separate index. Spectrum tests a different architecture: the compact artifact and the retrieval representation can be the same thing.

What It Preserves

Packs are deterministic and lossless, so selected context can be hydrated back into exact source rather than approximate snippets.

Where It Fits

Spectrum is aimed at AI agent memory, codebase retrieval, local RAG, compact searchable archives, and exact source reconstruction.

Current Benchmark Signal

Large-corpus serving profile

Corpus
72,601 documents
Raw bytes
1.03 GB
Compact store
0.3585x raw
Serving footprint
0.4882x raw
MRR
0.8625
Recall@5
0.8750
Avg E2E
4.78 ms
P95 E2E
6.35 ms