Self-host SPM Personal
Use SPM Personal when you want a local memory service for one owner or project. It runs on your machine, keeps its ports on loopback, and does not use a hosted control plane or an external model for extraction. It is a working slice, not a full hosted-account replacement.
Included components
The Personal edition includes local ingest, extraction, recall, purge, export/import, and a stdio MCP adapter. It also includes a small local page for remembering, recalling, forgetting, and listing sources. The page is at /local; it has no login because the service binds to 127.0.0.1.
The same local API also carries the owner-control and hand-off surfaces: correcting a source with its history, feedback, lessons, session commit and distillation, skills, teams, presence, case artifacts and timelines, and delegated keys confined to a team partition. Correct, rate and promote memory and Teams, presence and hand-off walk through them; the personal_acceptance.sh script exercises every one before a release is published.
Embeddings use the local ONNX bge-small-zh-v1.5 model. The model has 512 dimensions and an MIT license. It is baked into the Personal embedding image, so extraction does not call a hosted model. You can choose the hash backend when image size matters more than recall quality, but that trades quality for size.
Install and start
The CLI is spm-local. Run it from a checkout that contains the Personal compose file, or set SPM_COMPOSE_FILE to that file.
spm-local init
spm-local up
spm-local doctor
init writes a private environment file and local state at ~/.spm/local.json. It keeps existing secrets when state already exists. up starts the separate Personal compose stack. doctor checks the API and embedding health endpoints.
The API defaults to http://127.0.0.1:18000 from a checkout. The published image-only package maps host port SPM_PORT (default 8790) instead. Set SPM_LOCAL_BASE_URL before init when the API uses another address.
All published host ports bind to 127.0.0.1. This protects the default from direct network access, but it is not authentication. Do not publish /local through a proxy unless that proxy adds its own authentication.
Use memory from the CLI
spm-local remember "Our deploy window is Friday at 16:00 UTC."
spm-local recall "When is the deploy window?"
spm-local forget <source_id>
spm-local wipe
recall exits with status 0 only when gate_reason=passed. Any other gate reason is an abstention, so scripts can fail closed instead of treating an unknown answer as success. forget purges one source. wipe purges the selected partition and advances its generation fence, so old source IDs and read tokens stop resolving to the cleared data.
The remaining commands cover local operations:
spm-local export ./bundlewrites a checksummed JSONL bundle.spm-local import ./bundle --partition repo-otherverifies checksums before loading data.spm-local reindexre-ingests sources under the current embedding space.spm-local mcpstarts the stdio MCP server for clients such as Claude Code or Cursor.- Read
base_urlandinternal_tokenfrom~/.spm/local.jsonwhen an npm shim needs the HTTP endpoint;initwrites both.
The API also exposes /mcp for HTTP-only clients. The stdio adapter reads ~/.spm/local.json; set SPM_LOCAL_STATE to use another state file.
How local mode differs from hosted SPM
Set SPM_DEPLOYMENT_PROFILE=local and SPM_PLAN_AUTHORITY=local. These settings keep plan and tenant decisions in the data plane. The stack does not need the hosted billing control plane, Supabase, or Stripe.
The local plan is local_community. It has no storage cap and allows 120 requests per minute. Personal mode uses one local tenant and one owner. It does not provide hosted account management or seat counting.
For HTTP authentication details and key scope guidance, see Authentication. A local setup still uses generated local secrets between its services. Treat the state file and environment file as private.
Distribution and limits
Release images are published as digest-pinned tags:
ghcr.io/veridicaltech/spm-personal:<tag>
ghcr.io/veridicaltech/spm-personal-embed:<tag>
The multi-architecture images do not include arm64 yet. Deployment assets and the Umbrel package are in the public spm-lite repository. The image-only compose file is its source copy.
The Personal edition has no account teardown across generations and no Personal-edition license yet. Its vector store uses Postgres with pgvector. The span index is still a no-op, and paraphrases without a shared term may refuse. Local mode is not a guarantee of hosted-quality recall.
Run scripts/personal_acceptance.sh to check positive and negative recall, restart behavior, export/import, and purge against a throwaway partition. It removes the stack afterward unless you set KEEP=1.
For a local agent that owns channels and scheduling, see Personal-agent harnesses. SPM supplies the memory boundary; the harness supplies the agent experience.