> ## Documentation Index
> Fetch the complete documentation index at: https://secndai.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://secndai.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://secndai.manicule.dev/api/mcp.
> Every agent surface: https://secndai.manicule.dev/.well-known/llms-manifest.json

# Patterns (/patterns)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 258 · updated: 2026-11-12 -->
Related: [Cookbooks](/cookbooks.md), [Question types](/primitives.md), [SDKs](/sdk.md)

> Keep code in control while the model judges narrow questions.

Start with a small decision and an explicit fallback. The model judges meaning; deterministic code checks eligibility, authorization, budgets, and side effects.

Useful patterns include confidence routing, a human-review queue, a companion true/false fit check, and bounded concurrent requests. None requires a second inference endpoint or hidden batch operation.

Evaluate the entire workflow: the chosen answer, the fraction sent to review, whether the review queue is staffed, and the effect of errors on users. Record the pinned model, rubric, threshold, and final human decision when your data policy permits it.

* [Confidence routing](/patterns/confidence-routing): use the effective server policy.
* [Human escalation](/patterns/escalate-to-human): persist and resolve uncertain cases.
* [Companion check](/patterns/companion-check): test whether an offered category fits.
* [Batching](/patterns/batching): process independent cases with bounded concurrency.
