9Router + Local Ollama + Native Windows Desktop

Claude’s interface.
Your models. Your machine.

Run the complete Claude.ai workspace—split-pane Artifacts, Projects, Extended Thinking, custom system prompts, and a local PC Vibe Coding Studio—backed by zero-cost Ollama models or 96+ cloud routes via 9Router.

git clone https://github.com/ahpah-dev/OpenClaude.git && cd OpenClaude && .\OpenClaude.exe
OpenClaude.exe — 127.0.0.1:3099
9Router :20128 Ollama :11434
PC WORKSPACE C:\Projects\app
▾ src/
server.ts
router.ts
schema.sql
index.html
package.json
Direct read/write on disk with 60-step Undo stack & native folder picker.
src/server.ts • Saved to PC ▶ Run File (Ctrl+Enter)
import express from 'express';
import { queryMetrics } from './router.js';

const app = express();

app.get('/api/health', async (_req, res) => {
  const stats = await queryMetrics();
  res.json({ ok: true, latencyMs: stats.p95 });
});

app.listen(4020, () => console.log('Listening on :4020'));
PS C:\Projects\app> npm test
✓ src/server.test.ts (6 assertions passed in 142ms)
✓ Process exited with code 0
VIBE AGENT AUTO-APPLY ON
Added /api/health with p95 latency reporting and verified the test suite on your machine.
edit_file · src/server.ts ✓ Applied
run_command · npm test Exit 0
Qwen3.5-Coder (Ollama) ↶ Undo Last Edit
Build an interactive quarterly latency & cost telemetry dashboard as a React Artifact.
▾ Thought for 2.4s — Structuring responsive KPI grid, SVG bar series, and export controls.
Here is the interactive telemetry dashboard. You can inspect or edit the JSX live in the right pane, test mobile viewports, or click Save to PC to write it straight into your Vibe Studio workspace.
< Branch 2 / 2 > • Style: Concise • System Prompt: Custom
Inference Telemetry Dashboard · v2 Preview | Code
Local Tokens/s
68.4
API Spend
$0.00
Active Routes
96
React 18 · Tailwind · Lucide Save to PC Workspace →
9ROUTER GATEWAY (:20128) AUTO-STARTED

Unified Cloud & Subscription Routing

OpenClaude installs and starts 9Router automatically, embeds its live dashboard, and syncs your API key in one click.

Tier 1 · Subscription OAuth claude-sonnet-4 / gpt-4.1
Tier 2 · Low-Cost API Fallback deepseek-v3 / glm-4.5
Tier 3 · Zero-Cost Fallback gemini-flash / openrouter:free
LOCAL OLLAMA (:11434) 0 KEYS REQUIRED

Offline GGUF Execution & Model Puller

Runs out of the box against local models on your GPU or CPU with live VRAM residency telemetry and in-app downloads.

Qwen3.5-Coder:Q4_K_M Loaded · GPU VRAM
DeepSeek-R1:8B (Reasoning) Extended Thinking Ready
Llama-3.3 / Gemma-3 Vision Multimodal Attachments
Capabilities

Everything in Claude.ai, plus direct local execution.

Built for engineers and writers who want Anthropic’s calm, high-craft workspace without cloud lock-in, forced telemetry, or per-seat limits.

01 / VIBE CODING STUDIO

Edit and run files directly on your PC

Point OpenClaude at any folder on your machine. Browse the file tree, edit across tabs, execute PowerShell/Node/Python commands in a streaming terminal, preview web apps live, and let the Vibe Agent apply multi-file changes with instant Undo.

write_file edit_file run_command 60-Step Undo 1-Click Error Fix
02 / ARTIFACTS SANDBOX

Live split-screen rendering & versioning

Streams interactive HTML5, React 18 + Tailwind + Lucide components, zoomable SVGs, Mermaid diagrams, and Markdown documents beside your chat. Includes responsive viewport presets, version history, and 1-click export to your PC workspace.

React 18 + JSX HTML / Three.js Mermaid SVG Zoom Save to PC
03 / DUAL-ENGINE ROUTING

9Router gateway + Local Ollama built in

Automatically installs and launches 9Router on :20128 and Ollama on :11434. Swap models mid-thread—use local GGUF weights offline or route across Claude, OpenAI, Gemini, and DeepSeek with automatic failover.

localhost:20128 localhost:11434 Embedded Dashboard In-App Model Puller
04 / CUSTOMIZATION & MEMORY

System prompts, Projects, Styles & Branching

Override the master or per-chat system prompt with live template variables. Organize persistent context inside Claude Projects, switch Writing Styles, inspect collapsible Extended Thinking traces, and branch any message non-destructively.

{{user_name}} {{model}} Projects RAG < 1 / 2 > Branching
Specifications

Concrete architecture. Plain local files.

No opaque cloud database or proprietary wrapper. Conversations, projects, and settings stay in readable JSON on your disk.

Desktop Application Native compiled Windows executable (OpenClaude.exe) with custom desktop shortcut icon, warm-parchment startup splash, chromeless app window, and Windows System Tray controller.
Model Backends Local Ollama (127.0.0.1:11434, zero API keys) and 9Router (localhost:20128/v1, 96+ OpenAI-compatible cloud & subscription routes).
Vibe Coding Protocol Structured <ocAction> streaming tags for write_file, edit_file, read_file, delete_file, and real-time SSE PowerShell execution with process tree cleanup.
Personalization First-launch display name onboarding, time-of-day literary greetings, warm parchment (#FAF9F5) & obsidian (#21201E) themes, custom Writing Styles, and full System Prompt editor.
License The Unlicense (public domain). Retains MIT copyright notice for 9Router integration.
Quick Start

Up and running in under a minute.

Clone the repository and launch OpenClaude.exe on Windows—or run the Node server on macOS, Linux, or Windows. 9Router and Ollama are detected and started automatically.

WINDOWS DESKTOP APP + DESKTOP ICON
git clone https://github.com/ahpah-dev/OpenClaude.git
cd OpenClaude
powershell -ExecutionPolicy Bypass -File .\Create-Desktop-Shortcut.ps1
.\OpenClaude.exe
CROSS-PLATFORM CLI (WINDOWS / MACOS / LINUX)
git clone https://github.com/ahpah-dev/OpenClaude.git
cd OpenClaude
npm install && npm run build && npm start