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

Uploaded CPython 3.8+Windows x86-64

phorvec-0.1.6-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.6-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.6-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: phorvec-0.1.6-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.6-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 415664a9a79a1e8bb0c712ea0ce722ad5e2706e59517201b43be284348947ac7
MD5 b861b8e5a33f907b80fc84c6caaae640
BLAKE2b-256 949e229df909b28f9bd08e4cfec3ccbdccecf2bb7fde4eb69d2580d17008e9cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phorvec-0.1.6-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0f745694f7777197d528e95004ecc1214fe300bd3c61af4e2eb93855121019f3
MD5 35263fdd9b7e506f59a449601248c94f
BLAKE2b-256 83d1ac7c4ccf7fc098374df5135b000c57fbaa49f027c3df93e200d57ff6fe50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phorvec-0.1.6-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a9968e2c34dc2fd084cfa77a872200ff8051e04622a36ae1753bc0b050cff79a
MD5 1f470ddee98384978aa08c6c14cd3582
BLAKE2b-256 829eceee5039fa1f5f7bf576eaa2eddf481e24be3026fedeba22011c39e932f9

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.8

3 files

This release

0.1.6 This release

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