Skip to main content
Image

r/GenkitFramework


Genkit Agents are live: TypeScript, Go & Java
Genkit Agents are live: TypeScript, Go & Java

Hey Genkit Community! 👋 , thrilled to share that Genkit Agents have launched across TypeScript, Go, and Java.

Agents bundle the model loop for you — message history, tool turns, streaming, interrupts, snapshots, and persistence — behind one clean API. Define the agent, start a chat, send(), and continue turns without rebuilding the transport layer. (The Agents API is in Beta — breaking changes possible in minor releases.)

The fully managed Cloud path:

  1. 📦 Deploy your agents as Cloud Functions: serverless endpoints for your agent routes.

  2. 🧠 Connect to Gemini via the Google GenAI provider (e.g. googleai/gemini-flash-latest): first-class support, since Genkit is built by Google.

  3. 💾 Memory / sessions in Firestore: Genkit ships a Firestore session store, so persistence is basically drop-in.

Docs:

Would love to see what you build, and any feedback for the team is welcome in the thread. 🧵


Human-in-the-loop for AI agents: the approval check has to be in code, not the prompt
Human-in-the-loop for AI agents: the approval check has to be in code, not the prompt

Quick thing I learned building AI agents that take real actions. If your "ask before doing something dangerous" logic is a sentence in the system prompt, it's bypassable - a user or injected instruction can convince the model to skip it. The only reliable version is when the tool itself enforces the check and requires an approval token the LLM can't forge.

Wrote it up here (TypeScript examples, framework-agnostic idea): https://dev.to/pavelgj/human-in-the-loop-ai-why-ask-the-llm-to-confirm-isnt-enough-oij