Contents.
10 chapters. Read them in order if you are new; every code sample on every page is run by the test suite.
- Getting startedread →
Install, pick a model, and the three questions you can ask.
- Backendsread →
Every model
gutcan run on — Jev (directly, through OpenRouter, or open models on Ollaya), local NLI, local LLMs, Ollama, vLLM, OpenAI —Cascade, and writing your own. - Knowing when it doesn't knowread →
lean,ask_human,stakes— how careful to be, in words. Whatifandmatchdo withUNSURE. - Asking everything at onceread →
@semanticandjudge(): every judgment about one subject, together. - Asyncread →
alikely,aclassify,arate, and the async side ofeach(),@semanticandjudge(). - Exact costsread →
The cost model underneath the posture words, its formula, and the trap in it.
- Caching and observabilityread →
The cache, seeing every decision as it is made, and what the calls cost.
- Command lineread →
gut filterandgut map: judgments over lines of text from a shell, with a cost summary and a budget. - MCP serverread →
gutfeel-mcp: the same judgments as tools for Claude Code, Claude Desktop, Cursor and any MCP client. - Honest limitationsread →
What small models get wrong, and what
gutdoes not do.
+Also worth knowing about
examples/↗ — the same handlers running on any backend you pick from the command line, including a keyword rule turned into the first stage of a cascade.skills/gut/SKILL.md↗ — the compact version, written for a coding agent. Point your agent at this rather than at the docs.llms.txt↗ — the machine-readable index.
Every code block on these pages is executed by the test suite, so none of it can drift from the library.