DG
Services About Coaching Book Articles Videos
Get in touch
Home Services About Coaching Book Articles Videos Get in touch
  1. Home
  2. /
  3. Human-in-the-Loop

Human-in-the-Loop

3 articles about human-in-the-loop - lessons from building and scaling real software.

May 27, 2026

Human-in-the-Loop Agent Approvals: A Mastra Pattern

Prompt-based approval gates fail because the model decides whether to ask. Mastra's requireApproval primitive removes that decision entirely. Here's how to implement it.

May 19, 2026

Building Approval Gates AI Agents Can't Route Around

How to wire human-in-the-loop on tool calls — and why system prompt instructions like "always ask before sending" don't actually hold.

Apr 22, 2026

Governing AI Agents Without Killing Them: What Actually Works in Production

Most AI agent governance advice targets boards, not builders. Three failure patterns, real TypeScript examples, and what a CTO should do Monday morning.

Damian Galarza

I help experienced engineers and teams ship better software with AI, smarter workflows, and real-world decision-making.

Work With Me

  • Foundation Sprint
  • Production AI Retainer
  • 1:1 Coaching
  • Book
Book an Intro Call

I Can Help With

  • Claude Code
  • AI Agents
  • AI for Teams

Free Resources

  • Practical AI
  • Codebase Readiness
  • Terminal Cheat Sheet
  • Git Worktree Cheatsheet
  • Articles
  • Videos

Get the Practical AI newsletter.

© 2026 Damian Galarza. All rights reserved.