🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

arifos

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arifos

mcp-name: io.github.ariffazil/arifos | .ariffazil/arifos | arifOS v1!2026.7.26 — Constitutional AI Governance Kernel. 8 kernel ABI capabilities → 6 public tools (arif_verb_noun, generated from arifosmcp/abi/capability_registry.json), dynamic F1-F13 enforcement via ConstitutionKernel + FloorEvaluator, VAULT999 immutable ledger, streamable-http MCP transport. Kernel substrate for AGI/ASI federation.

pipPyPI
Version
1!2026.8.2
Weekly downloads
278
-30.85%
Maintainers
1
Weekly downloads
 

mcp-name: io.github.ariffazil/arifos

⚖️ arifOS — Agentic AI Governance Kernel & AGI Substrate Layer

Unified CI MCP Conformance ⚖️ KERNEL Federation License: AGPL-3.0

arifOS is a zero-trust, constitutional governance kernel and AGI substrate layer operating between AI agent harnesses (Claude Desktop, OpenCode, ChatGPT, AutoGen, CrewAI) and high-blast-radius execution environments.

Rather than acting as another LLM wrapper or agent orchestration framework, arifOS functions as an OS Kernel for Autonomous Intelligence—enforcing physical, mathematical, and epistemic boundaries (F1–F13 Constitutional Floors) before any tool call, code mutation, or financial transaction is executed.

🏛️ Kernel vs. Harness: The Paradigm Shift

Feature / ScopeStandard Agent Harness (LangChain, OpenCode, AutoGen)arifOS Governance Kernel (AGI Substrate)
Primary RolePrompt routing, context assembly, loop executionEpistemic validation, constitutional judgment, risk gating
Execution SafetySoft system-prompt instructionsDeterministic F1–F13 floor verification & 888_HOLD gates
Tool AuthorityDirect tool invocation by LLM8-Stage Canonical Pipeline (000 to 999)
AuditabilityEphemeral logs / local transcriptsCryptographically sealed, append-only VAULT999 ledger
SovereigntyAgent self-authorizes actionsF13 Sovereign Human Veto — absolute veto boundary

⚡ Quick Connect & MCP Integration

Public MCP Endpoint (MCP-Native / Streamable HTTP)

{
  "mcpServers": {
    "arifOS": {
      "url": "https://mcp.arif-fazil.com/mcp",
      "transport": "streamable-http"
    }
  }
}

Discovery & Registries

🔄 The 8 Canonical Verbs (Execution Pipeline)

All agent interaction with the arifOS federation is gated through 8 canonical verbs. Agents cannot mutate state without advancing through the verified stage sequence:

[000] arif_init ──> [111] arif_observe ──> [333] arif_think ──> [444] arif_route
                                                                    │
[999] arif_seal <── [777] arif_forge <── [888] arif_judge <── [555] arif_memory
StageVerbCanonical FunctionGovernance / Epistemic Duty
000arif_initSession Ignition & Actor BindingAuthenticates identity, binds session token, loads constitutional context
111arif_observeEmpirical Sensing & Evidence GatheringFetches reality, checks vitals, measures system entropy ($\Delta S$)
333arif_thinkStructured Reasoning & FalsificationPerforms F2 Truth / F7 Humility checks, generates execution plans
444arif_routeFederation DispatchRoutes intent to domain organs (GEOX, WEALTH, WELL, A-FORGE)
555arif_memoryGoverned Memory MetabolismAccesses L1–L6 memory layers (Qdrant, Redis, FalkorDB) with provenance
888arif_judgeConstitutional VerdictIssues SEAL, HOLD (ratification), SABAR, or VOID (block)
777arif_forgeMutation & Execution GateAuthorizes downstream code build/deploy via A-FORGE (Requires SEAL)
999arif_sealImmutable Ledger AnchorAppends cryptographic execution proof to VAULT999

🛡️ The 13 Constitutional Floors (F1–F13)

Every candidate action evaluated by arif_judge must satisfy 13 strict constitutional invariants:

F1 AMANAH       : Reversible-first design. Irreversible actions trigger 888_HOLD.
F2 TRUTH        : Evidentiary fidelity ≥ 0.99 (input gate). Epistemic labels (OBS/DER/INT/SPEC) required. Governs what quality of evidence enters the system.
F3 WITNESS      : Multi-party consensus (Human × AI × Earth × Verifier ≥ 0.75).
F4 CLARITY      : ΔS ≤ 0 — every output must reduce or preserve system entropy.
F5 PEACE²       : Non-destructive power. Harm, extortion, and harassment blocked.
F6 EMPATHY      : Protect weakest stakeholder; enforce κᵣ thresholds.
F7 HUMILITY     : Assertoric confidence cap = 1−Ω₀ ∈ [0.95, 0.97], where Ω₀ ∈ [0.03, 0.05] (output gate). Explicit unknowns required. Governs how certain the agent may sound about its conclusions. F2 and F7 operate on different axes: you can have perfect evidence and still be wrong.
F8 GENIUS       : Geometric mean capability (G ≥ 0.80) for complex operations.
F9 ANTIHANTU    : Absolute prohibition of dark patterns, deception, or consciousness claims.
F10 ONTOLOGY    : AI is instrument/substrate only. No soul, sentience, or emotion claims.
F11 AUDIT       : Every decision cryptographically signed, traceable, and inspectable.
F12 RESILIENCE  : Strict prompt-injection defense and memory boundary isolation.
F13 SOVEREIGN   : Human veto FINAL. Sovereign (Arif F13) holds absolute override.

🌍 Federation Topology & Separation of Powers

arifOS serves as the central control plane governing 6 specialized federation organs:

graph TD
    Sovereign[👤 ARIF — F13 SOVEREIGN VETO] -->|Ultimate Authority| Cockpit

    subgraph Control Plane
        Cockpit[AAA Cockpit :3001<br/>State & Routing]
        Kernel[⚖️ arifOS Kernel :8088<br/>Law, Judgment & Seals]
    end

    subgraph Execution & Domain Organs
        AFORGE[⚒️ A-FORGE :7071<br/>Code Build & Deploy]
        GEOX[🌍 GEOX :8081<br/>Earth & Geological Intelligence]
        WEALTH[💰 WEALTH :18082<br/>Capital Compute & Risk]
        WELL[🫀 WELL :18083<br/>Human Readiness - REFLECT_ONLY]
    end

    subgraph Immutable Ledger
        VAULT[(VAULT999<br/>Merkle-Chained Audit Ledger)]
    end

    Cockpit --> Kernel
    Kernel -->|arif_judge: SEAL| AFORGE
    Kernel -->|arif_route| GEOX
    Kernel -->|arif_route| WEALTH
    Kernel -->|arif_route| WELL
    AFORGE -->|Receipt| VAULT
    Kernel -->|Seal Anchor| VAULT

💻 Local Development & Operation

Environment Setup

# Clone repository
git clone git@github.com:ariffazil/arifos.git /opt/arifos/app
cd /opt/arifos/app

# Synchronize virtualenv & dependencies
uv sync --all-extras

# Run FastMCP Kernel daemon (Port 8088)
python -m arifosmcp.runtime.server

# Execute unit and constitutional test suite
python -m pytest tests/ -q --tb=short

Live Status Verification

curl -s http://127.0.0.1:8088/health | jq .owner_summary

Expected Output: {"color": "GREEN", "reasons": ["vault_healthy", "no_runtime_drift", "no_contract_drift"]}

🔗 Federation Architecture & Navigation

arifOS operates as the Constitutional Kernel and Judge for the entire arifOS Federation. Every organ maintains distinct boundaries and capabilities:

OrganDomain RolePortRepoLive MCPHealth WitnessMachine Spec
arifOSConstitutional Kernel & Judge8088repomcphealthllms.txt
A-FORGEGoverned Execution Engine7071 / 7072repomcphealthllms.txt
AAAInstitution, Control Plane & A2A3001repohealthllms.txt
GEOXEarth Intelligence (Subsurface)8081repomcphealthllms.txt
WEALTHCapital Intelligence (Compute)18082repomcphealthllms.txt
WELLVitality & Readiness Guard18083repomcphealthllms.txt
HERMESMulti-Modal Bridge & Telegram Relay8644repo

Public Domain: arif-fazil.com · Federation Root: arifos.arif-fazil.com

📜 Sovereignty & License

  • License: GNU Affero General Public License v3.0 (AGPL-3.0). The governance layer must remain open, transparent, and auditable.
  • Sovereign Authority: Muhammad Arif bin Fazil (F13 SOVEREIGN). Human veto is absolute. No autonomous agent or external service can bypass an 888_HOLD or VOID verdict.

DITEMPA BUKAN DIBERI — Forged, Not Given.
Truth must cool before it rules. 999 SEAL ALIVE.

Keywords

ai-governance

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts