Skip to content
Articles
Article

Human-in-the-Loop Agents in Pure Dart: Genkit, MCP and an Approval Gate on Cloud Run

by Esra Kadah dev.to

7 min read

1. The problem: an agent that can spend money Most agent demos stop at "the model called a tool and it worked". Real back offices have tools you do not want a model to run on its own. I built a dispatch assistant for a small, made-up field service company. A dispatcher types "What is the status of WO-1043?" or "Order a 3 kW heating element for WO-1044." and the agent answers. It has three tools: …

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

Supported by