Damian Galarza
Services About Articles
Get in touch
Home Services About Articles Get in touch
  1. Home
  2. /
  3. Human-in-the-Loop

Human-in-the-Loop

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

Jun 30, 2026

I Added ACP to My Mastra Agent So It Can Work in Repos

ACP is the layer that lets my Mastra agent hand real repo work to Claude Code instead of stopping at advice.

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
Book an Intro Call

I Can Help With

  • Production AI Engineering
  • AI Agents
  • Fractional CTO
  • Vibe Code Audit
  • Mastra Consulting

Free Resources

  • Practical AI
  • Codebase Readiness
  • Agent-Ready Skill
  • Loops
  • Terminal Cheat Sheet
  • Git Worktree Cheatsheet
  • Articles
  • Videos

Get the Practical AI newsletter.

© 2026 Damian Galarza. All rights reserved.