Skip to main content

Phorvec

Persistent vector memory for AI agents. One file per agent, MCP-native, local-first.

What is Phorvec?

Phorvec is an embedded vector database designed for multi-agent AI systems. Each AI agent gets its own isolated .avdb database file with vector search, key-value storage, and a knowledge graph — all accessible through the Model Context Protocol (MCP).

Key Features

  • One-file-per-agent architecture (.avdb files) — portable, isolated, no shared state
  • MCP-native — works with Claude Code, Cursor, Windsurf, Cline, and any MCP client
  • 150+ tools — context persistence, semantic search, team memory, conflict detection, skill library
  • Local-first — all data stays on your machine, zero cloud dependency
  • Hybrid search — vector similarity + BM25 keyword search with RRF fusion
  • Knowledge graph — entity and relationship tracking across sessions
  • Compression — PCA spine+delta encoding for storage efficiency

Quick Start

Install

pip install phorvec

Configure with Claude Code

Add to your Claude Code MCP settings:

{
  "mcpServers": {
    "phorvec": {
      "command": "phorvec",
      "args": []
    }
  }
}

Configure with Cursor / Windsurf

Add to your MCP configuration:

{
  "mcpServers": {
    "phorvec": {
      "command": "phorvec",
      "args": [],
      "transport": "stdio"
    }
  }
}

Use phorvec in your code (Python)

pip install phorvec
from phorvec import Memory
with Memory.open("./agent-memory", agent_id="assistant-1") as mem:
    mem.store("The user prefers metric units")
    for h in mem.recall("what units?", top_k=5):
        print(h.score, h.content)

pip install phorvec is the free (Community) library + the phorvec MCP CLI. Team/enterprise features (the phorvec.Team API) ship in the paid wheel from your account dashboard.

Architecture

Nexus (nexus.json)       — Central registry mapping agent IDs to file paths
    |
HandleManager            — LRU cache of open agent databases (default cap: 500)
    |
AgentDB (.avdb)          — Per-agent database with vector storage + KV store + graph

Configuration

Phorvec uses a TOML config file at ~/.phorvec/config.toml. The server runs with sensible defaults — no config file required.

Environment Variables

Variable Description
PHORVEC_LOG_LEVEL Log level (default: info)
PHORVEC_DATA_DIR Data directory (default: ~/.phorvec/data)
PHORVEC_STORAGE_BACKEND Storage backend: lancedb or lite

License

Proprietary. Copyright (c) 2026 Teressoft. All rights reserved.

The source code in this repository is closed and not licensed for redistribution. See LICENSE for the terms.

Use of the distributed phorvec binary (free Community tier or any paid tier) is governed by the End User License Agreement at https://phorvec.com/terms.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

phorvec-0.1.4-cp38-abi3-win_amd64.whl (15.6 MB view details)

Uploaded CPython 3.8+Windows x86-64

phorvec-0.1.4-cp38-abi3-manylinux_2_28_x86_64.whl (16.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ x86-64

phorvec-0.1.4-cp38-abi3-macosx_11_0_arm64.whl (14.4 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file phorvec-0.1.4-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: phorvec-0.1.4-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 15.6 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.14.1

File hashes

Hashes for phorvec-0.1.4-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 583e03203aee3e10d3fc3a0c4ed291f4b58dc3a765c1d427119a5ecef3b7e6f8
MD5 2d3686778c811466a00a906cc42b68e3
BLAKE2b-256 9dc6c797859af2ed310b4596bd346bd7e7be902c6f97c2d4215da5709bec09c2

See more details on using hashes here.

File details

Details for the file phorvec-0.1.4-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for phorvec-0.1.4-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ec937656d0c4fa5333082f3392fd9e9acb650108f798ff52ed73885d6b054e9
MD5 30ef048bf27dc174d98205b826e70b2a
BLAKE2b-256 ffc1f507664dec092e863bfaf0259aa4d11216c55c5f73535c0996dfbce87298

See more details on using hashes here.

File details

Details for the file phorvec-0.1.4-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for phorvec-0.1.4-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e4e237baa6ebd0a9c0f014da7304430320b4f23e37f96f8f1b978486706eb3d
MD5 979fa5f54043079c2ad4c49de662caff
BLAKE2b-256 fbea26a53d88fbecb89665851289c169ad2848698ab993b3015103abc85b9418

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.8

3 files

0.1.6

3 files

0.1.5

3 files

This release

0.1.4 This release

3 files

0.1.3

3 files

0.1.2

3 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page