The Governance Layer is an architectural framework that adds a deliberative governance tier to AI systems. Rather than optimizing a single objective, a governed AI routes every decision through a Neural Parliament of seven specialized members, enforces pre-committed action restrictions via Ulysses Contracts, and maintains a stable Identity Layer that resists manipulation. The full reference implementation is written in Python and ships with a CLI, Streamlit dashboard, and formal verification tools.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/xcoder-es/governance-layer/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Install the library and run your first governance cycle in under five minutes.
Architecture
Understand the four-layer stack: Speaker → Parliament → Contracts → Identity → TEE.
Core Framework
Deep-dive into the Neural Parliament, Ulysses Contracts, and Identity Layer.
API Reference
Full Python API — types, state machines, enforcement, and identity primitives.
What is the Governance Layer?
Modern AI systems are powerful optimizers, but optimization alone is not sufficient for safe, autonomous operation. The Governance Layer proposes that intelligence requires two distinct capabilities:- Optimizing decisions — what to do
- Governing the decision-making process — which objectives should apply, which values take precedence, and whether to voluntarily restrict future choices
book/) and a complete reference implementation across three interconnected layers.
Neural Parliament
Seven specialized members deliberate via weighted voting, vetoes, and proposal budgets.
Ulysses Contracts
Pre-committed action restrictions enforced by procedural inertia, monitors, and timelocks.
Identity Layer
Four-tier mutability model protecting core values from drift or manipulation.
Get Started
Project Status
Maturity: Pre-alpha research prototype. The theoretical framework has undergone five rounds of adversarial review by an independent expert panel. The reference implementation is under active construction. Claims about security, formal verification, and production readiness are aspirational.
Running Experiments
Run benchmark scenarios and compare governance strategies against baselines.
Formal Predictions
Verify 12 testable predictions from the theoretical framework via the CLI.
CLI Reference
Full reference for all runner subcommands, flags, and output formats.
Contributing
Guidelines for contributing to the framework theory and implementation.