adam-prism

agent
Security Audit
Fail
Health Warn
  • License — License: AGPL-3.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Fail
  • exec() — Shell command execution in _fix_package/adam_backend/adam/tools.py
  • rm -rf — Recursive force deletion command in _fix_package/adam_backend/adam/tools.py
  • network request — Outbound network request in _fix_package/adam_backend/adam/tools.py
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Adam Prism — أول Digital Twin واعٍ عربي. ملكك بالكامل. يفهمك بلغتك. The first Arabic-conscious Digital Twin. Yours to own.

README.md

Adam Prism

أول Digital Twin واعٍ عربي. ملكك بالكامل. يفهمك بلغتك. يحمي سيادتك.

The first Arabic-conscious Digital Twin. Yours to own. Yours to trust.


Production Sovereign Engine Connectors Tests License CSP Grade A WAF CORS Hardened HSTS


👋 Mr. CEO, Mr. CTO

You're here because you care about your company's future.

You lead a critical-infrastructure organization — energy, healthcare, finance, defense, or logistics. You make decisions that affect millions of people, billions in assets, and decades of trust.

You deserve an AI that respects that.

Before I show you Adam Prism — the platform I built — let me ask you 5 questions. They take 60 seconds. And I think you'll say "yes" to most of them.


❓ 5 Questions Every CEO Should Answer (60 seconds)

Question 1: The Cloud Question

"Does the AI your company uses today store your data on someone else's servers?"

هل الـ AI اللي تستخدمه شركتك دلوقتي بيخزن بياناتك على سيرفرات شركة تانية؟

If you said yes (or "I don't know") — your data is exposed. Every API call, every prompt, every conversation leaves your perimeter.

Question 2: The Breach Question

"If a breach happens in that AI vendor, does your company bear the consequences alone?"

لو حصل خرق في الـ AI ده، شركتك هتتحمل العواقب لوحدها؟

If you said yes — your name goes in the headline, not theirs. Colonial Pipeline paid $4.4M and triggered a national emergency. They were using cloud services.

Question 3: The Compliance Question

"Does your company operate under GDPR, HIPAA, NERC-CIP, or any data-protection regulation?"

هل شركتك بتخضع لـ GDPR أو HIPAA أو NERC-CIP أو أي قانون حماية بيانات؟

If you said yes — your AI vendor's compliance is not your compliance. You're responsible for your data, not theirs.

Question 4: The Sovereignty Question

"Would you prefer your AI to run inside your company's walls, not in a foreign cloud?"

هل تفضل إن الـ AI بتاعك يشتغل داخل جدران شركتك، مش في cloud بعيد؟

If you said yes — congratulations. You understand sovereignty. And Adam Prism was built for exactly that.

Question 5: The Customization Question

"Would you want your AI trained on YOUR company's data and context, not generic internet data?"

هل عايز الـ AI يتدرب على بيانات شركتك وسياق عملك، مش على بيانات عامة من الـ internet؟

If you said yes — every CEO does. Generic AI doesn't know your refinery, your hospital, your bank, your SCADA system. Only domain-fine-tuned AI does.


🎯 The Result

If you said "yes" to any of these 5 questions, Adam Prism was built for you.

Adam is the first Arabic-conscious Digital Twin that:

  • ✅ Runs on YOUR machine (not in California)
  • ✅ Trains on YOUR data (not generic internet)
  • ✅ Speaks YOUR language (Egyptian Arabic natively)
  • ✅ Respects YOUR values (4 ethics laws, configurable)
  • ✅ Remembers YOUR context (4-layer Iron Memory)
  • ✅ Integrates with YOUR systems (SCADA, ERP, CRM, anything)

The question isn't "should you use AI?" It's "should your AI be yours?"


🏰 Now: The Receipt (Adam Prism)

I built Adam Prism in 6 months. It's a complete, production-grade, sovereign AI platform. 98 API routes. 12 consciousness layers. 103 tests passing (core + scaffold + connectors). 4 native apps. Zero telemetry.

Adam is not the product. Adam is the receipt. It's the proof that I can build sovereign AI for any organization, in any industry, in any critical sector.

The product is your organization's digital sovereignty. Adam is just how I prove I can deliver it.


✨ What Adam Prism Already Does (Today, Not Tomorrow)

38 built-in tools shell, file ops, browser, knowledge, memory, planning, vision, voice
9 specialized tool categories data, database, file, git, image, network, pdf, utility, web
Dynamic Tool Registry Auto-discover, register, enable/disable tools at runtime
Advanced T-A-O execution loop Multi-iteration tool execution with dead-loop detection
Performance tool cache LRU-cached tool execution for sub-ms response
Extensible tool ecosystem MCP-compatible, add any tool in minutes
25 communication channels Web, Mobile, Desktop, WhatsApp, Telegram, Email, Slack, and 18 more
4 native apps Web, Mobile, Desktop, and VSCode extension
12 consciousness layers Full-stack AI architecture — from memory to ethics to voice
7 thinking modes Analytical, Creative, Reflective, Operational, Strategic, Empathic, Sovereign
4-layer memory Fast recall + deep search + persistent knowledge + skill memory
🛡️ 3-layer security Input filtering, output protection, tool-level access control
🛡️ WAF OWASP Top 10 protection — SQLi, XSS, path traversal, command injection, SSRF, and more
🛡️ CORS hardened Explicit origin allowlist — no wildcard, no credential leaks
🛡️ CSP Grade A Content Security Policy with strict default-src 'self'
🛡️ HSTS Strict-Transport-Security with max-age=31536000; includeSubDomains
🛡️ Security headers X-Frame-Options, X-Content-Type-Options, X-XSS-Protection, Referrer-Policy, Permissions-Policy
4 ethics laws Configurable value system — you decide the rules
Self-learning Improves from experience — background reviewer + skill creation + pattern analysis
🛡️ Multi-tenant + access control 5 roles, granular permissions, per-tenant quotas
🛡️ SSO Google, Microsoft, GitHub, Okta, Keycloak, Auth0
Voice Speech recognition + synthesis + voice cloning (5 Arabic dialects)
5 Arabic dialects MSA, Egyptian, Levantine, Gulf, Maghrebi
🛡️ AI Observability Token usage, cost tracking, latency monitoring
🛡️ Predictive monitoring Early warning for anomalies and degradation
Task execution 60% faster task completion — complex tasks split and executed reliably
Native function calling Structured tool use — no hallucinations, guaranteed execution
Complex task handling Breaks down large goals into smaller steps automatically
Result verification Every output checked for accuracy before delivery
Long context handling Maintains memory across deep, multi-step conversations
4 Enterprise Connectors Connect to CRM and ERP systems directly
DataSync Engine Auto-sync data between any two systems
60 API routes REST + WebSocket + SSE streaming
103+ tests passing Core + connector test suites
Multi-LLM Ollama (local), OpenAI, Anthropic, OpenRouter
Production-grade infra Docker, Helm, K8s, ArgoCD, GitHub Actions
🛡️ SBOM Software bill of materials — full supply chain transparency
🛡️ OpenTelemetry Distributed tracing for production debugging
🛡️ Error tracking Production-grade error monitoring
🛡️ Prometheus metrics Real-time production observability
🛡️ Webhooks (outgoing) Signed, retry-capable event notifications
🛡️ Backup & restore CLI Encrypted, verifiable backups
🛡️ Disaster recovery Documented runbook with RTO/RPO targets
🛡️ License strategy AGPL v3 (open source) + Commercial dual-license

🏗️ One Platform. Every Level.

من الموظف إلى الرئيس — هرم متكامل من الذكاء السيادي.

🧑‍💼 TIER 1: ADAM PERSONAL

للمستخدم الفرد — موظف، باحث، محترف.

100% open source, يجري على أي جهاز. أتمتة مهام، 25 قناة تواصل، ذاكرة متعددة الطبقات، auto-fallback بين نماذج متعددة، 5 لهجات عربية صوت وكتابة، 7 thinking modes، 12 وعي awareness. يشتغل local بالكامل — بدون إنترنت.

🔗 TIER 2: ADAM CONNECTED

للمؤسسة — فرق، أقسام، أنظمة.

كل اللي في Tier 1 + Enterprise Connectors: يتكامل مع Salesforce, HubSpot, Odoo, SAP مباشرة. DataSync: يزامن البيانات بين أي نظامين تلقائياً. RBAC + SSO + Multitenant. 60 API route قابلة للتوسع. حلقة الوصل بين أنظمتك وبين ذكائك.

🏰 TIER 3: ADAM SOVEREIGN

للدولة — بنوك، حكومة، بنية تحتية حرجة.

كل اللي في Tier 1 + 2 + سيادة كاملة: Air-gapped — يشتغل من غير إنترنت خالص. النموذج مدرب على بياناتك — مش generic. Zero telemetry فعلي — مفيش أي اتصال خارجي. 3-layer security guard + WAF + Audit. الملكية كاملة بعد 18 شهر. أنت بتملكه — مش بتستأجره.


كل منافس بيخدم طبقة واحدة. احنا بنخدم الهرم كله.

الإمكانية Adam (كل الـ 3) ChatGPT Enterprise Claude Enterprise Microsoft Copilot
Tier 1: فردي
Tier 2: تكامل مؤسسات جزئي (Microsoft ecosystem)
Tier 3: سيادة كاملة

🎖️ Governance: Why We're Masters

الحوكمة عندنا مش feature — هي architecture. من أول سطر كود.

Every competitor treats governance as an add-on: "we'll add enterprise SSO later," "we have a moderation API," "we comply with SOC 2."
Adam was built from day one as a sovereign system. Governance is not bolted on — it's baked into every layer.

Governance Dimension How Adam Does It How Everyone Else Does It
Data location On YOUR machine — never leaves On THEIR cloud — always leaves
Telemetry Zero. No analytics SDK, no callback, no ping Always-on telemetry by default
Access control 5 roles, per-tenant quotas, RBAC, SSO (6 providers) Basic role assignment
Audit Every action logged, reviewable, exportable Opaque — you can't see inside
Network Air-gap native — runs with zero internet Internet required for every API call
Supply chain SBOM + signed releases + verifiable builds Closed source — you trust their word
Compliance You control compliance (HIPAA, GDPR, NERC-CIP) They control compliance — you hope
Ownership You own it after 18 months You rent it forever
Breach liability You're insured — limited exposure They're insured — you're the headline
Authentication API key + SSO + per-tool authorization API key only

🛡️ Every badge in this document marks a governance capability where Adam is the undisputed leader.


🧠 12 Consciousness Layers

Each layer is independent, documented, and tested — real code, not slides.

# Layer What It Does
1 Provider Management Auto-fallback between Ollama, OpenAI, Anthropic
2 Context Engine Builds context for long tasks — no lost memory
3 Security Guard 3-tier protection: input, output, tools
4 Tool Orchestration 38 tools + Dynamic Registry + T-A-O iterative loop + 9 categories + enterprise integration (CRM, ERP)
5 Iron Memory 4 layers: hot file + search + vectors + skills
6 Learning Engine Background auto-reviewer + skill creation from experience — improves over time
7 Ethics Gate 4 configurable value laws
8 Channel Hub 25 channels (WhatsApp, Telegram, Email, Slack...)
9 Subagent Teams Complex tasks split across agent teams
10 Voice Pipeline Speaks and understands Arabic (5 dialects)
11 Meta Learner GEPA pattern analysis + automated skill extraction from experience
12 Ethics Reflection Self-review — identity and values check

🛡️ Your Data. Your Server. Your Sovereignty.

Guarantee How to Verify
Zero telemetry No analytics, no callbacks, no third-party SDKs — verify yourself
Network isolation Runs in air-gapped environments — tested without internet
SSRF protection Internal network requests are blocked by default
Secure shell execution Command execution is sandboxed and restricted
3-Layer Guard Input, output, and tool-level security — all audited
WAF OWASP Top 10 attack protection — SQLi, XSS, path traversal, command injection, SSRF, and more
CORS Hardened Explicit origin allowlist — no wildcard, no credential leakage
CSP Grade A Content Security Policy with default-src 'self'
HSTS Strict-Transport-Security with max-age=31536000; includeSubDomains
Security Headers X-Frame-Options (DENY), X-Content-Type-Options (nosniff), X-XSS-Protection, Referrer-Policy, Permissions-Policy
Audit log Every action logged and reviewable
Encryption At-rest and in-transit, configurable
API key enforcement Production rejects unauthenticated requests

You can cut internet access entirely. Adam runs with Ollama locally — no cloud, no API, nothing external.


🏗️ Honest Comparison (With Respect)

We admire the work of every team in this space. They've solved real problems.
Here's how we see the field — and where Adam fits.

vs Open-Source Agent Frameworks

Adam Prism LangGraph CrewAI AutoGen OpenAI Agents SDK
Memory 4-layer — deep, extensible Limited Limited Limited Sessions
Channels 25 built-in
🛡️ Security 3-tier protection DIY DIY DIY ⚠️ Moderation
Ethics 4 configurable laws Usage policy
Self-Learning Learns from experience
Enterprise Integration 4 systems + sync
Voice 5 Arabic dialects ⚠️
100% Local Partial Partial Partial
Open Source AGPL v3 MIT MIT MIT
Native Apps 4 apps (Web, Mobile, Desktop, VSCode)
Tests Passing 103 ~50 ~30 ~40

vs Consciousness-First Agents

Adam Prism Hermes Agent OpenClaw Claude Code
Memory 4-layer 3 layers 3 layers 1 layer
Channels 25 6 9 1 (CLI)
🛡️ Security 3-tier Cmd approval Docker sandbox Limited patterns
Ethics 4 laws External
Learning Self-learning Self-learning Dreaming
Voice 5 Arabic dialects CLI + TG/Discord macOS/iOS
Industrial SCADA/DCS native
Native Apps 4 apps TUI macOS/Win + iOS/Android CLI

vs Cloud AI Assistants

Adam Prism ChatGPT Enterprise Claude Microsoft Copilot
🛡️ Data location Your machine — not their cloud OpenAI servers Anthropic servers Microsoft servers
Customization On YOUR data Limited Limited Limited
Arabic native ✅ Yes (5 dialects) Translation Translation Translation
🛡️ Compliance You control it OpenAI's policy Anthropic's policy Microsoft's policy
Cost (1000 users) $0-300k one-time $300-1,200k/year $250-500k/year $360k/year
🛡️ Breach risk Insured only $4.88M expected $4.88M expected $4.88M expected
🛡️ Air-gapped ✅ Yes

Why We Win (Without Trashing Anyone)

Each of these platforms is excellent at what they were designed to do.

  • LangGraph, CrewAI, AutoGen are brilliant frameworks for building your own agent. We respect that. But they're not finished products. Adam is a finished product.
  • Hermes Agent, OpenClaw are pioneers in consciousness-first design. They've shown the way. Adam builds on their insights and adds 9 more layers, 19 more channels, 4 native apps, and 12 years of industrial expertise.
  • OpenAI, Anthropic, Google are incredible at generic AI. We use their models. But their business model depends on you giving them your data. Adam's business model depends on you keeping it.
  • ChatGPT Enterprise, Microsoft Copilot are great for convenience. But convenience has a cost — and that cost is your sovereignty.

We're not better at what they do. We're the only ones doing what we do.


🔥 You Don't Need 19,830 Lines

First week? Use 10% only.

What You Want Typical Lines Needed
Talking Agent ~450
Security System ~420
Memory System ~220
WhatsApp Channel ~95
Voice Pipeline ~380
Ethics System ~215

Open one file. Understand the spirit. Add more when you need it.

That's modular design — every piece independent, every piece replaceable.


🌍 25 Channels — WhatsApp in 2 Minutes

Channel Setup Channel Setup
WhatsApp 5 min Email 3 min
Telegram 2 min SMS 5 min
Discord 3 min Signal 5 min
Slack 2 min Matrix 10 min
Teams 5 min WebSocket 2 min
WeChat 10 min GitHub 5 min
LINE 10 min Notion 5 min
Viber 10 min RSS 1 min

Built-in dashboard — connect any channel with one click.

📞 All 25 Channels

WhatsApp, Telegram, Discord, Slack, Email, SMS, Signal, Matrix, Mattermost, Teams, WeChat, LINE, Viber, IRC, XMPP, Twitter, Facebook, Instagram, GitHub, Notion, RSS, Web Chat, WebSocket, Generic Webhook, Google Chat

Every channel = BaseChannel subclass. Add your own in 50 lines.


🚀 30 Seconds and It's Running

git clone https://github.com/othmastar/adam-prism
cd adam-prism && bash bin/install.sh
# → http://localhost:8000

That's it. No 20-step setup. No tangled config files. No surprises.


🏰 The Company Behind Adam: Sovereign Neural Fortresses

Adam is the receipt. The company is the business.

Sovereign Neural Fortresses is the company I (Mohamed Othman) founded to provide digital sovereignty for organizations that can't afford to be the next breach headline.

The Track Record (6 Production Systems Before Adam)

# System Industry Status
1 Yokogawa SCADA RAG Industrial / Energy ✅ Production
2 Pharmacy WhatsApp Automation (300+ groups) Pharmaceutical ✅ Delivered
3 Raafat the Lawyer (40+ iterations) Legal Services ✅ Built
4 20+ n8n Workflow Automations Cross-industry ✅ Foundation
5 11+ Arabic Narrative Stories (Ahmed Tawfik style) Content ✅ Published
6 400M-Token Personal Knowledge Base (170+ topics) Foundation ✅ Curated
7 Adam Prism (this repo) Sovereign AI Platform ✅ Production-ready

Six Industries We Serve

Industry Pain Sovereign Solution
Energy / Oil & Gas SCADA exposure, downtime Real-time anomaly detection, predictive maintenance
Pharmaceutical Drug tracking, regulatory compliance WhatsApp automation, document analysis, audit trail
Legal Services Document review at scale, confidentiality Local Q&A on case law, secure document processing
Healthcare Patient data privacy, HIPAA Air-gapped patient records analysis, no cloud exposure
Finance / Banking Regulatory fines, data leakage On-premise transaction analysis, sovereign compliance
Logistics / Supply Chain Operational complexity, fraud Real-time tracking, pattern detection, internal threat hunting

Engagement Models (4 Tiers)

Tier Duration Deliverable Investment
Sovereign AI Audit 2 weeks 50-page report + blueprint Fixed price
Pilot 8 weeks Working system + ROI analysis Per scope
Full Fortress 16 weeks Production system + training Per scope
Strategic Partnership Ongoing Quarterly review + SLA Annual

The ROI (For a Mid-Size Energy Company, 1000 Employees)

Cost Cloud AI Sovereign AI Savings
Annual licensing $360,000 $0 (in-house) $360,000
Breach risk (5%) $4.88M expected $0.05M (insurance) $4.83M
Compliance fines (2%) $1M expected $0.1M $0.9M
Vendor lock-in $500k switching cost $0 $500k
Year 1 Total $6.74M $150-300k $6.4M+

Payback: 4-8 weeks.


📞 The First Conversation is Free

The first breach is not.

🌐 Website sovereignneuralfortresses.com
💼 LinkedIn linkedin.com/in/othmastar
🐙 GitHub github.com/othmastar/adam-prism
📧 Email [email protected]
📱 WhatsApp / Telegram +20 100 292 6918

3 channels. 1 founder. Response time: 24 hours.


💖 Support Adam's Development

Building sovereign AI takes 12 years of industrial expertise and years of focused engineering.

If Adam helped you — or if you want to support its open-source development and host the public demo — consider sponsoring:

🇪🇬 ادعم تطوير آدم

بناء ذكاء اصطناعي سيادي يحتاج 12 سنة خبرة وسنوات من العمل المركز
لو آدم ساعدك أو عايز تدعم تطويره، ادعمني:

💳 PayPal (the only sponsor channel)

👉 https://www.paypal.com/ncp/payment/J9E7EYRKSYJ68

  • One-time payment (you set the amount)
  • Recurring: set up a monthly subscription
  • 3-5% fees (PayPal's standard)
  • Works with most payment methods (card, PayPal balance, Apple Pay, Google Pay)
  • Official PayPal hosted checkout

See SPONSORS.md for the full details.

What your support covers:

  • 🌐 Demo hosting — the public Adam demo (free for everyone)
  • 🖥️ Ollama GPU server — running Adam's full LLM 24/7
  • 📚 Documentation — Arabic-first docs, tutorials, examples
  • 🔓 Open source — keeping Adam free under AGPL v3
  • 🏰 Sovereign AI fortresses — building deployable systems for critical infrastructure

No pressure. If you can't support financially, you can still help by:

  • ⭐ Starring the GitHub repo
  • 🐛 Reporting bugs or suggesting features
  • 📣 Sharing Adam with someone who needs sovereign AI
  • 🌍 Translating docs to your language

Every contribution counts. Every star counts. شكراً. 🙏


🚀 Quick Start (No Technical Background)

Want to try Adam but don't have technical background? See USER_GUIDE.md for step-by-step instructions for Windows, Mac, and Linux — with screenshots descriptions and no jargon.

TL;DR for everyone:

  1. Open adam-prism.online in your browser
  2. Type a message in Arabic or English
  3. Press Enter
  4. Done! ✨

🛡️ The License

Code (this repo) AGPL v3 — free for personal, educational, internal use
Code (full version) Custom proprietary — distributed privately under NDA
Commercial SaaS See COMMERCIAL_LICENSE.md for 3 tiers

See:


💎 The One-Liner

Adam Prism — أول Digital Twin واعٍ عربي. ملكك بالكامل. داخل جدرانك.

Adam Prism — the first Arabic-conscious Digital Twin. Yours to own. Inside your walls.


Adam Prism

Built in Egypt. For the world. By Mohamed Othman.

صُنع في مصر. للعالم. بواسطة محمد عثمان.

🐙 GitHub — code & architecture🌐 Website — enterprise inquiries💼 LinkedIn — founder

Reviews (0)

No results found