A protocol-level unified VFS for AI agents with L0/L1/L2 tiered storage.
Project description
seekvfs
English | 简体中文
seekvfs is a virtual file system interface for AI agents. It lets you assign different URI prefixes to different storage backends and expose them through a single file interface. The core package only handles URI normalization, prefix-based routing, cross-backend search merging, and agent tool export. Storage layout, indexing, summaries, embeddings, and other implementation details are left to the backend.
Install
Requires Python 3.11+.
pip install seekvfs
For the full built-in integrations:
pip install "seekvfs[full]"
Quickstart
from seekvfs import VFS
from seekvfs_recipes.minimal import FileBackend
vfs = VFS(
routes={
"seekvfs://notes/": {
"backend": FileBackend("/data/agent_notes"),
},
}
)
vfs.write("seekvfs://notes/hello.md", "hello world")
fd = vfs.read("seekvfs://notes/hello.md")
print(fd.content.decode())
for item in vfs.ls("seekvfs://notes/"):
print(item.path, item.size)
The route key can also be written as a bare prefix like notes/; SeekVFS will normalize it to seekvfs://notes/.
More examples: docs/quickstart.md
Tools
vfs.tools returns a neutral set of 8 agent tool specs: search, read, read_full, write, edit, ls, grep, and delete. You can export them to different agent runtimes, including OpenAI, Anthropic, LangGraph, and MCP.
Recipes
| Recipe | Use when | Storage shape | Docs |
|---|---|---|---|
seekvfs_recipes.minimal |
You want the smallest persistent backend | One file per path on local disk | docs/recipes/minimal.md |
seekvfs_recipes.maximal |
You want tiered reads and semantic search | L2 on filesystem, L0/L1 + embeddings in OceanBase | docs/recipes/maximal.md |
You can mix recipes in one VFS by mounting them on different URI prefixes.
Documentation
- Quickstart: docs/quickstart.md
- Minimal recipe: docs/recipes/minimal.md
- Maximal recipe: docs/recipes/maximal.md
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file seekvfs-0.1.0.tar.gz.
File metadata
- Download URL: seekvfs-0.1.0.tar.gz
- Upload date:
- Size: 35.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b2d452c9f326d54179ba84e93bef0db704504458a54668939d96e2d5b4692d3
|
|
| MD5 |
ab0b248321505603fc5e74766bda6c89
|
|
| BLAKE2b-256 |
a782a007005c01276c1d45666e5123a52c76a8b5e1b64ee866e95ef3b266cdc2
|
Provenance
The following attestation bundles were made for seekvfs-0.1.0.tar.gz:
Publisher:
release.yml on ob-labs/seekvfs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
seekvfs-0.1.0.tar.gz -
Subject digest:
6b2d452c9f326d54179ba84e93bef0db704504458a54668939d96e2d5b4692d3 - Sigstore transparency entry: 1392722055
- Sigstore integration time:
-
Permalink:
ob-labs/seekvfs@097f47de7b5639604bf6da1f3058199ac5d240f3 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ob-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@097f47de7b5639604bf6da1f3058199ac5d240f3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file seekvfs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: seekvfs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 42.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88d496858eb6c0d2a02038c533f430de61afe17c30406b0e172b167c08037356
|
|
| MD5 |
d2c930b32aa7254ab22ff1601267fe3b
|
|
| BLAKE2b-256 |
6953748db6f0fd8f3e809263f37f35f2a08293c8a305a742cc40c37dc3afb2dd
|
Provenance
The following attestation bundles were made for seekvfs-0.1.0-py3-none-any.whl:
Publisher:
release.yml on ob-labs/seekvfs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
seekvfs-0.1.0-py3-none-any.whl -
Subject digest:
88d496858eb6c0d2a02038c533f430de61afe17c30406b0e172b167c08037356 - Sigstore transparency entry: 1392722060
- Sigstore integration time:
-
Permalink:
ob-labs/seekvfs@097f47de7b5639604bf6da1f3058199ac5d240f3 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ob-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@097f47de7b5639604bf6da1f3058199ac5d240f3 -
Trigger Event:
push
-
Statement type: