Benchmarks→ Calculator→ Architecture→ Honest Scope→ GitHub Repository↗
v0.4.2 · 3-OS Parity Verified · MIT 100% Python Stdlib

Code First. Local LLM Second.
Cloud Last.

Stop burning Cloud AI Agent quota on repetitive loops, raw CI logs, and crashed retries. VieForge adds only 1,459 tokens of one-time overhead and cuts real Cloud token burn by 11x–118x across Antigravity, Claude Code, Cursor, Windsurf, and Codex CLI.

New to terminal or MCP? Paste this 1 sentence into your AI Agent: 0 manual config

Clone https://github.com/vieforge/vieforge, read AGENT_INSTALL.md, run python scripts/quick_setup.py, and show me the Savings Receipt in plain language.

Run locally in 30 seconds — $0, works offline even without Ollama: Windows · macOS · Linux
$ pip install vieforge
$ vieforge setup && vieforge savings
$ vieforge bench
# Output (0.3s deterministic local run):
COMBINED (incl. 1,459 overhead) : 52,732 -> 3,114 tokens (16.9x fewer | -94.1%)
Real token consumption across 100-doc batch + 390-line CI log + 50-item crash/resume: ceil(chars / 4)
Without VieForge (Cloud-Only)
52,732 tok
Cloud Agent reads every document, raw traceback, and re-runs failed items from scratch.
With VieForge (incl. 1,459 overhead)
3,114 tok (-94.1%)
Local Python + SQLite WAL + Ollama handle bulk loops & log trimming; Cloud sees compact JSON.
Works seamlessly with your AI Agents & Local LLM Stack
Antigravity Claude Code Cursor Windsurf Codex CLI MCP Server Ollama LM Studio llama.cpp vLLM SQLite WAL
1,459 tok
Exact one-time session overhead (SKILL.md + AGENTS.md + 5 MCP tools)
16.9x (-94.1%)
Net Cloud token reduction across all 3 real workloads (overhead included)
118.3x (-99.2%)
Token reduction on 100-document batch extraction (23,662 → 200 tok)
$0.00 / run
Tier 2 Local Backbone cost with SQLite WAL interrupt/resume
Reproducible Telemetry

Exact Token Burn — Verified, Not Marketing Hype

Every number below is generated deterministically on your own machine in 0.3 seconds by running python scripts/benchmark_token_savings.py (standard ceil(chars / 4) token estimator, $0 local run).

Real-World Workload Cloud-Only Tokens VieForge Cloud Tokens Reduction Factor Saved
One-time Session Overhead (SKILL.md 691 + AGENTS.md 448 + MCP 320) 0 1,459 — Paid once
100-Document Batch Classification & JSON Extraction 23,662 200 118.3x -99.2%
Noisy CI / Pytest Log + Traceback Compression (390 lines) 11,150 998 11.2x -91.0%
50-Item Job Crashed at 30/50 + SQLite Checkpoint Resume 17,920 457 39.2x -97.4%
NET TOTAL (Including 1,459-token session overhead) 52,732 3,114 16.9x -94.1%
Without VieForge (Cloud Agent reads every item, raw log & retry) 52,732 tokens (100%)
With VieForge (incl. 1,459-token one-time session overhead) 3,114 tokens (5.9% — 16.9x less)
Interactive Estimator

Interactive Workload Savings Calculator

Pick a preset or slide to match your real batch volume to see exact monthly Cloud token & USD savings.

Estimated Cloud Token Reduction
34.1x
-97.1% Cloud token burn
Cloud-Only Tokens / month 1,200,000
VieForge Cloud Tokens / month (incl. overhead) 35,180
Cloud-Only API Cost / month $6.48
Estimated Monthly Savings $6.29 / mo
100% MIT & free forever. Saved you API budget? Buy a coffee on Ko-fi ☕ ·
System Design

3-Tier Hybrid Architecture

Every subtask runs on the lowest-cost tier that satisfies accuracy requirements — keeping Cloud Agents focused on high-leverage thinking.

TIER 1 · CLOUD BRAIN

Architecture & Approval Gates

Cloud Agents (Antigravity, Claude Code, Cursor, Windsurf, Codex) handle design, code edits, reviews, and root-cause debugging — never bulk loops.

TIER 2 · LOCAL BACKBONE ($0)

SQLite WAL + Local LLM Leases

Deterministic Python, SHA-256 deduplication, per-item checkpoints, clean-room log trimming (-91%), and ref-counted Ollama / OpenAI-compat routing.

TIER 3 · ISOLATED MUSCLE

GPU Subprocess & Capped APIs

OS-isolated child processes with exclusive GPU locking for 8 GB+ cards, plus paid APIs guarded by --dry-run, MAX_RETRY <= 2, MAX_JOB_USD, and DAILY_USD_CAP.

Hardware Profiles (Auto-Detected by preflight_check.py)

Profile Workstation Recommended Local Model Tier 3 Strategy
CPU-Only8–16 GB RAM, No dGPUqwen2.5:3b / --mock-llmDeterministic Python + Capped Cloud APIs
8 GB VRAMRTX 3060 Ti / 4060qwen2.5:7b (4-bit)Unload Ollama (keep_alive=0) → Exclusive GPU Subprocess
12–16 GB VRAMRTX 3060 12G / 4070 Tiqwen2.5:14bStage-by-stage GPU isolation
24 GB+ / Apple SiliconRTX 3090/4090 / M-series 32GB+qwen2.5:32bConcurrent Local LLM + Heavy Media Pipeline
Engineering Craft

Engineered for Real-World Workstations

Commercial-safe, cross-platform verified across Linux, macOS & Windows, and built for concurrent multi-project workloads.

Multi-Project Concurrency & 3-OS Parity Gate

Run 3+ workspaces simultaneously without colliding job IDs, losing spend logs, or prematurely unloading another project's Ollama VRAM. Verified on real Ubuntu, macOS, and Windows CI runners.

100% MIT Clean-Room Core

Zero third-party dependencies in core/. Automated license_audit.py blocks BUSL-1.1, AGPL-3.0, and CC-BY-NC packages.

Ollama + OpenAI-Compatible Routing

Native Ollama keep_alive=0 VRAM hygiene plus automatic /v1/chat/completions routing for LM Studio, llama.cpp, vLLM, and OpenRouter.

Zero OS-Mutation + 44x Faster SQLite WAL

Never alters Windows Registry, OS services, network stacks, or pagefiles. Single-transaction batch checkpointing handles 1,000 items in ~29 ms and ships as a clean cross-OS wheel.

Break-Even Reality

Radical Honesty: When VieForge Shines vs. When You Don't Need It

We prefer developer trust over hype. Here is the exact break-even reality.

Massive Savings (10x – 118x)

  • Processing 10 to 5,000+ docs, tickets, emails, CSV rows, or media items in batches.
  • Running noisy test suites, CI builds, or download logs before asking a Cloud Agent to debug.
  • Long multi-stage pipelines where crashes/interrupts normally force expensive full re-runs.
  • Running 2–4 projects simultaneously on one 8 GB+ GPU machine without VRAM OOM crashes.

Minimal Benefit (Skip VieForge Here)

  • Quick 1-turn Q&A or editing a single 50-line file (the 1,459-token session overhead won't pay back in 1 short chat).
  • Purely novel architecture brainstorming that requires a frontier Cloud model for every sentence anyway.
  • Break-even rule: VieForge pays off its 1,459-token overhead after just 1 noisy log or 3–5 batch items.
Quick Answers

Frequently Asked Questions

Straight engineering answers before you clone or install.

Do I need an expensive GPU to use VieForge?
No. VieForge runs on CPU-only laptops using qwen2.5:3b (or offline --mock-llm), and automatically adapts to 8 GB, 12–16 GB, 24 GB+ GPUs, and Apple Silicon via preflight_check.py.
Does VieForge send my source code or private data to any server?
Never. SQLite checkpoints, log compression, budget guards, and local LLM routing run 100% on your own machine with zero telemetry, zero analytics cookies, and zero external relay.
How is this different from just running Ollama directly?
Raw Ollama has no per-item SQLite WAL crash/resume, no SHA-256 deduplication, no 91% CI log trimmer, no hard USD budget caps, no ref-counted multi-project VRAM leases, and no MCP server for Cloud Agents. VieForge gives you all of them in 100% Python stdlib.
Can I use VieForge in commercial or agency projects for free?
Yes — forever. The core engine is 100% MIT-licensed Python stdlib, and python -m core.license_audit automatically blocks AGPL-3.0, BUSL-1.1, and CC-BY-NC dependencies.
Which local LLM servers and AI coding agents are supported?
Works with Ollama (native keep_alive=0) plus any OpenAI-compatible server (LM Studio, llama.cpp, vLLM, OpenRouter), and installs skills/MCP configs for Antigravity, Claude Code, Cursor, Windsurf, and Codex CLI.