Skip to main content

Air-gapped neuro-symbolic AIoT framework: 1-bit LLM cognition over mathematically verified, temporally valid edge state.

Project description

epistemic-edge

Air-gapped, neuro-symbolic AIoT framework: 1-bit LLM cognition over mathematically verified, temporally valid edge state.

Architecture

Epistemic Edge orchestrates four tiers into a strict verify-decay-generate pipeline:

Tier Layer Engine Function
1 Transport cbor-ld-ex Hyper-compressed binary payloads over MQTT/CoAP
2 Trust jsonld-ex Subjective Logic fusion + PROV-O audit trail
3 Memory chronofy Temporal-Logical Decay Architecture (TLDA)
4 Cognition llama-cpp-python Grammar-constrained 1-bit LLM inference

The key insight: 1-bit quantized models lose continuous probabilistic nuance, making them susceptible to hallucination over conflicting or stale context. Epistemic Edge solves this by mathematically guaranteeing the truth of the state graph before the LLM ever touches it.

Installation

# Core framework (transport + trust + memory)
pip install epistemic-edge

# With local LLM inference
pip install epistemic-edge[llm]

# With MQTT/CoAP transport
pip install epistemic-edge[transport]

# Everything
pip install epistemic-edge[all]

Quick Start

import asyncio
from epistemic_edge import EdgeNode
from epistemic_edge.memory import DecayConfig

async def main():
    node = EdgeNode(
        node_id="gateway_alpha",
        llm_path="./models/bonsai-8b-1bit.gguf",
        decay=DecayConfig(mean_reversion_rate=1.5, threshold=0.2),
    )

    @node.guardrail(action="close_valve")
    def check_safety(state, intent):
        return state.max_uncertainty() < 0.15

    @node.on_actuate
    async def execute(intent, receipt):
        print(f"Executing: {intent.action} on {intent.target}")
        print(f"Audit trail: {receipt}")

    await node.start()

asyncio.run(main())

Core Libraries

  • jsonld-ex - JSON-LD 1.2 extensions with Subjective Logic, FHIR R4, PROV-O
  • cbor-ld-ex - Compact Binary Linked Data for constrained IoT networks
  • chronofy - Temporal validity framework implementing TLDA

License

MIT

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

epistemic_edge-0.0.1.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

epistemic_edge-0.0.1-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file epistemic_edge-0.0.1.tar.gz.

File metadata

  • Download URL: epistemic_edge-0.0.1.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.2 Windows/11

File hashes

Hashes for epistemic_edge-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bad19c64cb528d304d2320e4037dae5c772547d93e15fb3760a1bbe50ae0629f
MD5 fb341a58625a117a8c77db542f4b7dee
BLAKE2b-256 c29657774d98385f92f77f0590efcb8d83d5848e13c28ca883c4ca493cfb6e47

See more details on using hashes here.

File details

Details for the file epistemic_edge-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: epistemic_edge-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.2 Windows/11

File hashes

Hashes for epistemic_edge-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf456939e9a3c1b49468260b63acf00f63a0bc370e045b4fe0cfd72a96a636e6
MD5 4191ee95a5adfa78cfea30a054867115
BLAKE2b-256 e93b00d693f1f3f58239b9c25edaee9387b88986b7056ee7f096f19847c9787e

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