Skip to main content

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

License

Apache 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seekvfs-0.1.0.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seekvfs-0.1.0-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

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

Hashes for seekvfs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6b2d452c9f326d54179ba84e93bef0db704504458a54668939d96e2d5b4692d3
MD5 ab0b248321505603fc5e74766bda6c89
BLAKE2b-256 a782a007005c01276c1d45666e5123a52c76a8b5e1b64ee866e95ef3b266cdc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for seekvfs-0.1.0.tar.gz:

Publisher: release.yml on ob-labs/seekvfs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for seekvfs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88d496858eb6c0d2a02038c533f430de61afe17c30406b0e172b167c08037356
MD5 d2c930b32aa7254ab22ff1601267fe3b
BLAKE2b-256 6953748db6f0fd8f3e809263f37f35f2a08293c8a305a742cc40c37dc3afb2dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for seekvfs-0.1.0-py3-none-any.whl:

Publisher: release.yml on ob-labs/seekvfs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page