System Architecture | Feature Catalog | TEC Summary | KPI Standards Overlay
DeepSigma prevents decision amnesia in AI systems.
Log every agent decision. Detect when it drifts. Prove what happened.
pip install deepsigma
# Log an agent decision
coherence agent log decision.json
# Audit all logged decisions
coherence agent audit --json
# Coherence score
coherence agent scorecoherence demoBASELINE 90.00 (A)
DRIFT 85.75 (B) red=1
PATCH 90.00 (A) patch=RETCON drift_resolved=true
Three states, deterministic every run:
- BASELINE — sealed episode, coherence scored
- DRIFT — data changed, drift detected automatically
- PATCH — governed retcon applied, coherence restored
Machine-readable: coherence demo --json
DeepSigma is the institutional memory layer that makes AI decisions reconstructable.
Every agent decision becomes a sealed, hash-chained episode. Drift between decisions is detected automatically across 8 types. Authority is captured cryptographically, not implied. The full "why" is retrievable in under 60 seconds.
In practice:
- the "why" is retrievable (not tribal)
- authority is explicit (not implied)
- changes are patched, not overwritten
- drift is detected early and corrected consistently
One product line, one version, two editions:
- CORE edition: minimal, demo-first, deterministic (
pip install deepsigma) - ENTERPRISE edition: extended adapters, dashboards, and ops surfaces (repo-native under
enterprise/)
Edition boundary ledger: EDITION_DIFF.md
Use Core mode when you need fast adoption and low cognitive load.
Active Core surface at repo root:
run_money_demo.shsrc/core/docs/examples/demo-stack/tests/test_money_demo.py
Use Enterprise mode when you need connectors, dashboards, extended security, broader telemetry, and integration-heavy workflows.
Dependency note:
pip install "deepsigma[enterprise]"installs enterprise runtime extras used by telemetry/radar tooling.- Full enterprise code surfaces are repository-native under
enterprise/and are run from source in this repo.
Enterprise surfaces are first-class under:
Examples of parked modules:
enterprise/dashboard/enterprise/docker/enterprise/release_kpis/enterprise/schemas/enterprise/scripts/enterprise/src/(non-core packages)enterprise/docs/(full enterprise docs)
Run the enterprise wedge:
make enterprise-demo
make test-enterpriseClaim -> Event -> Review -> Patch -> Apply
CERPA is the foundational adaptation loop for the platform. Every governance flow — across IntelOps, ReOps, FranOps, AuthorityOps, and ActionOps — follows this cycle:
- Claim — an asserted truth or commitment
- Event — an observable occurrence
- Review — evaluate the claim against the event
- Patch — corrective action if drift is detected
- Apply — execute the patch and update state
python -m src.core.examples.cerpa_contract_demo
python -m src.core.examples.cerpa_agent_supervision_demoDeep Sigma is the reactor, boundary, and memory system. Models are interchangeable cognitive thrusters. Models produce exhaust. Deep Sigma produces judgment.
The Model Exchange Engine (MEE) standardises how external or local models plug into Deep Sigma. Adapters can draft, reason, summarise, and disagree — but they cannot commit canon, approve themselves, or bypass AuthorityOps.
python -m core.cli mee demo # Run all adapters
python -m core.cli mee health # Check adapter healthAvailable adapters: APEX (Cognis-APEX-3.2), Mock, OpenAI, Claude, GGUF.
See docs/architecture/model_exchange_engine.md for full details.
Build both edition artifacts from one version line:
make release-artifactsOutputs in dist/:
deepsigma-core-vX.Y.Z.zipdeepsigma-enterprise-vX.Y.Z.zip
For the full-platform docs and architecture map, use parked docs directly:
enterprise/docs/positioning/positioning_manifesto.mdenterprise/docs/positioning/executive_briefing_one_page.mdenterprise/docs/release/enterprise/docs/security/enterprise/docs/mermaid/
Repo Snapshot (auto-generated 2026-03-07 17:40 UTC)
- 1,799 files | 331,813 lines of code
- 41 CI workflows | 178 test files | 5 pyproject.toml
- 21 EDGE modules
LOC by extension:
.py 116,372
.html 59,838
.json 57,437
.md 49,252
.svg 28,054
.jsonl 5,278
.tsx 2,942
.ttl 2,804
.patch 1,438
.ts 1,244
- Keep root focused on a reliable first proof.
- Keep enterprise depth available without deleting capability.
- Expand from Core into Enterprise intentionally, not by drift.