Marziel OS โ Private AI Operating System with adaptive inference, 3-tier memory, and process management
Project description
One command to boot your own AI OS โ with MarzielFlow adaptive inference, 3-tier encrypted memory, and autonomous process management.
Marziel OS is a private AI operating system that transforms your machine into an intelligent, self-managing system. It features an AI kernel with persistent event loop, 3-tier memory (working โ long-term โ episodic), Unix-like process management, MarzielFlow adaptive inference optimization (T/Z distribution quantization, fuzzy logic, attention sink), TurboQuant KV cache compression, real-time maritime intelligence, and 12-route semantic intent routing โ all without sending a single byte to the cloud.
Quick Install
pip install marziel
marziel serve
That's it. The right engine is auto-installed for your hardware. The first run downloads the model from Hugging Face. Everything is automatic.
What's New in v1.0.1
๐ง Marziel OS โ The AI Kernel
Marziel is no longer just a chatbot. It's now a persistent operating system with:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ง Marziel OS v1.0 โ Private Intelligence OS โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Kernel: active (heartbeat: 60s)
Engine: marziel-v6 (CUDA, 52.9 tok/s)
Flow: 5 components (T/Z + ABQ + Fuzzy + Sink + Spec)
Memory: working=0 | long-term=2.4KB | episodic=156KB
Processes: 0 running, 0 queued
Security: Sentinel active (anti-fingerprint, encrypted)
๐ฌ MarzielFlow โ 5-Component Adaptive Inference
| Component | What It Does | Impact |
|---|---|---|
| Speculative Decoding | Prompt lookup draft/verify | Higher throughput |
| T/Z Distribution Quantization | Per-layer distribution detection + Lloyd-Max boundaries | Better quality at lower bits |
| Adaptive Bit-Width (ABQ) | 2/3/4-bit per layer by sensitivity | 2.88-bit avg, memory savings |
| Fuzzy Logic Controller | Mamdani-style adaptive resource control | Smooth parameter adaptation |
| Attention Sink Cache | StreamingLLM: 4 sink tokens + 1024 rolling window | 75% memory savings |
๐ฅ๏ธ OS API
GET /os/status โ Full kernel + engine + memory status
GET /os/memory โ 3-tier memory (working, long-term, episodic)
GET /os/ps โ Process list (like Unix ps)
GET /os/top โ Real-time resource monitor
POST /os/recall โ Semantic memory recall
POST /os/remember โ Store encrypted persistent memory
POST /os/schedule โ Schedule recurring tasks
POST /os/kill/:pid โ Kill a process
Features
| Feature | Description |
|---|---|
| ๐ง AI OS Kernel | Persistent event loop, heartbeat, task scheduler, signal bus |
| ๐พ 3-Tier Memory | Working (volatile) โ Long-Term (AES-256 encrypted) โ Episodic (permanent summaries) |
| โ๏ธ Process Manager | Unix-like ps, top, kill with priority scheduling |
| ๐ฌ MarzielFlow | 5-component adaptive inference optimization pipeline |
| โก TurboQuant | PolarQuant + QJL 3-bit KV cache compression (3x memory reduction) |
| ๐ง AI Chat | Conversational AI with personality, code generation, data analysis |
| ๐ก Maritime Intelligence | Real-time GDACS, GDELT, NASA EONET, AIS, market data, bunker prices |
| ๐ฐ Market Data | Live Brent crude, BDI, EU Carbon, freight rates, forex, 12-port bunker prices |
| ๐ข Vessel Integration | AIS tracking, fleet management, voyage data, maintenance records |
| ๐ Third-Party Connectors | MarineTraffic, VesselFinder, Spire, Datalastic, or any REST API |
| ๐ Web Search | Live internet results via DuckDuckGo โ always up-to-date answers |
| ๐ Browser Control | Headless Chromium automation โ navigate, click, type, screenshot |
| ๐ URL Analysis | Share any link โ reads, extracts, and analyzes content |
| ๐ GitHub Analysis | Paste any repo URL โ get architecture, languages, README analysis |
| โก Autonomous Agent | Multi-step reasoning with bash, file, web, browser, and maritime tools |
| ๐ Hybrid RAG | Upload documents โ reasoning + vector search โ answers with citations |
| ๐ 100% Private | Everything runs locally. Zero cloud dependency |
| ๐ก๏ธ Sentinel Security | Anti-fingerprinting, encrypted storage, secure memory wipe, zero telemetry |
Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MARZIEL OS v1.0 โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ INTENT SHELL (12 semantic routes) โ โ
โ โ "check vessels" โ parse โ schedule โ report โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โโโโโโโโโโโโโโ โโโโโโโโโโผโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โ
โ โ PROCESS โ โ KERNEL โ โ MEMORY MANAGER โ โ
โ โ MANAGER โ โ โ โ โ โ
โ โ โ โ Event Loop โ โ Working Memory โ โ
โ โ Task Queue โโโโค Scheduler โโโบโ Long-Term (AES) โ โ
โ โ PID Table โ โ Signal Bus โ โ Episodic (JSONL) โ โ
โ โ Lifecycle โ โ Heartbeat โ โ Semantic Recall โ โ
โ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ INFERENCE ENGINE โ โ
โ โ MarzielEngine + MarzielFlow + TurboQuant โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โ โ T/Z Quant โ ABQ โ Fuzzy โ Sink Cache โ Spec Dec โ โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ NEURONS (Axon + Dendrite + 8 Synapse types) โ โ
โ โ SENTINEL (Security: anti-fingerprint, encrypted vault) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ YOUR MACHINE โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Maritime Intelligence (Enterprise)
Marziel integrates real-time maritime data from multiple global sources:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MARZIEL MARITIME INTEL โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ OSINT (Free APIs) โ Platform Integration โ
โ โโโโโโโโโโโโโโโโโ โ โโโโโโโโโโโโโโโโโโโโ โ
โ ๐ก GDACS โ Disasters โ ๐ข Fleet Vessels โ
โ ๐ฐ GDELT โ Geopolitics โ ๐บ๏ธ Active Voyages โ
โ ๐ NASA EONET โ Climate โ โ ๏ธ Risk Zones โ
โ ๐ฐ Yahoo Finance โ Market โ ๐๏ธ Maintenance โ
โ ๐ฑ ExchangeRate โ Forex โ ๐ Incidents โ
โ ๐ข AISStream โ Tracking โ โฝ Fuel Records โ
โ โ ๐ญ Port Directory โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Third-Party Connectors (Enterprise) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ MarineTraffic ยท VesselFinder ยท Spire Maritime โ
โ Datalastic ยท OpenWeather ยท Custom REST API โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Maritime API Endpoints
GET /api/maritime/report โ Full intelligence report
GET /api/maritime/data/market โ Live market data
GET /api/maritime/data/bunker โ 12-port bunker prices
GET /api/maritime/data/fx โ Exchange rates
GET /api/maritime/data/gdacs โ Disaster events
GET /api/maritime/data/gdelt โ Geopolitical news
GET /api/maritime/data/nasa โ Natural events
GET /api/maritime/data/ais โ Vessel tracking
GET /api/maritime/data/vessels โ Fleet data
GET /api/maritime/data/voyages โ Voyage data
GET /api/maritime/data/risk-zones โ Active risk zones
GET /api/maritime/data/ports โ Port directory
GET /api/maritime/connectors โ List connectors
POST /api/maritime/connectors/query โ Query third-party services
Requirements
- RAM: 8GB minimum (16GB recommended)
- Disk: ~5GB for the model
- Python: 3.10โ3.14
- Supported platforms:
| Platform | Engine | Model | Auto-installed |
|---|---|---|---|
| Apple Silicon (M1โM4) | MLX | MLX 4-bit (4.5GB) | mlx-lm |
| NVIDIA GPU (any) | Marziel Engine | GGUF Q4_K_M (4.8GB) | llama-cpp-python |
| CPU (any x86/ARM) | llama.cpp | GGUF Q4_K_M (4.8GB) | llama-cpp-python |
- Linux: Ubuntu, Debian, Arch, Fedora, RHEL, Alpine โ any distro with glibc
- macOS: Intel (llama.cpp) or Apple Silicon (MLX)
- Windows: WSL2 recommended
Usage
# Install and boot
pip install marziel
marziel serve
# Check OS status
curl http://localhost:8001/os/status
# Store a memory
curl -X POST http://localhost:8001/os/remember \
-H "Content-Type: application/json" \
-d '{"key": "preference", "value": "maritime focus", "tier": "long_term"}'
# Recall a memory
curl -X POST http://localhost:8001/os/recall \
-H "Content-Type: application/json" \
-d '{"query": "preference", "tier": "auto"}'
# Schedule a recurring task
curl -X POST http://localhost:8001/os/schedule \
-H "Content-Type: application/json" \
-d '{"name": "vessel_monitor", "interval_seconds": 300}'
# Process management
curl http://localhost:8001/os/ps # List processes
curl http://localhost:8001/os/top # Resource monitor
Then open http://localhost:8001 โ your private AI OS dashboard.
Pricing
| Plan | Price | Features |
|---|---|---|
| Free | โฌ0/mo | AI Chat, Web Search, URL Analysis, GitHub Analysis, OS Status |
| Pro | โฌ20/mo | + Agent Mode, Browser Control, Process Management, Scheduling |
| Enterprise | โฌ199/mo | + Maritime Intelligence, Connectors, Reports, Custom Fine-tuning |
Links
- ๐ Website: marziel.com
- ๐ป GitHub: github.com/efops/marziel
- ๐ค Model: huggingface.co/efops/marziel-8b-custom
- ๐ฆ PyPI: pypi.org/project/marziel
Contact
License
MIT License
Built with โค๏ธ by Efe (Efkan Isazade)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file marziel-1.0.1.tar.gz.
File metadata
- Download URL: marziel-1.0.1.tar.gz
- Upload date:
- Size: 353.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
214e4d1298012e4b936eb7dced566b33b16170868e32709be2e9b8f8ae473171
|
|
| MD5 |
db9f72bf04af8c365f62d0a6199ad443
|
|
| BLAKE2b-256 |
44da6c8b6606e9ee55022efb28b57ba7fd09cb95c62b441b8cb9e0bd7211a20b
|
File details
Details for the file marziel-1.0.1-py3-none-any.whl.
File metadata
- Download URL: marziel-1.0.1-py3-none-any.whl
- Upload date:
- Size: 363.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e86a310273d4707f67dab7095755cfe569adc556e05b5e022bd41cf5548e782
|
|
| MD5 |
fe7afe90151447bf0bcf5817d5f35456
|
|
| BLAKE2b-256 |
9010e970142b476abb3433ec4e9805b3b0aff9f1a6c91770a8fa3e616267cd16
|