See the model. See the cost. See the route.
An AI Control Plane built for operators who value control over convenience — a pure-Python continual-learning router (
EWC + Replay + A-GEM), SQLite Memory Vault, 8 GB Hardware-Fit Advisor, and$0.00-locked multi-cloud workstation with zero PyTorch or Docker.
Most multi-model AI wrappers just forward your API key. MemoryOS // Jupiter Studio puts a 3,246-parameter pure-Python continual-learning neural router (Frank-v1) and a persistent SQLite Memory Vault in front of your local runtimes (Ollama, Lemonade Server, vLLM/Flare) and cloud providers (OpenAI, Google Gemini Interactions v1, AMD Token Lab, Groq, OpenRouter, Cerebras, NVIDIA NIM, DigitalOcean MI300X, Hugging Face Router) — so you can teach it new routing phrasing, compare models side-by-side in Dual Arena, and keep your GPU free for games and local builds.
Don't trust pre-recorded claims — clone the repository and run the single-command live verification runner on your own CPU/GPU:
git clone https://github.com/JupiterIsland/memoryos.git
cd memoryos
python3 -B verify.py # Full 21-module check, NEON 5/5, 171 CI tests & live EWC benchmarks
python3 -B verify.py --quick # ~3s smoke check (skips full unittest suite)
python3 -B verify.py --json # Machine-readable hardware + benchmark outputverify.py prints your OS, CPU, live GPU, date, NEON_SINGLE_FILE.py certification, exact test count, and live Naive SGD vs Sparse Replay-Only vs EWC + Replay + A-GEM forgetting numbers measured right then on your machine.
- Frank-v1 Continual-Learning Router (
src/memoryos/frank.py):- Pure-Python
128->24->6Hashing N-Gram MLP (3,246params,0 MBGPU VRAM, sub-millisecond CPU inference). - Teach Frank (
POST /api/frank/teach) learns new phrasing across 6 routing intents (fast_code,architecture,large_design,cheap_bg,vram_reclaim,memory_pin) using EWC + Experience Replay + A-GEM half-space gradient projection, paired with an out-of-distribution (OOD) confidence guard and Vault-priority routing.
- Pure-Python
- Speculative Offload Continual Net (
src/memoryos/speculative_offload.py):- Incremental
4->8->1pure-Python continual MLP with Elastic Weight Consolidation (Fisher diagonal anchoring,MAX_FISHER_VALUE = 25.0) + Experience Replay, SHA-256 checkpoint verification (schema_version = 2),.json.corruptquarantine recovery, OOD abstention, and replay provenance quarantine.
- Incremental
- Persistent SQLite Memory Vault & Threads (
src/memoryos/memory_keeper.py):- Pin rules, hardware limits, and architectural context once into
QuietAdvisorDB.sqlite(continual_memory_facts, WAL mode) so every model recalls them automatically. Full multi-turn thread history with collapsible reasoning traces lives in/api/sessions. - Free VRAM (
keep_alive: 0): Safely queries localhost Ollama (/api/ps) to unload idle weights and runsgc.collect()on Studio's own Python process before launching a game or heavy compile (never kills user processes or claims to free arbitrary OS/other-app RAM).
- Pin rules, hardware limits, and architectural context once into
- Dual Arena, OpenAI
/v1Failover Gateway & Multi-Provider Routing (src/memoryos/router.py):- Compare any two local or cloud models side-by-side (
OpenAI,Google Gemini Interactions v1,AMD Token Lab,Groq,OpenRouter,Cerebras,NVIDIA NIM,DigitalOcean MI300X,HF Router,AMD Lemonade Server,vLLM/Flare,Ollama, orFrank-v1) and keep the winner in one click. - Exposes a local OpenAI-compatible failover gateway (
GET /v1/models,POST /v1/chat/completions, sync + SSE) onhttp://127.0.0.1:7860/v1that cascades from primary target -> local Ollama (qwen2.5-coder:7b) -> built-inFrank-v1($0.00). - Works out of the box with zero
.envkeys and zero Ollama installed using built-inFrank-v1+ the local Memory Vault.
- Compare any two local or cloud models side-by-side (
- NEON Control Plane (
src/memoryos/control_plane.py+NEON_SINGLE_FILE.py):- Circuit breakers (
CLOSED -> OPEN -> HALF_OPEN -> CLOSED), SHA-256 hash-chained SQLite ops ledger, crash recovery engine, and zero-exec declarative plugin packs (ALLOWED_EXECUTORSallowlist + enforcedallow_network: false).
- Circuit breakers (
For planned work vs experimental helpers (NPU execution, static UI split, brand rename audit in docs/NAME_RESEARCH.md), see docs/ROADMAP.md.
New here? Follow the 5-minute zero-spend walkthrough in
QUICKSTART.md(git clone-> live Frank routing, Hugging Face 8 GB GGUF models, and browser video scene indexing at$0.00).
git clone https://github.com/JupiterIsland/memoryos.git
cd memoryos
cp .env.example .env # Optional: add API keys only for cloud providers you want to use
python3 -B apps/jupiter_studio.pyOpen http://127.0.0.1:7860. See RUN_MODELS.md for model setup commands (Ollama, Lemonade Server, OpenAI, Google Gemini, AMD Token Lab, etc.) and HOW_TO_USE_JUPITER_STUDIO.md for WSL2 networking notes.
Download release archives from GitHub Releases:
- Windows x64: Extract
JupiterStudio-Windows-x64.zip-> runJupiterStudio.exe --workspace "C:\path\to\repo" - macOS (Apple Silicon):
tar -xzf JupiterStudio-macOS-arm64.tar.gz->./JupiterStudio-macOS-arm64/JupiterStudio --workspace ~/projects/repo - Linux x64:
tar -xzf JupiterStudio-Linux-x64.tar.gz->./JupiterStudio-Linux-x64/JupiterStudio --workspace ~/projects/repo
Windows SmartScreen Notice: Release
.exebinaries are built with PyInstaller and are currently unsigned, so Windows Defender SmartScreen or antivirus heuristics may warn on first launch. Verify the archive hash againstSHA256SUMS.txton the release page, or use Option 1 (Run From Source) with plain Python.
PYTHONPATH=.:src python3 -B -m memoryos.memory_keeper status # Live GPU VRAM/power, host RAM, vault summary
PYTHONPATH=.:src python3 -B -m memoryos.memory_keeper reclaim # Unload idle localhost Ollama weights & run Studio Python GC
PYTHONPATH=.:src python3 -B -m memoryos.memory_keeper train # Train EWC continual router & save SHA-256 verified checkpoint
PYTHONPATH=.:src python3 -B -m memoryos.memory_keeper audit # Run Naive SGD vs EWC+Replay anti-forgetting auditWhen auto:d3 is active, Jupiter Studio routes workloads based on Frank-v1 intent, context footprint, and live provider readiness:
| Workload Type | Primary Route | Secondary / Cloud Failover | Local Offline Fallback |
|---|---|---|---|
| Fast Coding & Diffs | Groq (llama-3.3-70b-versatile) |
Cerebras / Token Lab Qwen3.8-27B / Gemini (gemini-3.8-flash) |
Lemonade Server / Ollama |
| Architecture Reviews | AMD Token Lab (DeepSeek-V4.1-Flash) |
OpenRouter / Gemini (gemini-4-argon) / OpenAI (gpt-4o) |
Lemonade Server / Ollama |
| Large Design Docs & Vision | AMD Token Lab (Gemma-4-31B-IT) |
OpenRouter / NIM / Gemini (gemma-4-31b-it) |
Lemonade Vision / Ollama |
| Cheap Background Tasks | AMD Token Lab (MiniCPM5-2B) |
Groq / Cerebras / Gemini (gemini-3.5-flash-lite) |
Built-in Frank-v1 / Local runner |
Direct cloud selection supports OpenAI Cloud (gpt-4o-mini, gpt-4o) and Google Gemini API (Interactions API v1: gemini-4-argon, gemini-3.8-flash, gemini-3.6-flash, gemini-3.5-flash-lite, gemma-4-31b-it).
Obsidian Graphite Glass (DARK) |
Purple Glass (PURPLE GLASS) |
Arctic Frosted Glass (LIGHT) |
|---|---|---|
![]() |
![]() |
![]() |
Live Memory Vault Recall (Frank-v1 · 0 MB VRAM) |
Side-by-Side Dual Arena (Qwen3.8-27B vs Gemma-4-31B-IT) |
|---|---|
![]() |
![]() |
| Router-First Operations & FrankHub | Personal Intelligence Control Centre (NEON 5/5) |
![]() |
![]() |
flowchart TD
UI["Client Workstation Layer<br/>Jupiter Studio UI • Memory & EWC Audit • Dual Arena • Ctrl+K Palette"]
L1["Layer 1: Host Gate, Continual Router & Memory Keeper<br/>CPU Stride-Sampled MSE Gate • Frank-v1 EWC/A-GEM + Speculative MLP<br/>SQLite WAL Store (Sessions, Memory Vault, Replay Buffer, Energy Ledger)"]
L2["Layer 2: Probabilistic & Workload Cascade<br/>Intent Classifier + d3 Aux-Router + Hydra Circuit Failover"]
L3["Layer 3: Multi-Provider Inference Pool<br/>Cloud: OpenAI • Google Gemini (Interactions v1) • AMD Token Lab • Groq • OpenRouter • Cerebras • NVIDIA NIM • DO MI300X • HF<br/>Local: AMD Lemonade Server (:13305) • DGX Spark (vLLM/Flare) • Ollama (:11434)"]
UI --> L1 --> L2 --> L3
Every claim below is live-reproducible via python3 -B verify.py (tests/test_memory_keeper.py, tests/test_frank.py, tests/test_control_plane.py, NEON_SINGLE_FILE.py, PROOF_OF_RESULTS.md):
| Verification / Benchmark | Scope & Condition | Observed Result (Run verify.py to Reproduce) |
|---|---|---|
| CI Unit & Adversarial HTTP Suite | 17 CI modules (tests/test_studio_adversarial.py SSRF, range, fuzz, 24-thread stress, /v1 failover) + NEON_SINGLE_FILE.py (5/5) |
171 / 171 passed (OK) — see docs/BENCHMARK_BASELINE.md |
Naive SGD vs Sparse Replay vs EWC (4->8->1) |
Synthetic Task A -> Task B -> Task C & exact 4-sample sparse-replay control arm (tests/test_memory_keeper.py) |
Naive SGD 0%; 4-sample Replay-Only 50%; EWC + 4-sample Replay 100% |
Frank-v1 (128->24->6) Live Teaching |
Teaching 1 unseen phrase vs 36 core curriculum intents (epochs=45, lr=0.25) |
EWC + Replay + A-GEM 94.4% retained vs Naive SGD 25.0% (~0.2–0.4 ms CPU predict) |
| Speculative MLP Forward Latency | 500–1,000 pure-Python 4->8->1 forward passes |
~5–8 us avg (<0.2% of a 6.94 ms 144 Hz frame budget) |
| CPU Frame-Skip MSE Gate | 200 iterations pure-Python stride-sampled MSE on 64x36 reference frame (zen3_fast_mse_delta) |
~0.10–0.13 ms avg (dynamically measured per launch; zero hardcoded latency) |
| Checkpoint Tamper & OOD Defense | Mutated weight SHA-256 check; inputs outside [-0.05, 1.25] |
Tampered checkpoints raise ValueError + .corrupt quarantine; OOD abstains to digest |
The author collects zero analytics, crash reports, or usage telemetry. Data flows only to runtimes you configure:
| Destination | What Leaves Your Machine | Notes |
|---|---|---|
Built-In Local (Frank-v1, Vault, Sessions, NEON Ledger) |
Nothing | Stored locally in QuietAdvisorDB.sqlite and local checkpoints |
Local Runtimes (Ollama, Lemonade Server, vLLM/Flare) |
Prompt + pinned Vault / attached files | Sent to loopback 127.0.0.1 endpoints on your PC |
Cloud Providers (OpenAI, Gemini, Token Lab, Groq, etc.) |
Prompt + pinned Vault facts + files/images you attach | Sent ONLY to providers whose API key you add to .env and invoke |
- Loopback by Default, LAN Only on Request: Both
apps/jupiter_studio.pyandsrc/memoryos/server.pybind to127.0.0.1by default and refuse non-loopback binds (0.0.0.0,::, empty host) unless--unsafe-lanis passed. LAN mode in Studio always requires a random per-launch token (?t=...->HttpOnly; SameSite=Strictcookie) over plain HTTP. - DNS-Rebinding & CSRF Protection: Both servers reject foreign
Host,Origin,Referer, andSec-Fetch-Site: cross-siterequests withHTTP 403. - Local Process Trust (Honest Limit): Default loopback mode uses no token, so other processes running under your OS user account can call
127.0.0.1:7860(the same account can read.env). Pass--require-token(orJUPITER_STUDIO_REQUIRE_TOKEN=1) to enforce the launch token on loopback too. - Workspace Containment & Secret Safety Net:
WorkspacePackresolves paths (including symlinks) inside the workspace root and filters.env,.pem,.key,.p12,.pfx,.htpasswd, SSH keys, andcredentials.json. This blocklist is a safety net, not a guarantee — review files before attaching them. - NEON Zero-Exec Sandbox: Plugins select only whitelisted
ALLOWED_EXECUTORS(noexec/eval/importlib),DeclarativePluginLoaderrejectsallow_network: true, manifest SHA-256 catches accidental corruption, and execution budgets enforce caller-side timeouts with post-hoc CPU accounting. SeeSECURITY.mdto report vulnerabilities privately.
How is this different from LiteLLM or OpenRouter?
OpenRouter and LiteLLM focus on unified API proxying. Jupiter Studio is a local-first workstation built around a tiny continual-learning CPU router (Frank-v1), persistent SQLite memory/threads, Dual Arena side-by-side comparison, local Ollama VRAM unloading, and an auditable control plane — with direct API routing (urllib, zero gateway middleman) across both local and cloud backends.
Why a 3,246-parameter pure-Python neural net instead of calling an LLM router?
A local 6-class router running on CPU (~0.2–0.4 ms, zero GPU VRAM, zero external ML packages) can be updated interactively in milliseconds (Teach Frank) and re-tested on demand without downloading gigabytes of weights or waiting on a remote inference round-trip.
What does Frank actually decide, and what is learned vs heuristic?
Learned: Frank-v1 classifies prompts into 6 intents (fast_code, architecture, large_design, cheap_bg, vram_reclaim, memory_pin) using trained hashing n-gram MLP weights updated via EWC + Replay + A-GEM. SpeculativeOffloadModel (4->8->1) learns skip/digest/offload thresholds. Heuristic / Rule-based: OOD confidence abstention (< 0.55 on action intents falls back to generative routing), Vault-priority model-family matching (if pinned facts name a family), and the provider failover cascade.
How is this maintained? Can I contribute?
This is a solo open-source project — GitHub Issues and PRs are triaged weekly, and questions/ideas belong in GitHub Discussions. PRs with unit tests passing python3 -B verify.py are welcome; see CONTRIBUTING.md.
- verify.py — Reproducible local verification & live forgetting benchmark CLI
- docs/BENCHMARK_BASELINE.md — Reproducible
v2.2.1hardware & adversarial benchmark baseline (Ryzen 7 5800H+RTX 3070 8 GB) - SECURITY.md — Vulnerability reporting & honest security scope
- CONTRIBUTING.md — Maintainer cadence, architecture rules & PR checklist
- RUN_MODELS.md — Setup cheat sheet for Ollama, Lemonade, OpenAI, Gemini & cloud keys
- docs/ROADMAP.md — Shipped today vs experimental / planned features
- docs/NAME_RESEARCH.md — Brand collision audit before final v2 rename
- FRANKHUB.md —
Frank-v1specs & project lineage - PROOF_OF_RESULTS.md — Recorded AMD Token Lab export & hardware audit
- HOW_TO_USE_JUPITER_STUDIO.md — Plain-English setup walkthrough & WSL2 notes
MIT — see LICENSE.







