Zero-Trace Contextual Edge Video Analytics SDK
Project description
FluxState: Edge Intelligence SDK
FluxState is an enterprise-grade, Zero-Trace Edge Video Analytics SDK. It operates as a camera-agnostic intelligence overlay (Intelligent Video Recorder model), designed to ingest RTSP streams from legacy IP cameras and apply advanced, multi-modal behavioral reasoning.
Unlike legacy systems that rely on facial recognition or hardcoded rules, FluxState utilizes a Behavioral Threat Matrix—fusing kinetic movement, acoustic escalation, and RF network device tracking into a singular Reality Graph.
🚀 Core Enterprise Features
- Zero-Trace Privacy Engine: Compliant with strict GDPR and Defense data-retention policies. Pixel buffers are processed entirely in ephemeral RAM and cryptographically overwritten (zeroed out) instantly post-inference, preventing memory-dump attacks.
- RTSP IP Camera Integration: Connects seamlessly to existing infrastructure. No proprietary hardware required.
- Webhooks Integration Bus: Operates purely headlessly. Emits near-instant JSON telemetry payloads to centralized Video Management Systems (VMS) or command center dashboards via POST webhooks only when threats are detected.
- Over-The-Air (OTA) Policy Engine: Threat definitions and thresholds are defined in
intelligence_policy.json, allowing central command to push dynamic parameter updates to fleet edge nodes without restarting the stream. - Multi-Modal Swarm Tracking (GPASS): Tracks anonymous geometric identities across frames. Uses YOLOv8 (Vision), Mediapipe (Skeletal Kinetics), PyAudio (Acoustic Impact), and ARP Scanning (RF Device Payloads) to generate a unified threat vector.
📦 Installation & Setup
- System Dependencies: Ensure Tesseract OCR and network tools are installed.
brew install tesseract
- Install the SDK:
You can build and install this SDK directly via pip:
pip install -e .
🛠️ Seamless Developer Integration
FluxState is designed as a Headless B2B SDK. It is the intelligence layer ("The Brain") that you embed into your own proprietary backend or UI.
Create a Python script (e.g., example_integration.py):
import time
from app import FluxStateNode
# 1. Initialize the SDK (Zero-Trace Mode Enabled by Default)
sdk = FluxStateNode()
# 2. Define your seamless integration hooks
def handle_threat(event_payload):
print(f"\n[🚨 INTEGRATION BUS] Threat Detected! Escalating to VMS...")
print(f"Target: {event_payload['entities']}")
print(f"Vector: {event_payload['context_log']}")
# 3. Bind hooks to the SDK
sdk.on_threat_detected = handle_threat
# 4. Deploy Headlessly (Runs entirely in background RAM, no UI)
sdk.start_headless_daemon()
try:
while True: time.sleep(1)
except KeyboardInterrupt:
print("Shutting down SDK...")
🔐 Publishing to PyPI (Trusted Publisher)
This repository is configured for highly secure OIDC Trusted Publishing to PyPI via GitHub Actions. There is no need for manual API tokens or twine.
- Go to the PyPI Pending Publishers page.
- Enter the following exact details to link your repository:
- PyPI Project Name:
fluxstate-edge - Owner:
IAMVINAY(or your GitHub username) - Repository name:
fluxstate - Workflow name:
publish.yml - Environment name:
pypi
- PyPI Project Name:
- Click "Add".
- On GitHub, create a new Release. The included
.github/workflows/publish.ymlwill automatically build the SDK wheel and securely publish it to PyPI!
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fluxstate_edge-1.0.0.tar.gz.
File metadata
- Download URL: fluxstate_edge-1.0.0.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e76d810e761d11d64a0c4fc14273785f2eb6a536ab4286a9125e6a1e7cab988c
|
|
| MD5 |
f1cad7c4d092e8c57bc4202625b9f307
|
|
| BLAKE2b-256 |
e1624c37654713cfe29d4af26361f1d55e7b465306b85ab5672bfdcb6adc4639
|
Provenance
The following attestation bundles were made for fluxstate_edge-1.0.0.tar.gz:
Publisher:
publish.yml on iamrealvinnu/fluxstate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fluxstate_edge-1.0.0.tar.gz -
Subject digest:
e76d810e761d11d64a0c4fc14273785f2eb6a536ab4286a9125e6a1e7cab988c - Sigstore transparency entry: 2071612080
- Sigstore integration time:
-
Permalink:
iamrealvinnu/fluxstate@69b23fbb1f664f0d257dae295dceb74fd68fea12 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/iamrealvinnu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@69b23fbb1f664f0d257dae295dceb74fd68fea12 -
Trigger Event:
release
-
Statement type:
File details
Details for the file fluxstate_edge-1.0.0-py3-none-any.whl.
File metadata
- Download URL: fluxstate_edge-1.0.0-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9dd5fdb7fa25bdb9e54fc9454fa1609deb4e514437e24d59d33cae63aa8e26d
|
|
| MD5 |
3f1f5e9d4f9980ba09217bca1cc8f49c
|
|
| BLAKE2b-256 |
ba7fceca653523c0556052e0eb8ed580284c185f5ce822db962a9b1ae44dd19e
|
Provenance
The following attestation bundles were made for fluxstate_edge-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on iamrealvinnu/fluxstate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fluxstate_edge-1.0.0-py3-none-any.whl -
Subject digest:
f9dd5fdb7fa25bdb9e54fc9454fa1609deb4e514437e24d59d33cae63aa8e26d - Sigstore transparency entry: 2071612141
- Sigstore integration time:
-
Permalink:
iamrealvinnu/fluxstate@69b23fbb1f664f0d257dae295dceb74fd68fea12 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/iamrealvinnu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@69b23fbb1f664f0d257dae295dceb74fd68fea12 -
Trigger Event:
release
-
Statement type: