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 (
.avdbfiles) — 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.
Metadata
Release files for phorvec 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| phorvec-0.1.9-cp38-abi3-win_amd64.whl | CPython 3.8 | abi3 | Windows x86-64 | Details |
| phorvec-0.1.9-cp38-abi3-manylinux_2_28_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| phorvec-0.1.9-cp38-abi3-macosx_11_0_arm64.whl | CPython 3.8 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 46.2 MB
Release files / phorvec-0.1.9-cp38-abi3-win_amd64.whl
| Download URL | phorvec-0.1.9-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 15.6 MB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
97d51e4871ec52bdf7c01cd52c7c5827bc2b8bdc774152fa3bcf5f640b0dab35
|
|
BLAKE2b-256 checksum How to use checksums |
fb432c9f2ac5e712622e6e59cf811d9b9cc26b943677bd0cdf0ef4a09e07243e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / phorvec-0.1.9-cp38-abi3-manylinux_2_28_x86_64.whl
| Download URL | phorvec-0.1.9-cp38-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 16.1 MB |
| Tags | CPython 3.8 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
1039d25188b088976de73f4f8b9cd320db2c0536b20878c90486408dc27fde2f
|
|
BLAKE2b-256 checksum How to use checksums |
3a07b25a38cd7f02dc108ab8a3251024fe6dc71134e95661b6ad610b6e2918f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / phorvec-0.1.9-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | phorvec-0.1.9-cp38-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 14.5 MB |
| Tags | CPython 3.8 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8a5676e935bfa2fb237467c8aa7465b91f58aebe8f6ba2e5841db4a8f4ed58dd
|
|
BLAKE2b-256 checksum How to use checksums |
dbdf4ec7c192fedd11eba2380f811d91eb6ebb9fe1db5a965eeac1a6f74b4bb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|