Skip to main content

FUSE filesystem for Knowledge Graph - mount your knowledge graph as a filesystem

Reason this release was yanked:

out of date application state

Project description

Knowledge Graph FUSE Driver

Mount the knowledge graph as a filesystem.

Installation

Prerequisites

System FUSE library (required):

sudo pacman -S fuse3       # Arch
sudo apt install fuse3     # Debian/Ubuntu
sudo dnf install fuse3     # Fedora

kg CLI (for OAuth setup):

npm install -g @aaronsb/kg-cli

Install kg-fuse

pipx install kg-fuse

Upgrade

pipx upgrade kg-fuse

Setup

Create OAuth credentials (one-time):

kg oauth create --for fuse

This writes credentials to ~/.config/kg-fuse/config.toml.

Usage

# Mount (reads credentials from config)
kg-fuse /mnt/knowledge

# Or run in foreground for debugging
kg-fuse /mnt/knowledge -f

Unmount:

fusermount -u /mnt/knowledge
# or just Ctrl+C if running in foreground

Manual Credentials

You can also pass credentials directly:

kg-fuse /mnt/knowledge \
  --api-url https://kg.example.com/api \
  --client-id YOUR_CLIENT_ID \
  --client-secret YOUR_SECRET

Filesystem Structure

/mnt/knowledge/
├── ontology-a/          # Each ontology is a directory
│   ├── doc1.md          # Documents in that ontology
│   └── doc2.md
└── ontology-b/
    └── doc3.md

Read: Browse Documents

ls /mnt/knowledge/                    # List ontologies
ls /mnt/knowledge/my-ontology/        # List documents
cat /mnt/knowledge/my-ontology/doc.md # Read document

Write: Ingest Documents (future)

cp report.pdf /mnt/knowledge/my-ontology/
# File "disappears" into ingestion pipeline
# Creates job, extracts concepts, links to graph

Debug Mode

kg-fuse /mnt/knowledge --debug -f

Architecture

The FUSE driver is an independent client that:

  • Authenticates via OAuth (like CLI, MCP server)
  • Makes HTTP requests to the API server
  • Caches directory listings (30s TTL)
  • Defaults to localhost:8000 if unconfigured (fail-safe: won't accidentally query external endpoints)

See ADR-069 for full design rationale.

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

kg_fuse-0.3.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

kg_fuse-0.3.0-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file kg_fuse-0.3.0.tar.gz.

File metadata

  • Download URL: kg_fuse-0.3.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for kg_fuse-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0b4ee73f2ff600ca4941dcbc9fce1862f14d043080285baa1aabe3bb7494703f
MD5 0052e2af9b2734e7c2db7e6856cb8a6d
BLAKE2b-256 8c01a3b10faf0f663bb7070ce00b98f963b573b8a10de3c1e4b711a8b489b5f4

See more details on using hashes here.

File details

Details for the file kg_fuse-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: kg_fuse-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for kg_fuse-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4f82f41a0726afc43194bc5b159df563dabaf74baf4149094dcb3a99f559f2f
MD5 7c0918afb51c27ba70fb89e6bf791736
BLAKE2b-256 55f455dbd9c41d14e6016234d7b1ca196449db36e5ad4818aa7bcaeaeb62f1e9

See more details on using hashes here.

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