Odel
arifOS

arifOS

Local
@ariffazil51PythonAGPL-3.0Updated Today

Constitutional AI Governance with 13 enforced floors (F1-F13) and tri-witness consensus for LLMs.

arifOS — Constitutional AI Governance Kernel

Separates judgment from execution for regulated AI deployment.

Enterprises deploying AI at scale face a critical gap: agents that act are also certifying their own actions. Without an independent authority to evaluate proposals against safety, compliance, and policy constraints before execution, organizations risk regulatory violations, data breaches, and untraceable decisions. arifOS solves this by acting as a constitutional judge — evaluating every consequential AI action against 13 immutable policy floors and returning a verdict before any execution occurs.

Forged, Not Given.


Architecture

                    ┌─────────────────────────────────────────┐
                    │           arifOS Kernel (:8088)         │
                    │  ┌───────────────────────────────────┐  │
  User Intent ─────▶│  │  13 Constitutional Floors (F1-F13) │  │──▶ SEAL / HOLD / SABAR / VOID
                    │  │  State Observation & Gap Detection │  │
                    │  │  VAULT999 Append-Only Ledger       │  │
                    │  └───────────────────────────────────┘  │
                    └─────────────┬───────────────────────────┘
                                  │
              ┌───────────────────┼───────────────────┐
              │                   │                   │
              ▼                   ▼                   ▼
     ┌──────────────┐    ┌──────────────┐    ┌──────────────┐
     │   SEAL       │    │   HOLD       │    │   VOID       │
     │              │    │              │    │              │
     │  A-FORGE     │    │  Human Review│    │  Blocked     │
     │  Executes    │    │  Approves    │    │  by Floor    │
     └──────┬───────┘    └──────────────┘    └──────────────┘
            │
            ▼
     ┌──────────────┐
     │  VAULT999    │  67K+ immutable records
     │  Audit Log   │  append-only, zero gaps
     └──────────────┘

The judge never executes. The executor never certifies.


Quick Start

Docker

docker run -d --name arifos \
  -p 8088:8088 \
  -v $(pwd)/data:/app/data \
  arifos/kernel:latest

Health Check

curl http://localhost:8088/health

MCP Connection

# Connect via MCP endpoint
mcp connect http://localhost:8088/mcp

Core Features

13 Constitutional Floors (F1–F13)

Every proposal is evaluated against a chain of 13 policy constraints spanning safety, reversibility, scope, authority, evidence, and governance. A single floor failure produces a VOID verdict — no action proceeds until the constraint is resolved.

Four Verdict Types

VerdictMeaning
SEALAuthorized under stated conditions
HOLDInsufficient evidence or human approval required
SABARNot yet — reality has not finished speaking; time will produce the evidence. Patience, not partial approval. Distinct from HOLD
VOIDBlocked by a constitutional floor

VAULT999 — Immutable Audit Ledger

Every verdict, evidence chain, and execution receipt is recorded in VAULT999 — an append-only JSONL ledger currently holding 67,000+ records with zero broken lines. Designed for compliance auditing, forensic review, and regulatory proof of governance.

MCP Interface

The kernel exposes 8 MCP verbs over /mcp (and /webmcp locally on :8088). No public console — programmatic access only.


Federation Topology

The arifOS Federation comprises 7 organs, each with a distinct responsibility:

OrganPortResponsibility
arifOS:8088Law — constitutional judgment
AAA:3001Routing — intelligence & task orchestration
A-FORGE:7071/:7072Execution — hands that build and act
GEOX:8081Earth sciences — geospatial reasoning
WEALTH:18082Capital management — financial operations
WELL:18083Biometric & health — vitality monitoring
arifFlow:7073Orchestration — workflow coordination

ARIF vetoes. arifOS judges. AAA routes. A-FORGE executes.


MCP Verbs Reference

VerbPurpose
arif_initEstablish session context, actor identity, and constraints
arif_observeState observation & gap detection — inspect current conditions
arif_thinkConstitutional reasoning against floors before judgment
arif_routeRoute intent to the appropriate federation organ
arif_memoryQuery and manage institutional memory
arif_judgeEvaluate a proposal and return a verdict (SEAL/HOLD/SABAR/VOID)
arif_forgeDispatch authorized actions to A-FORGE for execution
arif_sealSeal a completed action chain with full evidence and receipt

Sister Repositories

RepositoryDescription
AAAIntelligence, routing, and multi-agent orchestration
A-FORGEExecution engine — containerized task execution
GEOXGeospatial and earth sciences reasoning organ
WEALTHCapital management and financial operations organ
WELLBiometric monitoring and health management organ
arifFlowWorkflow orchestration and pipeline management

Documentation


License

AGPL-3.0 — This software is licensed under the GNU Affero General Public License v3.0. See LICENSE for details.

When deployed over a network, the complete source code must be made available to all users interacting with the service, consistent with AGPL-3.0 terms.