Skip to content
Component · Vault

Persistent AI memory
that survives every session.

The local SQLite memory server at the core of Korva.

Vault is the foundation of Korva: a local server that stores everything your AI learns — architectural decisions, resolved incidents, recurring patterns — and surfaces the relevant pieces automatically at the start of every session.

The problem Vault solves

Every AI session starts from zero. The decision your team made last month, the bug that took three days to fix, the pattern a senior engineer established — none of it carries over. Vault makes that knowledge permanent and instantly retrievable.

What Vault does

Persistent observations

Decisions, incidents, patterns and learnings stored as ULID-keyed records in a local SQLite database — never lost between sessions.

Full-text search (FTS5)

Millisecond search across your entire history. The AI calls vault_search and vault_context to load only what is relevant to the current task.

Automatic context injection

At session start, vault_context loads recent observations, the active SDD phase and matching team skills — no manual briefing required.

Privacy filter at the boundary

Every observation passes a default-deny filter that strips passwords, tokens and secrets before anything is written to disk.

Vault in a session

korva-vault — MCP over stdio
$ korva vault start
→ vault listening on :7437  (PID 18204)

# Your AI, at session start:
vault_context({ project: "payments" })
→ 89 observations loaded
→ sdd_phase: "apply"
→ "Incident: direct DB write caused prod outage (Jun)"

Vault at a glance

  • 46 MCP tools across 8 groups
  • SQLite + FTS5 — pure Go, no CGO
  • Runs locally on port 7437
  • ULID-keyed observations
  • 127 REST endpoints for tooling
Related commands
korva vault startkorva obs search <query>korva vault status

Give your AI a memory

Install Korva and the Vault server starts automatically — 30 seconds, no cloud account.

Install in 30 seconds