Genkit Middleware adds retries, fallbacks and approvals around tool loops
Google added composable generate, model and tool hooks to Genkit for context injection, retry, provider fallback, caching, logging, sandboxing and human approval.
Why it matters: Middleware places reliability and safety controls outside model prompts, where they can be tested and applied consistently to every call or tool action.