Vesma — standalone memory & knowledge server for AI agents (Vesmaro Project)
pip install vesma==6.0.0 Copy PIP instructions
A memory & knowledge server for AI agents named after the Vesper of memory, built for AI agents that need to remember
Quick start · Features · What it is · Connect a harness · Architecture · Docs
Four commands from an empty machine to a running, self-checking service with an agent that remembers — all driven by the vesma utility.
pip install vesma One package, everything included: the memory server, the vesma CLI, the REST API, and the MCP server your agent harness talks to. The embedding model ships inside — search works fully offline, no API keys, nothing downloaded.
Other channels: uv tool install vesma / pipx install vesma (isolated), npm install -g @vesmaro/vesma (npm), or the prebuilt image below.
⚠️ Names. The product and the CLI are vesma (pip install vesma, PyPI slot project/vesma). The pre-rebrand packages remain live until deprecation: pip install mnemos-memory-server installs the same server under the legacy name, and vesma-memory-server is our live mirror alias. The bare pip install vesma slot is ours — it is the primary channel.
The same server ships as a public image (ghcr.io/vesmaro/vesma) — pull and run: no build, no login. Full guides live in the admin docs.
helm install vesma deploy/helm/vesma \ --namespace vesma --create-namespace \ --set auth.totpMasterKey="$(openssl rand -hex 32)" \ --set ingress.className=traefik \ --set 'ingress.hosts[0].host=vesma.example.com' kubectl -n vesma rollout status deploy/vesma K3s ships Traefik and local-path storage, so the commands work as-is — chart, values and TLS setup: Kubernetes deployment.
cd deploy/docker cp .env.example .env # put your TOTP_MASTER_KEY=$(openssl rand -hex 32) inside docker compose up -d # podman-compose works too curl -fsS http://localhost:8787/health # → {"status":"ok"} Full guide: container deployment.
# systemd user service (preferred for a long-running host) # legacy-named asset — unit file stays vesma.container until the deploy wave renames it cp deploy/podman/quadlet/vesma.container ~/.config/containers/systemd/ # add the TOTP key to ~/.vesma.env (both env spellings), then: podman pull ghcr.io/vesmaro/vesma:4.3.0 # контейнерные образы публикуются по LTS; кодовая линия 5.x — сначала PyPI/npm # container images publish per-LTS; the 5.x code line is PyPI/npm-first # quadlet derives the unit name from the file name — the unit is vesma.service for now systemctl --user daemon-reload && systemctl --user start vesma curl -fsS http://localhost:8787/health Both Podman recipes (quadlet + podman kube play): deploy/podman/README.md · full guide: container deployment.
vesma service install systemctl --user enable --now vesma.service install packs the component manifests, data dirs, venvs and the systemd user unit (idempotent — re-running regenerates the artifacts; manual venv creation is not part of any workflow). vesma service run starts the supervisor in the foreground when systemd is not available. Check the live state with vesma service status and vesma service health.
vesma integration setup One pass: detects the agent harnesses on your machine, registers the Vesma MCP server in each supported one (VS Code Copilot, Cursor, ZCode, OpenCode, pi, Hermes, and everything reading the ~/.agents standard — Claude Code, Codex and friends), and deploys the behavioral pack — always-on instructions and memory skills, so the agent recalls at session start, checkpoints before its context gets compacted, and treats memory as a priority instead of forgetting the tools exist.
Manual MCP registration is cancelled — the utility is the only path. Running a harness that reads nothing standard? One paste block per harness: Connect Vesma to any harness.
vesma doctor PASS / WARN / FAIL per check: store, config, MCP transport, harness registration (vesma doctor fix repairs the common warnings; vesma doctor service audits the service installation against the layout contract). Then give it a memory:
vesma add "First memory — Vesma remembers across sessions" \ --tags project:vesma,agent:me,vesma:learning vesma search "remembers across sessions" That is the whole loop: write, find, never lose it — and the agent knows when to look.
📘 Want every detail? The extended guide covers the full lifecycle — all install variants (uv tool, pipx, npm, container), service deployment, per-harness connection, updates and the update timer, cleanup of legacy installations, configuration, and troubleshooting: Getting Started — the complete lifecycle.
One local server — and a connected agent harness gets the full memory stack.
Autonomy for an arbitrary harness and LLM-driven enrichment are partial — the full, honest map lives in docs/en/features.md.
A single-tenant, local-first memory server for AI agents. One in-process core, three equivalent control surfaces, and a storage layer you can read with your own eyes.
SQLite for metadata, a local numpy + SQLite vector index for recall, and an Obsidian-compatible vault for the humans in the loop.
Where this is going. The shipped, measured rung is stores and finds. The next rungs — collapse with checks (session → project → cross-project synthesis: automatic by default, but never unconditional in authority — every derivative traces back to its sources, nothing pins without an operator) and, later, builds understanding — open only as pre-registered experiments prove them (ADR-0025). The invariant on that road is zero silent losses: a fact is either retained, or its loss is visible. And the shape of the ambition is a nervous system, not a conductor — memory that surfaces the right thing at the right moment, never one that conducts the agent.
Vesma works with every MCP-capable agent harness. Three integration levels — pick the strongest one your harness supports:
The shared contract is the tag schema — project: , agent: , and at least one vesma: (tag namespace — unchanged wire contract) — that every memory entry must carry.
flowchart TB subgraph CLIENTS["Clients"] C1(["Agent harness\nstdio MCP"]) C2(["CLI — vesma …"]) C3(["HTTP API client"]) end subgraph IFACE["Interface Layer"] MCP["mcp_server.py"] FAPI["api/main.py · FastAPI"] TYPER["cli/main.py · Typer"] end MGR(["MemoryManager\nmanager.py"]) subgraph PROC["Processing Subsystems"] CF["Context Filter\nfilter/"] PP["Knowledge Pipeline\npipeline/"] RE["Recall Engine\nrecall/"] PE["Policy Engine\npolicy/"] end subgraph BG["Background Services"] WA["Watchers\nwatchers/"] AC["Auto-collect\nauto_collect.py"] end subgraph STORE["Storage Layer"] SQ[("SQLite\nFTS5 · traces · projects")] VS[("Vector Store\nnumpy + SQLite")] VLT[("Obsidian Vault\nmarkdown mirror")] end C1 -->|"stdio"| MCP C2 --> TYPER C3 --> FAPI MCP --> MGR TYPER --> MGR FAPI --> MGR MGR --> CF MGR --> PP MGR --> RE MGR --> SQ MGR --> VS MGR --> VLT CF -.->|"raw + clean"| SQ PP -->|"status transitions"| SQ PP -->|"published upsert"| VS RE -->|"FTS5 MATCH"| SQ RE -->|"cosine search"| VS PE -->|"schedule / trigger"| MGR WA -->|"file events"| MGR AC -.->|"checkpoint reminder"| MCP A deeper walkthrough — data model, state machines, security boundaries, operational concerns — lives in architecture/overview.md.
The same MemoryManager powers all three interfaces. Pick the one that fits your client.
The HTTP surface also exposes the A2A Sessions API — a persistent backend for multi-step agent conversations that survive restarts. See a2a-sessions.md.
Vesma carries one task: to make remembering possible for the things that think. AI agents, unmoored from any single conversation, lose everything that came before. Vesma gives them a place to lay it down — structured, searchable, governed by contract — so that what they learn does not vanish with the closing of a session. The Muses, after all, were not for the gods' benefit. They were for the songs.
Apache-2.0 — see LICENSE and NOTICE. Source: github.com/vesmaro/vesma.
Contributions are welcome — CONTRIBUTING.md has the development setup, the branch and commit conventions, and the quality gate a change must pass.
Этот проект подключён к общему кластерному конвейеру релизов (Korrnals/release-pipeline, K3s abyss-ai-agent, namespace release-pipeline). GitHub Actions не используется (биллинг аккаунта заблокирован) — конвейер и есть штатный путь релизов. Релизный артефакт подписывается трёхслойно: SHA256 → SBOM → cosign → GPG.
helm upgrade --install release-pipeline \ ~/LABs/Projects/Project-Umbra/release-pipeline/chart/release-pipeline \ --kube-context abyss-ai-agent -n release-pipeline \ -f ~/.cache/release-pipeline-values.yaml Наблюдение: kubectl --context abyss-ai-agent -n release-pipeline get jobs, логи: kubectl ... logs -f job/release- - . Подробности (типы проектов, kaniko-контейнеры, teardown): README конвейера.
all anthropic azure dev docx gemini mcp ollama openai openvino pdf sentence-transformers training
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




