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

Uploaded CPython 3.8+Windows x86-64

phorvec-0.1.3-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.3-cp38-abi3-macosx_11_0_arm64.whl (14.5 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: phorvec-0.1.3-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.3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 70ce52e911c7c46b88fda2af7f28378366dee721d74c9c6d556660a0e181d26e
MD5 ac2c494350f0b3c37c011ea2a94a8fb9
BLAKE2b-256 a9afce0e00c634b60ec2623d3e417b904927c2f4b23db0d78f4466dae7d4c5fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phorvec-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 184b09dcde0364915c73dc939a2c6708b6f9b13821890d23f4b7ca5afcf3f64f
MD5 445f269ebb6c587f105309e38bf5c039
BLAKE2b-256 94ee5a71dbb80396416479dcd701f16ba132b3b095f1c96fd8a5a5c8d4542753

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phorvec-0.1.3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d0b7198eee33b4e80d1eeb94a03dfa8f43cb8cb1df6173c7bcf1c21e2ec84091
MD5 1b3bb47f563c6f2b2b074b30704c9733
BLAKE2b-256 ac3ac1f589d1df0fdaea56c564b079d90b5471d21b8f16a52b8d1c9e86a8a9d8

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

0.1.4

3 files

This release

0.1.3 This release

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