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.5-cp38-abi3-win_amd64.whl (15.6 MB view details)

Uploaded CPython 3.8+Windows x86-64

phorvec-0.1.5-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.5-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.5-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: phorvec-0.1.5-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.5-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 35a69de98def74f8f8fa424edaa75e6d60095c21b5cafd5db428e0f929cbe868
MD5 d16d8a90ff679ee47b17a4eebc49d73d
BLAKE2b-256 ff38c1c44570a7a7e6eaa7451aa44ced8af2f62cfef5455e0f0fd2dd5ea34993

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phorvec-0.1.5-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3c4b85789752c72375a28025353fcbd5fc2409dda0fa8721a7c7f8bf440b3a21
MD5 450fe1271ba51c4ec8e69e6840ffcc93
BLAKE2b-256 69da8c6168e191662b77d54a23e989f2d31b94ed7459cc4ab4a58dca349c8e22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phorvec-0.1.5-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3c95d527010f57a5236816a661571c4f84f451f1d5e0b2d316e7ead273c84118
MD5 5e7c421bc0beaa128b9aa697a286bc98
BLAKE2b-256 fe03c2a3d750757968b39057027f7f8ccaa35b5170adc88a705c889e9c7a1cb9

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.8

3 files

0.1.6

3 files

This release

0.1.5 This release

3 files

0.1.4

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