📚 arifOS Documentation

Version 2026.03.14-VALIDATED

Overview

arifOS is the world's first production-grade Constitutional AI Governance System. It wraps every AI operation in a mathematically enforced constitution, guaranteeing that what arrives at the real world is ordered, verified, and reversible.

Unlike simple prompt wrappers, arifOS is a governed intelligence organism with:

🚀 Quick Start

Installation

# Python (recommended)
pip install arifosmcp==2026.3.14

# Node.js wrapper
npm install -g @arifos/mcp

Basic Usage

# Run MCP server
python -m arifosmcp.runtime stdio

# Or HTTP mode
python -m arifosmcp.runtime http --port 8080
Note: arifOS requires Python 3.12+ for full async/await support and type safety.

🛠️ Tool Reference

KERNEL Layer

ToolStageDescription
init_anchor000_INITInitialize session jurisdiction
arifOS_kernel444_ROUTERMain entry point—routes ΔΩΨ
forge000_999Full pipeline—INIT→SEAL
revoke_anchor_state000_INITKill switch session

AGI Δ MIND Layer

ToolStageDescription
agi_reason111_SENSEGoverned reasoning (F2/F4/F7)
agi_reflect333_INTEGRATEMetacognitive check
reality_compass222_GROUNDGround claims before reasoning
search_reality222_GROUNDLive web search
ingest_evidence222_GROUNDURL→normalized evidence

ASI Ω HEART Layer

ToolStageDescription
asi_critique555_ALIGNAdversarial safety check
asi_simulate555_ALIGNConsequence simulation
agentzero_engineer666_EXECUTECode execution (F11 gate)

APEX Ψ SOUL Layer

ToolStageDescription
apex_judge777_JUDGETri-witness verdict
audit_rules888_FLOORF1-F13 inspection
check_vital888_VITALSSystem telemetry
open_apex_dashboard888_OBSERVELive governance UI

⚖️ Constitutional Floors

The 13 Floors are stationary constraints—they cannot be bypassed by any agent or system prompt.

Hard Floors (Non-Negotiable)

Soft Floors (Advisory)

Special Floors

🔌 MCP Client Setup

Claude Desktop

Edit claude_desktop_config.json:

{
  "mcpServers": {
    "arifos": {
      "command": "npx",
      "args": ["-y", "@arifos/mcp"]
    }
  }
}

Kimi / Other Clients

{
  "mcpServers": {
    "arifos": {
      "command": "python",
      "args": ["-m", "arifosmcp.runtime", "stdio"]
    }
  }
}

Environment Variables

VariableDescriptionDefault
ARIFOS_ENVRuntime environmentproduction
ARIFOS_PUBLIC_TOOL_PROFILETool visibilityfull
PORTHTTP server port8080

📡 API Reference

Health Check

GET /health

Response:
{
  "status": "healthy",
  "version": "2026.03.14-VALIDATED",
  "tools_loaded": 25,
  "timestamp": "2026-03-14T10:00:00Z"
}

List Tools

GET /tools

Returns JSON array of all 25 tools with JSONSchema parameters.

MCP Protocol

POST /mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "arifOS_kernel",
    "arguments": {
      "query": "Your query here"
    }
  }
}

🎯 Best Practices

  1. Always start with init_anchor — Establishes session jurisdiction
  2. Use forge for one-shot tasks — Runs full 000-999 pipeline
  3. Ground claims with reality_compass — Before reasoning
  4. Respect 888_HOLD — Human escalation is a feature, not a bug
  5. Check vitals regularly — Monitor ΔS, G★, Peace²
Warning: Never bypass the constitutional floors. VOID verdicts indicate constitutional collapse—debug the issue rather than forcing execution.