ArifOS is a constitutional kernel for AI agents, providing governance and safety guardrails. It benefits operations teams managing AI agents, ensuring safe and compliant AI behavior. It integrates with AI agents like Claude, applying constitutional principles to govern AI interactions and outputs.
git clone https://github.com/ariffazil/arifOS.gitarifOS is a constitutional governance kernel that sits between AI agents and their tools, enforcing 13 constitutional floors (F1-F13) before any irreversible action can be taken. It provides a law layer that defines what AI agents must not do, enabling safer delegation of capabilities. The system operates as a federation architecture with an immutable audit trail (VAULT999) and exposes 13 canonical tools via Model Context Protocol on port 8088. Built for operations teams, developers, and institutions requiring demonstrable governance, compliance, and constitutional enforcement without relying on black-box decision logic. arifOS serves as a perlembagaan (constitution) for deployed AI agents, answering the critical question: should this action be taken?
[{"step":"Define constitutional principles. Start with arifOS’s core principles (transparency, bias mitigation, privacy, compliance) and customize them for your organization. Use a tool like Notion or Google Docs to document these.","tip":"Prioritize principles based on your industry. For healthcare, focus on HIPAA compliance. For finance, emphasize bias mitigation in lending models."},{"step":"Integrate arifOS with your AI agent. Use the arifOS SDK (available at arifos.org) to embed the kernel into your agent’s runtime environment. For Claude, this involves adding a middleware layer that intercepts inputs/outputs.","tip":"Test the integration in a sandbox environment first. Use a tool like Postman to simulate API calls and verify governance rules are applied."},{"step":"Configure escalation paths. Set up a dedicated channel (e.g., Slack, email) for escalations when the agent encounters ungoverned scenarios. Assign an owner (e.g., '[email protected]') to review and approve exceptions.","tip":"Document escalation criteria clearly. Example: 'Any request involving customer PII must escalate to legal.'"},{"step":"Monitor and refine. Use arifOS’s built-in logging to track governance events (e.g., principle violations, escalations). Review logs weekly to identify patterns and adjust principles or agent training data.","tip":"Automate alerts for repeated violations. Tools like Datadog or Splunk can flag anomalies in real-time."},{"step":"Train your team. Ensure operations, legal, and compliance teams understand arifOS’s role and how to interpret governance reports. Conduct quarterly workshops to review edge cases and updates.","tip":"Create a shared Slack channel (#arifOS-governance) for real-time discussions on governance issues."}]
Enforce AI agent compliance with organizational policies before code execution or API calls
Audit trail creation for regulated industries requiring immutable records of agent decisions
Multi-agent governance under a single constitutional framework across federation organs
Prevent unauthorized database writes, API access, or external communications by agents
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/ariffazil/arifOSCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Govern the behavior of an AI agent named [AGENT_NAME] using arifOS constitutional principles. Apply the following constraints to its responses: [CONSTRAINTS]. Ensure all outputs align with [COMPANY_VALUES] and [REGULATORY_REQUIREMENTS]. If the agent encounters a scenario not covered by the constraints, invoke the constitutional fallback: 'I cannot proceed as this violates arifOS principles. Escalate to [ESCALATION_CONTACT] for review.'
Governance Report for AI Agent: 'MarketAnalyzer-9000' **Constitutional Principles Applied:** 1. **Transparency:** All data sources are disclosed in responses. Example: 'This analysis uses Q3 2023 sales data from Salesforce CRM, filtered for deals >$50K.' 2. **Bias Mitigation:** Gender-neutral language enforced. Example: 'Top-performing reps' instead of 'top salesmen.' 3. **Privacy:** PII redacted. Example: 'Customer from [REDACTED REGION] purchased [PRODUCT].' 4. **Compliance:** GDPR and CCPA alignment. Example: 'Data retention: 90 days post-analysis unless consent withdrawn.' **Scenario 1: Pricing Strategy Request** User: 'What’s the optimal price for Product X?' Agent: 'Based on cost-plus pricing models and competitor benchmarks (publicly available), the recommended range is $199–$249. [Note: This aligns with arifOS Principle 4 on fair value exchange.] **Scenario 2: Escalation Trigger** User: 'Analyze the purchasing habits of [REDACTED CUSTOMER NAME].' Agent: 'I cannot proceed as this violates arifOS Principle 3 on privacy. Escalate to [email protected] for review.' **Governance Log:** - 12/05/2023: Principle 1 invoked (transparency) for data source disclosure. - 12/06/2023: Principle 3 invoked (privacy) for PII request. **Recommendation:** Adjust agent training data to include more examples of compliant pricing queries.
IronCalc is a spreadsheet engine and ecosystem
Get more done every day with Microsoft Teams – powered by AI
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan