How a Rust agent uses GBNF to make 8B models reliably call tools

paulqq · reddit · 2026-07-29

The author built Eris, a local Rust agent on llama.cpp with about 50 tools, and solved unreliable tool calling by compiling each tool’s JSON Schema into GBNF rules at session start.

Key idea:

Original post →

More from coding & agent

coding & agent channel →