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 installs and runs everywhere, falling back to CPU when the GPU cannot be used — whether there is no NVIDIA card, no CUDA toolkit, or an unsupported driver. GPU acceleration additionally needs an NVIDIA GPU of compute capability 7.0 or newer plus the CUDA runtime libraries (cudart, cublas, curand); the driver alone is not sufficient. 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.
Metadata
Release files for seraph-db 0.3.1
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 |
|---|---|---|---|---|
| seraph_db-0.3.1-cp38-abi3-win_amd64.whl | CPython 3.8 | abi3 | Windows x86-64 | Details |
| seraph_db-0.3.1-cp38-abi3-manylinux2014_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.17+ x86-64 | Details |
Total release size: 14.0 MB
Release files / seraph_db-0.3.1-cp38-abi3-win_amd64.whl
| Download URL | seraph_db-0.3.1-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 6.6 MB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
2ce4e5e43d49a8bbc868da92ff3d9ae86a5f52b6697e8a8c04cae60a35100c30
|
|
BLAKE2b-256 checksum How to use checksums |
8adfb1f42efad7e1326c532f9f11807b8beb31cf4dd512302d66c845a211c379
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / seraph_db-0.3.1-cp38-abi3-manylinux2014_x86_64.whl
| Download URL | seraph_db-0.3.1-cp38-abi3-manylinux2014_x86_64.whl |
|---|---|
| Size | 7.4 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
f4c4b072bd06ea6ddeca16b6cc635f72f525af836e71b2868df7b79c3ac6f8bf
|
|
BLAKE2b-256 checksum How to use checksums |
ab1db67fae0dd27a78cd16a86635766da868abfa858500ca9fe6c34b01859e75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for seraph-db 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.