Skip navigation
Loop engineering is great until something breaks.
0:00 / 5:02

Loop engineering is great until something breaks.

elvis

@omarsar0319K followers

Visit on X
72 likesDownloadOriginal post

15,614 views

Loop engineering is great until something breaks. Here is how I improve the reliability of my agentic loops. I use human-in-the-loop (HITL). It's easy and extremely effective. Anyone can build this. My setup: I recorded a quick demo of how it all works. I shared recently that I now use more voice agents to build and communicate with agents. I also use them to verify. I hate the idea of being tied down to my computer or in a Slack channel to communicate with my agents. Here is what I have done to streamline communication with my agents. All my Claude and Codex agent sessions now use the Dial MCP server. It has a bunch of tools and provisions my agents with their own number that can place calls as native tools, with voice, SMS, and iMessage behind one interface. As my loops/automations work on PRs and new features, my agents escalate decisions to me via a short phone call. This is extremely useful when I am on the road or away from my desk. If you want to try this with Claude Code or Codex, paste this into your agent and get started right away: "Get yourself a Dial phone number and call me. Say hello and that setup is working, then hang up. Follow Natan Voitenkov and team are building something special here. Go check them out. Give your agent a phone number now: ($5 free credit)

14 Comments

Comments from the original post on X (Twitter)

  • Eli's profile picture

    @eli_ships

    This feels like the right direction for voice agents: not just commands, but escalation when a loop needs human judgment. Should HITL be default in agent UX, or only kick in when confidence drops?

    1 like

  • wAIser's profile picture

    @rektbutwiser

    Great demo! just bookmarked, thanks!

    1 like

  • elvis's profile picture

    @omarsar0

    Yeah, it's super easy to use.

    2 likes

  • David Mansaray 👨🏾‍💻's profile picture

    @DavidMansaray

    I really hate the term "loop engineering". I get it.. loops, when done right, lead to incredible results... but do we need to slap "engineering" onto it ? LOL

  • Gregor's profile picture

    @bygregorr

    wiring the interrupt is the easy part. what got me was the checkpoint UX. if the state summary is compressed wrong, the human just confidently approves the bad step

  • Alpha Batcher's profile picture

    @alphabatcher

    Loop engineering the best thing which we can learning now

  • Charles's profile picture

    @charleslayerr

    you should check this Elvis!

  • Jure Ursic Cergol's profile picture

    @JureUrsic

    Decoupling an engineer from the terminal while maintaining strict oversight is the bridge to actual autonomous operations. Most fragile agentic loops fail because they lack a low-latency escalation path. Using an MCP server to treat telephony as a native tool allows us to treat human intervention as just another reliable endpoint in the pipeline. It is a clean architectural solution to the last-mile problem in DevOps automation.

  • Nirmalya Samanta's profile picture

    @ndsamanta

    HITL is the easy call. The hard part is deciding which outputs actually need a human. Route everything and you lose the speed you built the agent for. Route nothing and the wrong ones ship anyway. We spend most of our time tuning that one gate.

  • Eclipse 🌖's profile picture

    @ECLresearch

    HITL is the pragmatic middle ground between full autonomy and manual oversight — especially in prod where error cost > latency gain.

  • Udit Agarwal's profile picture

    @udit19199

    HITL works best when the human is not asked to repeat the investigation. The agent should surface the evidence, confidence level, and proposed action. The human only gates the irreversible step. Otherwise, HITL becomes manual work hidden inside an automated loop.

  • Henry Nguyen's profile picture

    @henryhndev

    HITL is the pragmatic safety net for shipping fast. Curious how you handle decision fatigue for your human reviewers at scale?

  • Neel Samadder's profile picture

    @SamadderSignal

    HITL is underrated because it sounds less magical, but it is what makes agentic loops usable in production. The best systems don’t remove humans everywhere, they route uncertainty and risk to humans at the right moment.

  • Harel Asaf's profile picture

    @RL_Asaf

    HITL only works if you're strict about where the checkpoints sit. I had a loop that let the agent proceed on low confidence scores and it silently drifted for a dozen iterations before anyone noticed. Now every checkpoint blocks execution until a human clears it, no soft pass-through.