01 — THE PYRAMID

3 levels. One platform. Serves them all.

1

CEO

Strategic intelligence. Sovereign decisions. Audit-grade answers.

2

Managers

Operational excellence. Workflow automation. Multi-agent orchestration.

3

Employees

Daily productivity. Domain expertise. Native Arabic. Instant answers.

02 — CONSCIOUSNESS

12 consciousness layers. Each one documented in the code.

From Docker container to Generation Core. Each layer has one purpose, one file, and a specific permission.

01

Air-Gap Container

Docker + seccomp + Linux namespaces. No network egress by default. Runs in closed subnets. Container has no DNS resolution.

02

Network Egress Lock

Outbound filtering at application level. You specify allowed IPs. Everything else is blocked. SSH and DNS are filtered too.

03

Ethics Gate

4 laws: Justice, Learning, Survival, Creativity. Weighted constraints, not soft suggestions. Threshold 0.55. Below → action blocked.

04

Security Guard

anti-prompt-injection + WAF. Detects "ignore previous instructions" and refuses. 6 protection layers.

05

SSRF Shield

IP filtering. DNS rebinding protection. No private IP ranges. Blocks AWS metadata (169.254.169.254).

06

Sandbox

Python execution with restricted __builtins__ (22 functions only). No import. No subprocess. No file system access.

07

Iron Memory

4 layers: Hot cache + FTS5 + Qdrant + Skills. Remembers 90 days. Context never lost.

08

Context Compiler

Headroom AI compression. Fits 100K tokens into 8K window without loss. Manages context length dynamically.

09

Tool Manifest

32 tools in 7 groups. Each tool has a permission level. shell.dangerous = always-ask. file.read = auto-allow.

10

MCP Manager

Plugin protocol. Adds new tools without code changes. Add SAP connector → appears as native tool.

11

Provider Router

4 LLM providers + auto-fallback. Ollama, OpenAI, Anthropic, OpenRouter. If one down, another takes over.

12

Generation Core

Gemma 4 + custom LoRA. 2,317 training conversations. QLoRA fine-tuning. Understands Egyptian Arabic + MSA + jargon.

03 — TOOLS

32 tools in 7 groups.

Each tool has a permission level. Cannot exceed its parent layer.

Shell
5

5 tools: ls, cat, df, ps, touch, mkdir, cp in workspace. Sandbox-isolated.

File
6

6 tools: read, write, delete, download, disk space. 3 permission modes per file type.

Browser
5

5 tools via Playwright: open, fetch, click, type, read. Full browser automation.

Mouse & Keyboard
5

5 tools: click, move, scroll, drag, type, press. Always-ask permission by default.

Screen & Window
3

3 tools: screenshot, clipboard read/write, window control.

Knowledge & RAG
5

5 tools: notebook, knowledge search, vector search, hybrid search, RAG pipeline.

MCP & Workflow
3

3 tools: MCP server execution, subagent management, workflow execution.

04 — MEMORY

4 memory layers. Never loses context.

L1

Hot Cache

In-memory cache. milliseconds. For most-used data.

L2

FTS5

Full-text search. milliseconds. For keyword matching.

L3

Qdrant

Vector database. For semantic search. Embedding-based. 90-day history.

L4

Skills

Learned skills. Auto-generated by Adam from repeated interactions.

05 — SECURITY

5 security layers. 92% of 50 issues fixed.

Full security audit report available on GitHub. 50 issues found, 46 fixed.

🛡️

Permission Manager

19 permission categories. 3 modes: auto-allow, once, always-ask. Logged in audit log.

🔐

JWT Multi-User Auth

Multi-tenant. Each organization isolated. No cross-tenant data. No anonymous access.

📋

Persistent Audit Log

Every action logged. Persistent storage. No loss on restart. Auditable.

🐳

Container Isolation

Docker + seccomp + Linux namespaces. No network egress. Full process isolation.

⚖️

4 Ethics Laws

Justice, Learning, Survival, Creativity. weighted constraints. threshold 0.55. Not removable.

06 — CHANNELS

25+ integration channels.

Telegram, WhatsApp, Web Widget, Voice, CLI, REST API, WebSocket, SSE Stream — everything you need to reach your team or customers.

Telegram
WhatsApp
Slack
Microsoft Teams
Discord
Web Widget
Voice (STT + TTS)
CLI
REST API
WebSocket
SSE Stream
+ 14 more
07 — BY THE NUMBERS

98 API routes. 12 layers. 32 tools.

98
API routes
12
consciousness layers
4
memory layers
5
security layers
32
integrated tools
25+
channel integrations