HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
antoinezambelli
forge
Python2026–2026
antoinezambelli / forge

forge

A Python framework for self-hosted LLM tool-calling and multi-step agentic workflows

5Distinct people
9Mentions
0Explicit recommenders
2.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A Python framework for self-hosted LLM tool-calling and multi-step agentic workflows

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day9 dated mentions

Observed mentions: 2026-05-19 12:23:07 UTC to 2026-06-08 07:40:27 UTC.

0123452026-05-19 00:00:00 UTC to 2026-05-20 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 commentsMay 192026-05-20 00:00:00 UTC to 2026-05-21 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2026-05-21 00:00:00 UTC to 2026-05-22 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-05-22 00:00:00 UTC to 2026-05-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-05-23 00:00:00 UTC to 2026-05-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-05-24 00:00:00 UTC to 2026-05-25 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-05-25 00:00:00 UTC to 2026-05-26 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-05-26 00:00:00 UTC to 2026-05-27 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-05-27 00:00:00 UTC to 2026-05-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-05-28 00:00:00 UTC to 2026-05-29 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-05-29 00:00:00 UTC to 2026-05-30 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMay 292026-05-30 00:00:00 UTC to 2026-05-31 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-05-31 00:00:00 UTC to 2026-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-01 00:00:00 UTC to 2026-06-02 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-02 00:00:00 UTC to 2026-06-03 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-03 00:00:00 UTC to 2026-06-04 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-04 00:00:00 UTC to 2026-06-05 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-05 00:00:00 UTC to 2026-06-06 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-06 00:00:00 UTC to 2026-06-07 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-07 00:00:00 UTC to 2026-06-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-08 00:00:00 UTC to 2026-06-09 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 8

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
May 192026-05-19 00:00:00 UTC2026-05-20 00:00:00 UTC211
May 202026-05-20 00:00:00 UTC2026-05-21 00:00:00 UTC505
May 212026-05-21 00:00:00 UTC2026-05-22 00:00:00 UTC000
May 222026-05-22 00:00:00 UTC2026-05-23 00:00:00 UTC000
May 232026-05-23 00:00:00 UTC2026-05-24 00:00:00 UTC000
May 242026-05-24 00:00:00 UTC2026-05-25 00:00:00 UTC000
May 252026-05-25 00:00:00 UTC2026-05-26 00:00:00 UTC000
May 262026-05-26 00:00:00 UTC2026-05-27 00:00:00 UTC000
May 272026-05-27 00:00:00 UTC2026-05-28 00:00:00 UTC000
May 282026-05-28 00:00:00 UTC2026-05-29 00:00:00 UTC101
May 292026-05-29 00:00:00 UTC2026-05-30 00:00:00 UTC000
May 302026-05-30 00:00:00 UTC2026-05-31 00:00:00 UTC000
May 312026-05-31 00:00:00 UTC2026-06-01 00:00:00 UTC000
Jun 12026-06-01 00:00:00 UTC2026-06-02 00:00:00 UTC000
Jun 22026-06-02 00:00:00 UTC2026-06-03 00:00:00 UTC000
Jun 32026-06-03 00:00:00 UTC2026-06-04 00:00:00 UTC000
Jun 42026-06-04 00:00:00 UTC2026-06-05 00:00:00 UTC000
Jun 52026-06-05 00:00:00 UTC2026-06-06 00:00:00 UTC000
Jun 62026-06-06 00:00:00 UTC2026-06-07 00:00:00 UTC000
Jun 72026-06-07 00:00:00 UTC2026-06-08 00:00:00 UTC000
Jun 82026-06-08 00:00:00 UTC2026-06-09 00:00:00 UTC101

What Hacker News says

9 sources
At the moment TieredCompact is naive. It uses context thresholds the consumer determines and fires when those thresholds are hit. It just does different things at different threshold levels. Your idea of using task shape to dynamically set those thresholds (or even move to model-triggered) I think is the key but is a trickier implementation. That's what I haven't gotten around to yet. Definitely on my todo list but happy to check out a PR if you have something in mind. Some additional info on my current public hack is also at: https://github.com/antoinezambelli/forge/blob/main/docs/USER...
In Show HN: Forge – Guardrails take an 8B model from 53% to 99% on agentic tasks
zambelli·May 19, 2026Submission

Show HN: Forge – Guardrails take an 8B model from 53% to 99% on agentic tasks

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 number I 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
Read the rest
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/forge Paper: 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...
687 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.