Install or update
npm install -g spectrumstore@latest
spectrum doctor
Spectrum Store Developer Preview
Install the CLI, run the guided walkthrough, and get a compact
lossless .specpack served through a local HTTP API for
agents, apps, and RAG workflows.
npm install -g spectrumstore
spectrum load
Turnkey Install
spectrum load checks the install, packs your repo,
verifies the output, and starts the local Spectrum HTTP API. Use
spectrum demo from the legacy benchmark CLI when you
want the full retrieval comparison walkthrough.
npm install -g spectrumstore
spectrum load ./my-repo ./my-repo.specpack --yes
# Local API
curl http://127.0.0.1:7777/health
curl http://127.0.0.1:7777/packs
Spectrum Hub
Spectrum Hub wraps the project workflow into simple guided commands
for building, appending, serving, and verifying local
.specpack stores. It helps an AI agent start from the
live project API instead of guessing from loose files: discover the
running pack, read the manifest, pull agent context, check ops
readiness, search for the right note, and hydrate exact source only
when it is needed.
In practice that gives agents like Codex a cleaner workflow: project rules, deployment facts, SSH policy, and safety flags travel inside the pack, while the local HTTP API exposes the same authoritative context to every tool in the loop.
spectrum hub -bBuild a portable pack.spectrum hub -aAppend new project context.spectrum hub -sServe the pack locally.spectrum hub -vVerify running APIs and agent URLs.Desktop App
The desktop build packages the guided Spectrum Hub workflow into
native Windows and macOS installers. Create or open a .specpack,
run the local project server without a terminal window, open the
dashboard, and append documents by drag and drop.
The Linux desktop build is on the way. For now, Linux users can use the npm CLI and local HTTP API.
Linux And CLI Users
Use the npm package directly when you want a terminal-first workflow for plain packs, encrypted packs, local serving, appends, restores, and automation.
npm install -g spectrumstore@latest
spectrum doctor
spectrum pack ./my-project ./my-project.specpack --json
spectrum serve ./my-project.specpack --port 7777
http://127.0.0.1:7777/health
http://127.0.0.1:7777/packs
http://127.0.0.1:7777/projects/repo/context
spectrum pack ./my-project ./my-project.specpack --encrypt --hint "non-secret reminder"
You will be prompted for a passphrase and confirmation.
spectrum inspect ./my-project.specpack
spectrum verify ./my-project.specpack --unlock
spectrum index ./my-project.specpack --unlock --embed
spectrum search ./my-project.specpack "deploy nginx ssh" --unlock
spectrum serve ./my-project.specpack --unlock --port 7777
spectrum append ./my-project.specpack ./new-notes --replace --all
spectrum index ./my-project.specpack --embed
spectrum append ./my-project.specpack ./new-notes --replace --all --unlock
spectrum index ./my-project.specpack --embed --unlock
spectrum unpack ./my-project.specpack ./restored
spectrum unpack ./my-project.specpack ./restored --unlock
spectrum project init ./my-project ./my-project.specpack --name "My Project"
spectrum project serve ./my-project.specpack --port 7777
spectrum project init ./my-project ./my-project.specpack --name "My Project" --encrypt --hint "non-secret reminder"
spectrum project serve ./my-project.specpack --unlock --port 7777
For scripts or servers only:
export SPECTRUM_PASSPHRASE="your passphrase"
spectrum serve ./my-project.specpack --unlock --port 7777
Prefer interactive prompts for normal use; environment variables can leak through shell history, process environments, or logs.
The compressed pack and retrieval representation are designed to travel together, instead of keeping raw chunks and a separate search store as the source of truth.
Packs are deterministic and lossless, so selected context can hydrate back into byte-for-byte source rather than approximate snippets.
Serve a pack locally, search it over HTTP, and give agents exact code context without shipping your repo to a hosted vector store.
Developer Flow
127.0.0.1:7777.Current Benchmark Signal