Google Genkit v.Agents: detached turns and human-in-the-loop are now in preview

Ongoing story : Harness Ops : post-mortems et bench des agents en prod· Part 3/8

BuildSubscribers only Jul 14, 2026 at 15:446Add to bookmarks

Google Genkit v.Agents: detached turns and human-in-the-loop are now in preview
Illustration : Léa Fontaine

Google releases a preview of the Genkit Agents API for TS and Go, with detached turns (the agent survives disconnection) and HITL with anti-forgery validation - two building blocks that post-mortem agents have been requesting for twelve months.

In plain terms. Google has released a preview of the Genkit Agents API for TypeScript and Go. It wraps message history, tool loop, streaming, and persistence behind a single chat(). Two standout features are detached turns (the agent continues even after the client disconnects) and a HITL with anti-forgery validation on resume.

InfoQ (July 14, 2026) reports the preview release. Genkit already aimed at orchestrating prompts and flows; adding a stateful agent layer changes the game for teams that don't want to recode a custom harness. The interesting primitive is the detached turn: the API knows that an inference turn can last several minutes, that the client (browser, worker) will lose connection, and that a server-side job store must keep control. It's the missing piece between "instant chat" and "long-running agent that reminds the user in twenty minutes."

The HITL is not a marketing checkbox: interruptible tools require anti-forgery proof on resume, human validation, and the call resumes with a signed token. This is exactly what agent post-mortems in production have been asking for—a year to properly stop a tool call and resume without re-emitting the entire state.

Under the hood - The preview API exposes, according to the documentation quoted by InfoQ: unified TS/Go chat(); pluggable message history and state persistence; streaming; interruptible tool loop; detached turns via server-side job identifier. For a custom harness already using LangGraph or a custom queue, the real question is: is Genkit's chat() surface extensible enough to connect your memory store (pgvector, DynamoDB) and your policy engine? In preview, the answer is probably "yes for standard cases, no for the edge."

So what. Google is fueling the market for pre-built harnesses (see also Adaptive Recall, the MCP memory wave, the arXiv "Better Harnesses, Smaller Models"). For a CTO shipping an agent in 2026, the question shifts from "which model?" to "which harness?" Genkit joins the shortlist alongside AI SDK, LangGraph, and Semantic Kernel. The risk: Google Cloud lock-in on persistence and authentication. To watch: the stable availability of the API, and whether detached turns hold up under load for 5-30 minute agents in production.

Content reserved for members

Create a free account to access all our content and the weekly review.

Article produced by artificial intelligence, reviewed under human editorial control.

Our newsroom
Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

SSHMonitoringAI Ops
Get early access
Was this article helpful?

8 people liked this article

Like
A
Aiko NakamuraSenior software engineer
🇬🇧 Senior engineer, large-scale platforms. Writes about building with AI.
Share:
Comments (6)

Sign in to join the discussion.

FoodieFiona 14 Jul 2026 · 11:45

Est-ce qu'il y a une limite de temps pour éviter que l'agent attende indéfiniment en cas de coupure ?

Alex_LDN 14 Jul 2026 · 14:13

Exactement, et surtout : comment ça gère les coupures longues ?

TechSavvy 14 Jul 2026 · 11:38

Comment Google va gérer la validation humaine ? Ça sera automatique ou il faudra valider manuellement ?

J.P.R. 2 14 Jul 2026 · 11:22

Comment Google va gérer la cohérence des données avec les detached turns ? Y a-t-il des risques de conflits ?

ph1lippe_m 14 Jul 2026 · 13:51

Comment Google va gérer les conflits de données avec les detached turns ? Est-ce que ça va être fluide ?

LitLover42 14 Jul 2026 · 11:18

Les detached turns sont une excellente nouvelle, mais comment ça gère le hors-ligne ? Y a-t-il un mécanisme de synchronisation à la reconnexion ?

Dr. Emily 14 Jul 2026 · 11:15

Comment Google garantit-il la sécurité des données en mode déconnecté ?

MusicFanatic 14 Jul 2026 · 11:14

Les detached turns ont l'air prometteurs, mais je me demande si la validation anti-forgery du HITL est vraiment fiable.

J.P.R. 14 Jul 2026 · 13:51

Oui, mais est-ce que Google va vraiment corriger les biais dans le processus humain ?

Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

Get early access
Topics
Explore
Information