Skip to main content

SERAPH

A geometric substrate for structured knowledge.

SERAPH is a storage and retrieval engine that organizes content through emergent geometric structure rather than explicit schemas. It provides cryptographic provenance, semantic search, and chain-of-custody guarantees from genesis to tip.


Install

pip install seraph-db

The wheel includes the full engine with GPU-accelerated encoding (candle + CUDA). It automatically falls back to CPU when no NVIDIA GPU is present — works everywhere, accelerates when it can. For maximum encoder throughput, see seraph-db-onnx.

Quick Start

1. Activate Your License

A license is required before the engine will accept operations:

# Browser-based (opens your default browser)
seraph license activate

# Headless (email verification with 6-digit code)
seraph license activate --email you@company.com

2. Verify

seraph license status

3. Use

import seraph

cfg = seraph.StoreConfig(model_id="BAAI/bge-small-en-v1.5")
store = seraph.SeraphStore.create("my_store.sfg", cfg)

text = "The quick brown fox jumps over the lazy dog."
store.put(text.encode(), store.encode(text))    # content bytes + embedding

for hit in store.search_text("fast animal"):     # text query, encodes internally
    print(f"{hit.score:.3f}  {hit.snippet}")

store.close()

What's Included

The seraph-db wheel contains:

Component Description
seraph Python module Compiled Rust extension (PyO3) with GPU-accelerated encoder
seraph CLI License management and store utilities

The CLI is installed as a console entry point — run seraph --help after install.

Variants

Package Backend Best for
seraph-db (this package) candle + CUDA (CPU fallback) Universal — GPU when available, CPU otherwise
seraph-db-onnx ONNX Runtime CUDA EP Maximum encoder throughput (~3x faster)

All variants expose the same API. Platform-specific archives with bundled runtimes are also available from GitHub Releases.

API Reference

Full API documentation:


CLI Reference

seraph license activate              Activate a free license (opens browser)
seraph license activate --email E    Headless activation via email verification
seraph license install [path]        Install a license file
seraph license status                Show current license details

Licensing

SERAPH is proprietary software licensed by Tree D Interactive LLC.

Tier Eligibility Fee Scope
Free Annual revenue under $500K $0 Development, evaluation, prototyping, non-commercial research. No production deployment.
Commercial Annual revenue $500K+ $10,000/year Production deployment on your own infrastructure. No multi-tenant SaaS, white-label, or redistribution.
Enterprise Multi-tenant SaaS, embedded redistribution, third-party deployment Contact us Per Order Form.

See the License Agreement and Pricing Schedule for full terms.

For licensing inquiries: licensing@tree-d-interactive.net


Support

  • Free & Commercial: GitHub Issues on this repository
  • Enterprise: Direct support channel per agreement

Copyright (c) 2025-2026 Tree D Interactive LLC. All rights reserved.

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.

seraph_db-0.2.7-cp38-abi3-win_amd64.whl (6.5 MB view details)

Uploaded CPython 3.8+Windows x86-64

seraph_db-0.2.7-cp38-abi3-manylinux2014_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.8+

File details

Details for the file seraph_db-0.2.7-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: seraph_db-0.2.7-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 6.5 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for seraph_db-0.2.7-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 21bb8933055f8aa94a67e834c81521b7654b4ef789f7c43b4706699172143342
MD5 2829cba42e63a6b79c7264d00b5beb43
BLAKE2b-256 d5dba2378b371c09be286cab08fca12ba5c5a39b007e1418b0d6dcb537c01540

See more details on using hashes here.

File details

Details for the file seraph_db-0.2.7-cp38-abi3-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for seraph_db-0.2.7-cp38-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7570d8230cca7f6d8b95de5c0e6c1112c45c1eb05d3e83f21889fe024949a646
MD5 2cc0c3f44fd25bb9bc9f366bf66f032a
BLAKE2b-256 6359fff0bf6f0630c776e1092d7c71c6a9ba7da45abe3a500e8833f0f83df993

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.8

2 files

This release

0.2.7 This release

2 files

0.2.6

2 files

0.2.5

2 files

0.2.1

2 files

0.2.0

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 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