Benchmarks→ Calculator→ Architecture→ Honest Scope→ GitHub Repository↗
v0.6.0 · Anti-Illusion Telemetry Guard · VCR Replay · MIT 100% Python Stdlib

Code First. Local LLM Second.
Cloud Last.

Stop burning Cloud AI Agent quota on raw CI logs, crashed retries, and repetitive extraction loops. With 1,488 tokens of one-time overhead, VieForge trims 91% of noisy CI logs in pure Python (8.3 ms), resumes interrupted jobs via SQLite WAL, and offloads short <4K extraction batches locally (97.4% live-verified on qwen3:8b) — while keeping Cloud LLMs for complex coding.

⚠️ Anti-Illusion Telemetry Guard (v0.6.0): VieForge local counters measure ONLY workloads routed through VieForge tools/bridges. Closed host IDE chat replay, subagents, and server-side hidden reasoning/thinking tokens (High mode) are outside local visibility — always audited by verify_telemetry_integrity() so numbers never pretend to be total machine quota.
VieForge — Digital Forge 3-Tier AI Agent Architecture
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,488 overhead) : 52,732 -> 3,143 tokens (16.8x fewer | -94.0%)
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,488 overhead)
3,143 tok (-94.0%)
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,488 tok
Exact one-time session overhead (SKILL.md + AGENTS.md + 5 MCP tools)
-91.0% (8.3 ms)
Pure-Python CI/Pytest log compression (11,150 → 998 tok, zero AI / zero GPU)
-97.4% (30/30)
Live unmocked RTX 3060 Ti 8 GB batch (qwen3:8b, 4K ctx, 19.9s, 69.3 tok/s)
$0.00 / run
Tier 2 Local Backbone cost with SQLite WAL interrupt/resume
Reproducible Telemetry

Offline Harness Simulation vs. Live GPU Reality

The table below runs in 0.3s via python scripts/benchmark_token_savings.py (real output_trimmer.py + real SQLite WAL; mocked local LLM for CPU-only CI repeatability). Pass --live-ollama --model qwen3:8b --items 30 for unmocked GPU throughput & accuracy.

Harness Workload Cloud-Only Tokens VieForge Cloud Tokens Reduction Factor Saved
One-time Session Overhead (SKILL.md 691 + AGENTS.md 477 + MCP 320) 0 1,488 — Paid once
100-Document Batch Classification & JSON Extraction (mock LLM offload) 23,662 200 118.3x -99.2%
Noisy CI / Pytest Log + Traceback Compression (389 lines, 100% real) 11,150 998 11.2x -91.0%
50-Item Job Crashed at 30/50 + SQLite Resume (Cloud-only resume: -37.5%) 17,920 457 39.2x -97.4%
NET TOTAL (Mixed Batch + CI Simulation, incl. 1,488 overhead) 52,732 3,143 16.8x -94.0%
Without VieForge (Cloud Agent reads every item, raw log & retry) 52,732 tokens (100%)
With VieForge (incl. 1,488-token one-time session overhead) 3,143 tokens (6.0% — 16.8x less)
Anti-Illusion Telemetry Guard (v0.6.0): Local telemetry measures only workloads routed through VieForge tools and bridges. Closed host IDE conversation replay, subagents, and server-side hidden reasoning/thinking tokens (High mode) are outside local visibility and are explicitly flagged by verify_telemetry_integrity() so reported numbers never masquerade as total machine quota.
Live Unmocked Hardware Verification & Usage Tiers

Honest Expectations by Usage Tier (L0–L3)

Verified unmocked on RTX 3060 Ti 8 GB + Ollama 0.40.19 (qwen3:8b): pure-Python CI log trim -91.0% (8.3 ms) · live 30-doc JSON batch (4K ctx, think=false) -97.4% in 19.9s (69.3 tok/s, 30/30 exact) · live single-file coding check scored only 3/4 (and drops to 19–20 tok/s at 18K ctx). Keep complex coding on Cloud; offload loops & logs locally.

Usage Tier Target User Segment Volume Realistic Net Reduction Recommended Stack
L0 — Casual Quick Q&A, single-file edits < 5 items 0% (below break-even) Call Cloud Agent directly
L1 — Solo Dev / Interactive Coding Daily debugging, CI logs, small scripts 5–50 / day 30%–65% coding · 80%–91% CI logs pip install vieforge && vieforge setup
L2 — Power Dev / Batch Pipelines Multi-project devs, short <4K extraction batches (8–24 GB VRAM) 51–500 / day 70%–92% batches (30%–65% coding) batch_session() + SQLite Cache + exclusive_gpu
L3 — High-Volume Batch / CI Workers Schema-locked extraction, multi-repo CI triage, Docker workers 500+ / day 85%–97% batch & CI triage Non-root Docker + PolicyGuard + OTel gen_ai.*

Read the full live hardware verification & local 8B reality report on GitHub →

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.

Where VieForge Delivers Real Value

  • Short <4K-context extraction, classification & JSON batches (10 to 5,000+ docs/tickets/CSV rows).
  • Trimming noisy test suites, CI builds, or download logs (-91% in 8.3 ms pure Python) before Cloud debugging.
  • Long multi-stage pipelines where crashes normally force full re-runs (SQLite WAL resumes from the exact failed item).
  • Running 2–4 projects simultaneously on one 8 GB+ GPU workstation with hard USD caps and zero VRAM OOM crashes.

Do NOT Expect Magic Here (Skip or Keep on Cloud)

  • Quick 1-turn Q&A or editing a single 50-line file (the 1,488-token session overhead won't pay back in 1 short chat).
  • Replacing Cloud LLMs with a local 7B–8B model for complex multi-file coding (live RTX 3060 Ti test: 8B hit only 3/4 on simple CLI code and dropped to 19–20 tok/s under >10K agent prompts).
  • Break-even rule: VieForge pays off its 1,488-token overhead after just 1 noisy CI log or 3–5 short batch items.
AI Unit Economics • Token Waste

5 Real "Token Waste" Bottlenecks in Production Workflows

Use deterministic Python for mechanical work, local 7B–8B strictly for short <4K batch loops, and keep frontier Cloud models for architecture and complex coding.

Practical Patterns Built on VieForge

Don't Use a PhD Brain to Do Pocket-Calculator Work

3 practical operating patterns showing where deterministic code and scoped local batching eliminate Cloud token waste without hurting quality.

Long-Term Engineering Advantage

Reliable harnesses beat raw hype when running AI workflows every day.

VieForge is the 100% MIT open-source execution harness that protects your budget, compresses noisy logs, checkpoints every batch, and keeps Cloud AI focused on high-leverage thinking.

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.