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

Uploaded CPython 3.8+Windows x86-64

phorvec-0.1.8-cp38-abi3-manylinux_2_28_x86_64.whl (16.2 MB view details)

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

phorvec-0.1.8-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.8-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: phorvec-0.1.8-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 15.7 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.8-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0c6dd1bd950f61c58aa018a04eceeb6146d88ea356c1e1f9b6c23653e99cb979
MD5 814e9707ee1376d8a46b6c717e21081d
BLAKE2b-256 1c9041291c15ef175d7aa72a40c8eca5feeeb8ee9ac8a801056642dd87532292

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phorvec-0.1.8-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3adab6bd1094e50cbb178cdc478b72d6bfa001289de37f6d17753a7fc0586630
MD5 a5af208b78a7f87de56c96b391e4c082
BLAKE2b-256 7fc3ff04271dfcd67bc4d96964117019517ee352b21638d50963145ce798d3d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phorvec-0.1.8-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7fbf0531733eff9156c24f97632055f39e169adfb60a99fc58a908f85f4ef780
MD5 03d81e80d9301e4c4f60275ea8d7ea9b
BLAKE2b-256 5a600a4879282f91237ee4cfa4342eb4648df1dab89b066d3936334c6b2ef00f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.8 This release

3 files

0.1.6

3 files

0.1.5

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