Superbrain Fabric Python SDK (V5.1) 🧠✨
Superbrain Fabric is a high-performance, distributed cognitive RAM fabric. This SDK allows your AI agents to treat memory as an active, self-reflecting participant in their reasoning loops.
💎 The Soul Expansion (V5.1 Breakthroughs)
V5.1 transitions Superbrain Fabric from a fast storage layer into a Cognitive Organism.
📉 Layered Cognitive Compression (LCC)
Achieve 11-38x token reduction before hit the network.
- Level 1 (Deterministic): Prunes structural noise (HTML/JSON boilerplate).
- Level 2 (Semantic): Prevents redundant writes via Jaccard-deduplication.
- Level 3 (Extractive): Consolidates long contexts into extractive summaries.
🕰️ Memory History (The Hippocampus)
100% auditable lineage. Retrieve the full versioned history of any memory block to understand why an agent modified a belief.
🕸️ Knowledge Graph (The Cortical Mesh)
Distributed relational memory. Link memories via explicit edges (supports, contradicts, part-of) and traverse them via recursive discovery.
🪞 MIRROR Tier (Stability)
Use Lyapunov-inspired stability loops to protect critical reasoning blocks from the automatic decay cycles.
🚀 Quickstart
1. Installation
pip install superbrain-fabric-sdk
2. Basic Cognitive Write
from superbrain import SuperbrainFabricClient
# Connect to the Fabric
client = SuperbrainFabricClient("coordinator:50050")
# Write a memory with automated LCC Level 3 and Mirror protection
ptr_id = client.write_memory(
"Long research context...",
liveliness=0.9,
tag="strategy",
lcc_level=3,
mirror_reinforcement=True
)
print(f"Memory anchored at: {ptr_id}")
3. Relational Discovery (Knowledge Graph)
# Link two cognitive blocks
client.add_edge(source_ptr, target_ptr, relation="supports", weight=1.0)
# Query the mesh
context = client.query_graph(source_ptr, depth=2)
4. Audit Trail (History)
# See how a memory evolved over time
history = client.get_memory_history(ptr_id)
for snap in history:
print(f"Version {snap['version']} tag: {snap['tag']}")
🛡️ Security & Performance
- E2EE: Enable via
encryption_key=b'...'for AES-256-GCM SDK-level protection. - Low Latency: Automated SHM Bypass (<15μs) for co-located agents.
- Durable Mode: WAL-backed recovery support.
MIT License · Built by Anispy
Metadata
Release files for superbrain-fabric-sdk 5.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| superbrain_fabric_sdk-5.1.0.tar.gz | 12.4 MB | Without provenance | Details for superbrain_fabric_sdk-5.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| superbrain_fabric_sdk-5.1.0-py3-none-any.whl | Python 3 | none | any | Details for superbrain_fabric_sdk-5.1.0-py3-none-any.whl |
Total release size: 24.8 MB
Release files / superbrain_fabric_sdk-5.1.0.tar.gz
| Download URL | superbrain_fabric_sdk-5.1.0.tar.gz |
|---|---|
| Size | 12.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebb2663f4a7b7676fb961aecabaab53545e2dcc0aded922f325a6feb60c3c7b5
|
|
BLAKE2b-256 checksum How to use checksums |
ce37b459dea35aae23d21bb1fb2a81d8aef7c69596597541290362fee81d76f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / superbrain_fabric_sdk-5.1.0-py3-none-any.whl
| Download URL | superbrain_fabric_sdk-5.1.0-py3-none-any.whl |
|---|---|
| Size | 12.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79313a9915387b724ec3310dad579dc0b32d92a664cb382aab2131080e89df28
|
|
BLAKE2b-256 checksum How to use checksums |
e1d14f262424ab9592c7bc42d5c19baa5214ffc4e369b4057c300956546821d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for superbrain-fabric-sdk 5.1.0
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.