Google's Genkit Ships Agents API with Detached Turns and Human-in-the-Loop for TypeScript and Go
Google released a preview of the Agents API for Genkit, its open-source framework, unifying message history, tool execution, streaming, and state persistence behind a single chat() interface for TypeScript and Go. The API introduces detached turns for long-running tasks without persistent connections and interruptible tools with anti-forgery protection for human-in-the-loop control. State persistence supports both server-managed (Firestore, in-memory, file-based) and client-managed paths, enabling data residency compliance without swapping primitives.