FrugaLLM is a high-performance, local-first desktop proxy and visual AI router. It serves as an intelligent, cost-optimizing bridge connecting Intelligence Sources (local hardware via Ollama and free cloud tiers) with Autonomous Agentic Harnesses (OpenCode and Hermes).
By exposing a unified, OpenAI-compatible proxy endpoint, FrugaLLM allows developers to run complex autonomous agent loops against local models and cost-effective cloud APIs with drastically reduced—or zero—API expenditures.
Autonomous agent loops can burn through millions of tokens in minutes through terminal tool-calling, multi-file workspace refactors, and continuous self-correction. FrugaLLM removes the financial barrier to entry by decoupling the "Brains" (large language models) from the "Hands" (agent runtimes), letting you experiment and ship with zero upfront investment:
FrugaLLM maintains a sub-50MB idle memory footprint by pairing a zero-overhead native systems engine with a full-duplex interactive terminal runtime, an in-browser neural router, and an ambient onboarding state machine.
graph TD
subgraph Frontend [React 19 / Vite UI Layer]
Canvas[Interactive Node Canvas]
Onnx[Transformers.js Neural Classifier]
Term[xterm.js ANSI Agent Consoles]
Tour[Onboarding Portal Engine]
end
subgraph Native Core [Tauri v2 + Rust Backend]
Axum[Tokio / Axum Local Proxy]
Vault[keyring-rs OS Vault]
PTY[portable-pty Process Manager]
Telemetry[sysinfo & nvml-wrapper]
end
subgraph Runtimes & Backends [Inference & Agents]
Agents[Hermes / OpenCode Harnesses]
Local[Ollama Local Daemon]
Cloud[OpenRouter / Gemini APIs]
end
Canvas <--> Axum
Onnx --> Axum
Term <--> PTY
Axum <--> Local
Axum <--> Cloud
PTY <--> Agents
Telemetry --> Axum
Vault --> Axum
src-tauri / Rust)tauri-plugin-window-state), and strict inter-process communication (IPC) boundaries without the memory overhead of Chromium bundles.package.json / TypeScript)--zen-surface, --zen-border, --zen-accent).useOnboarding.ts): Manages user lifecycles across 'fresh' (initial launch), 'learning' (active walkthrough), and 'completed' (ambient workspace tracking). Supports complete wipe hygiene via npm run wipe.OnboardingOverlay.tsx): A custom 4-quadrant HTML panel backdrop mounted via React Portals with requestAnimationFrame DOM tracking and automatic viewport edge-clamping.Pre-built desktop executables are published with every release for macOS, Windows, and Linux:
frugallm-app_universal.dmg (Universal binary for Apple Silicon & Intel)frugallm-app_x64-setup.exe (Self-contained installer)frugallm-app_amd64.deb or .AppImageEnsure you have Node.js (v24+) and Rust installed:
# Clone the repository
git clone https://github.com/chorned/frugaLLM-App.git
cd frugaLLM-App
# Install frontend dependencies
npm install
# Run desktop app in development mode
npm run tauri dev
# Run isolated Rust backend unit tests
npm run test:rust
# Run frontend unit and component tests with coverage
npm run test:unit
npm run test:coverage
# Run End-to-End browser tests and desktop smoke tests
npm run test:e2e
npm run test:smoke
FrugaLLM is built upon the discoveries, architectures, and open-source contributions of exceptional developer communities:
(Note: All local models downloaded on-demand via Ollama remain the intellectual property of their respective creators and are governed by their own licensing and acceptable use terms.)
Contributions are welcome! Please consult the Contributing Guide for local environment setup, architecture standards, and pull request workflows.
FrugaLLM is licensed under the MIT License.
FrugaLLM is a high-performance, local-first desktop proxy and visual AI router. It serves as an intelligent, cost-optimizing bridge connecting Intelligence Sources (local hardware via Ollama and free cloud tiers) with Autonomous Agentic Harnesses (OpenCode and Hermes).
By exposing a unified, OpenAI-compatible proxy endpoint, FrugaLLM allows developers to run complex autonomous agent loops against local models and cost-effective cloud APIs with drastically reduced—or zero—API expenditures.
Autonomous agent loops can burn through millions of tokens in minutes through terminal tool-calling, multi-file workspace refactors, and continuous self-correction. FrugaLLM removes the financial barrier to entry by decoupling the "Brains" (large language models) from the "Hands" (agent runtimes), letting you experiment and ship with zero upfront investment:
FrugaLLM maintains a sub-50MB idle memory footprint by pairing a zero-overhead native systems engine with a full-duplex interactive terminal runtime, an in-browser neural router, and an ambient onboarding state machine.
graph TD
subgraph Frontend [React 19 / Vite UI Layer]
Canvas[Interactive Node Canvas]
Onnx[Transformers.js Neural Classifier]
Term[xterm.js ANSI Agent Consoles]
Tour[Onboarding Portal Engine]
end
subgraph Native Core [Tauri v2 + Rust Backend]
Axum[Tokio / Axum Local Proxy]
Vault[keyring-rs OS Vault]
PTY[portable-pty Process Manager]
Telemetry[sysinfo & nvml-wrapper]
end
subgraph Runtimes & Backends [Inference & Agents]
Agents[Hermes / OpenCode Harnesses]
Local[Ollama Local Daemon]
Cloud[OpenRouter / Gemini APIs]
end
Canvas <--> Axum
Onnx --> Axum
Term <--> PTY
Axum <--> Local
Axum <--> Cloud
PTY <--> Agents
Telemetry --> Axum
Vault --> Axum
src-tauri / Rust)tauri-plugin-window-state), and strict inter-process communication (IPC) boundaries without the memory overhead of Chromium bundles.package.json / TypeScript)--zen-surface, --zen-border, --zen-accent).useOnboarding.ts): Manages user lifecycles across 'fresh' (initial launch), 'learning' (active walkthrough), and 'completed' (ambient workspace tracking). Supports complete wipe hygiene via npm run wipe.OnboardingOverlay.tsx): A custom 4-quadrant HTML panel backdrop mounted via React Portals with requestAnimationFrame DOM tracking and automatic viewport edge-clamping.Pre-built desktop executables are published with every release for macOS, Windows, and Linux:
frugallm-app_universal.dmg (Universal binary for Apple Silicon & Intel)frugallm-app_x64-setup.exe (Self-contained installer)frugallm-app_amd64.deb or .AppImageEnsure you have Node.js (v24+) and Rust installed:
# Clone the repository
git clone https://github.com/chorned/frugaLLM-App.git
cd frugaLLM-App
# Install frontend dependencies
npm install
# Run desktop app in development mode
npm run tauri dev
# Run isolated Rust backend unit tests
npm run test:rust
# Run frontend unit and component tests with coverage
npm run test:unit
npm run test:coverage
# Run End-to-End browser tests and desktop smoke tests
npm run test:e2e
npm run test:smoke
FrugaLLM is built upon the discoveries, architectures, and open-source contributions of exceptional developer communities:
(Note: All local models downloaded on-demand via Ollama remain the intellectual property of their respective creators and are governed by their own licensing and acceptable use terms.)
Contributions are welcome! Please consult the Contributing Guide for local environment setup, architecture standards, and pull request workflows.
FrugaLLM is licensed under the MIT License.