Forge
Guardrails take an 8B model from 53% to 99% on agentic tasks
Details
- External ID
- 48192383
- Source
- HN
- Company
- —
- Product
- Forge
- Website domain
- github.com
- Launched
- May 19, 2026
- Cohort
- —
- Upvotes
- 687
- Upvotes percentile
- 0.9967689822294022
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
Hi HN, I'm Antoine Zambelli, AI Director at Texas Instruments.I built Forge, an open-source reliability layer for self-hosted LLM tool-calling.What it does:- Adds domain-and-tool-agnostic guardrails (retry nudges, step enforcement, error recovery, VRAM-aware context management) to local models running on consumer hardware- Takes an 8B model from ~53% to ~99% on multi-step agentic workflows without changing the model - just the system around it- Ships with an eval harness and interactive dashboard so you can reproduce every numberI wanted to run a handful of always-on agentic systems for my portfolio, didn't want to pay cloud frontier costs, and immediately hit the compounding math problem on local models. 90% per-step accuracy sounds great, but with a 5-step workflow that's a 40% failure rate. No existing framework seemed to address this mechanical reliability issue - they all seemed tailor-made for cloud frontier.Demo video: https://youtu.be/MzRgJoJAXGc (side-by-side: same model, same task, with and without Forge guardrails)The paper (accepted to ACM CAIS '26, presenting May 26-29 in San Jose) covers the peer-reviewed findings across 97 model/backend configurations, 18 scenarios, 50 runs each. Key numbers:- Ministral 8B with Forge: 99.3%. Claude Sonnet with Forge: 100%. The gap between a free local 8B model on a $600 GPU and a frontier API is less than 1 point.- The same 8B local model with Forge (99.3%) outperforms Claude Sonnet without guardrails (87.2%) - an 8B model with framework support beats the best result you can get through frontier API alone.- Error recovery scores 0% for every model tested - local and frontier - without the retry mechanism. Not a capability gap, an architectural absence.I'm currently using this for my home assistant running on Ministral 14B-Reasoning, and for my locally hosted agentic coding harness (8B managed to contribute to the codebase!).The guardrail stack has five layers, each independently toggleable. The two that carry the most weight (per ablation study with McNemar's test): retry nudges (24-49 point drops when disabled) and error recovery (~10 point drops, significant for every model tested). Step enforcement is situational - only fires for models with weaker sequencing discipline. Rescue parsing and context compaction showed no significance in the eval but are retained for production workloads where they activate once in a while.One thing I really didn't expect: the serving backend matters. Same Mistral-Nemo 12B weights produce 7% accuracy on llama-server with native function calling and 83% on Llamafile in prompt mode. A 75-point swing from infrastructure alone. I don't think anyone's published this because standard benchmarks don't control for serving backend.Another surprise: there's no distinction in current LLM tool-calling between "the tool ran successfully and returned data" and "the tool ran successfully but found nothing." Both return a value, the orchestrator marks the step complete, and bad data cascades downstream. It's the equivalent of HTTP having 200 but no 404. Forge adds this as a new exception class (ToolResolutionError) - the model sees the error and can retry instead of silently passing garbage forward.Biggest technical challenge was context compaction for memory-constrained hardware. Both Ollama and Llamafile silently fall back to CPU when the model exceeds VRAM - no warning, no error, just 10-100x slower inference. Forge queries nvidia-smi at startup and derives a token budget to prevent this.How to try it:- Clone the repo, run the eval harness on a model I haven't tested. If you get interesting results I'll add them to the dashboard.- Try the proxy server mode - point any OpenAI-compatible client at Forge and it handles guardrails transparently. It's the newest model and I'd love more eyes on it.- Dogfooding led me to optimize model parameters in v0.6.0. The harder eval suite (26 scenarios) is designed to raise the ceiling so no one sits at 100%. Several that did on the original suite can't sweep it - including Opus 4.6. Curious if anyone finds scenarios that expose gaps I haven't thought of. Paper numbers based on pre v0.6.0 code.Background: prior ML publication in unsupervised learning (83 citations). This paper accepted to ACM CAIS '26 - presenting May 26-29.Repo: https://github.com/antoinezambelli/forgePaper: https://www.caisconf.org/program/2026/demos/forge-agentic-re... https://github.com/antoinezambelli/forge/blob/main/docs/forg...Dashboard: https://github.com/antoinezambelli/forge/docs/results/dashbo...
Enrichment
- Theme
- AI agent frameworks and developer tools
- Vertical
- Horizontal
- Function
- Agent / copilot
- Audience
- B2B
- AI stance
- AI-native
- Project type
- Commercial product
- Normalized one-liner
- guardrails for ai agents
- Manually corrected
- False
Could you build this?
Partial While basic retry loops and prompt wrappers are straightforward to vibe-code, implementing low-level VRAM-aware context window management and rock-solid tool reliability across heterogeneous local runtimes requires deep systems and LLM inference engine expertise.
What it would actually take: The architecture requires an intermediary proxy sitting between client requests and local inference backends like llama.cpp, vLLM, or Ollama. The hard parts are real-time GPU VRAM profiling to preempt out-of-memory errors, dynamic context pruning, and precise AST validation/repair of broken JSON tool payloads under strict token limits. Building this requires specialized systems engineering and deep familiarity with LLM memory architectures and KV-cache management.
Discussion
20 comments analyzed.
Competitors mentioned: Claude Code, vLLM, llama.cpp, OpenAI, Google native tool calling
Concerns raised: Advanced reasoning accuracy didn't improve with Forge, Logit restriction for JSON formatting can confuse models, Limited by small model capabilities, Needs orchestration layer beyond mechanical reliability
Feature requests: Native memory/skill management system integration, Built-in plugin module for memory systems (API, CLI, MCP endpoints), Package results for nudge event reconstruction without manual integration, Big model to small model learning blueprints and task handoff
Competitors
Other products that read as similar to this one — 136 launches clear the similarity bar, closest 8 shown.
Attention rank: #2 of 137 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 190 days after the earliest competitor.
- OpenAPPA · hn · 2026-09-28 · 23 upvotes · similarity 0.47
- Agent Forge, an agent framework, heuristic routing and graph execution · hn · 2026-03-27 · 5 upvotes · similarity 0.47
- CLRK, an open-source agent runtime with gVisor and MitM guardrails · hn · 2026-07-07 · 5 upvotes · similarity 0.41
- An unmetered LLM API–$6/month, no token tracking, no limits · hn · 2026-07-06 · 12 upvotes · similarity 0.41
- Oodle.ai · hn · 2026-07-14 · 31 upvotes · similarity 0.40
- Viberails · hn · 2026-02-04 · 7 upvotes · similarity 0.39
- Optimize and serve models with Fable quality at half the cost · hn · 2026-07-26 · 71 upvotes · similarity 0.39
- I built a firewall for agents because prompt engineering isn't security · hn · 2026-01-19 · 7 upvotes · similarity 0.38
Other launches for this product
Same idea, different domain
Nobody's really built a agent / copilot tool for Agriculture yet.