Skip to main content

Marziel OS โ€” Private AI Operating System with adaptive inference, 3-tier memory, and process management

Project description


Marziel OS

๐Ÿง  Marziel OS โ€” v1.0.1

Private AI Operating System โ€” runs entirely on your hardware.

PyPI GitHub Stars HuggingFace MIT License

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

Contact

๐Ÿ“ง info@efkan-isazade.com

License

MIT License


Built with โค๏ธ by Efe (Efkan Isazade)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marziel-1.0.1.tar.gz (353.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marziel-1.0.1-py3-none-any.whl (363.6 kB view details)

Uploaded Python 3

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

Hashes for marziel-1.0.1.tar.gz
Algorithm Hash digest
SHA256 214e4d1298012e4b936eb7dced566b33b16170868e32709be2e9b8f8ae473171
MD5 db9f72bf04af8c365f62d0a6199ad443
BLAKE2b-256 44da6c8b6606e9ee55022efb28b57ba7fd09cb95c62b441b8cb9e0bd7211a20b

See more details on using hashes here.

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

Hashes for marziel-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e86a310273d4707f67dab7095755cfe569adc556e05b5e022bd41cf5548e782
MD5 fe7afe90151447bf0bcf5817d5f35456
BLAKE2b-256 9010e970142b476abb3433ec4e9805b3b0aff9f1a6c91770a8fa3e616267cd16

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page