A local-first, privacy-first operating system for Prompt Engineering. Analyze, optimize, compare and learn — entirely on your machine.
Not another cloud prompt manager. PromptOS is a native desktop app that scores your prompts with a transparent, deterministic engine (no LLM required), helps you cut token costs, recommends the best AI model for each task, and teaches you prompt engineering — all offline. An optional local LLM (via Ollama) augments the analysis when you want it.
| Module | What it does | |
|---|---|---|
| ◐ | DNA Analyzer | Decompose a prompt into dimensions → 0–100 score, weaknesses, concrete fixes |
| ⇄ | Token ROI | Compare two prompts: quality per token, with a plain-language verdict |
| ⊚ | AI Router | Recommend the best model for a task — and why — from the editable registry |
| ⇲ | Compression | 3 levels of token reduction with measured quality impact |
| ✦ | Persona Generator | Build expert system-prompts from configurable blueprints |
| ⇡ | Prompt Evolution | Watch a prompt grow across 5 levels (quality vs. tokens) |
| ⊗ | Prompt Battle | Model-tailored prompt variants (Claude / ChatGPT / Gemini …) side by side |
| ⎇ | Versioning | Git-like versions, line diff, rollback, tags |
| ❖ | Knowledge Center | AI registry (6 models) + prompting techniques, searchable |
| ✎ | Learn | Interactive lessons + quizzes with progress tracking |
➕ an optional Ollama layer for an AI-powered review of your prompt.
| Token ROI | AI Router |
|---|---|
| Knowledge Center | Learn |
UI (Svelte)
└─ L3 augmented intelligence (optional LLM, degrades offline)
└─ L2 knowledge (content-driven)
└─ L1 deterministic analysis (offline, testable)
└─ L0 foundations (tokenizer · search · versioning)
Providers: Ollama (optional) · content: Markdown + JSON
confidence and last_verified. No false precision.Tauri 2 · Svelte 5 · TypeScript · Vite · (optional) Ollama. Zero AI dependencies for the core.
git clone https://github.com/<your-username>/promptos
cd promptos
npm install
npm run dev # web app → http://localhost:5173
Build the native desktop app (Windows needs Rust + MSVC Build Tools):
npm run tauri build # produces PromptOS.exe + installers
Zero-dependency headless demos (run with Node 22+):
node scripts/demo-dna.ts
node scripts/demo-roi.ts
node scripts/demo-router.ts
node scripts/demo-compress.ts
Add an AI model, a technique, a persona or a lesson by dropping a Markdown file into content/packs/official/. The app discovers it automatically — no rebuild of the logic required.
The UI and learning content are currently in Italian. The content-pack model makes localization straightforward — translations welcome.
Issues and PRs are welcome — especially new Content Packs (models, techniques, lessons) and translations.
MIT.