FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Human-in-the-Loop AI Agents with Google ADK and Telegram
How-ToMachine Learning

Human-in-the-Loop AI Agents with Google ADK and Telegram

via Dev.toJames Zhang3h ago

Google's Agent Development Kit (ADK) ships with a human_in_loop sample that demonstrates the concept of pausing an agent for human approval. It's a great starting point for understanding the mechanics. This post builds on that concept with a chat UI where users submit requests, the agent decides if it needs human review, and a Telegram message lands in a manager's phone with Approve / Reject buttons — closer to how this pattern would feel in real usage. Here's how I built it. The Original Sample — What It Shows The original sample teaches a critical ADK concept: long-running tools . A normal ADK tool returns a result immediately. A LongRunningFunctionTool returns a preliminary response ( status: pending ) and then expects your application to feed back an updated response later—once the external process (a human, a webhook, a queue) completes. The sample agent is a reimbursement bot: root_agent = Agent ( model = ' gemini-2.5-flash ' , name = ' reimbursement_agent ' , instruction = """ I

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles

Paramount+ just dropped to $2.99 a month - here's how to sign up
How-To

Paramount+ just dropped to $2.99 a month - here's how to sign up

ZDNet • 1h ago

How-To

70+ Free Online Tools That Make Everyday Tasks Easier

Medium Programming • 1h ago

I Tried to Build My First iOS Product — This Is What Happened
How-To

I Tried to Build My First iOS Product — This Is What Happened

Medium Programming • 1h ago

This unassuming amplifier is the one audio upgrade that finally made my speakers sing
How-To

This unassuming amplifier is the one audio upgrade that finally made my speakers sing

ZDNet • 3h ago

Gas Surgery: Reducing Merkle Mixer Costs by 25% on Base
How-To

Gas Surgery: Reducing Merkle Mixer Costs by 25% on Base

Medium Programming • 4h ago

Discover More Articles