Adding Manual Approval Gates to AI Agents
sekyr95 · reddit · 2026-07-13
The author built an MCP server to add a structured gate for agents, ensuring actions "must be approved by a human before execution."
How it works
- The agent first calls impripushaction to submit the pending action
- The request enters an approval inbox with a status of 'pending'
- Humans can view, approve, reject, or even edit the text first
- The agent waits on impriawaitdecision and can only continue execution upon receiving 'approved'
Design motivation
The author emphasizes that this is not simply writing "please confirm first" in the system prompt, as models might bypass it. Instead, it makes approval part of the process structure, genuinely halting the agent before execution.
Other info
- Supports Slack / Discord / Telegram button approvals
- Includes an audit log recording who approved what
- Exposed via a REST API, and can also be used from MCP clients like Claude Code, Cursor, and Desktop
- The project is open-source under the MIT license, prioritizes self-hosting, and offers an early hosted version
The author admits the project is still in its early stages with few real users, primarily gathering feedback, especially on "where human intervention points should be placed."
Related event: New MCP Server Adds Human-in-the-Loop Approval for AI Agents(2 posts)→
More from coding & agent
- Inspired by OpenAI's 10,000-agent run, dev open-sources a crowdsourced agent problem-solving platform — Benjaminsen · 2026-09-11
- Lucid: open-source Mac app keeps your laptop awake only while AI agents run — Pitiful_Hedgehog_600 · 2026-09-11
- banteg's snail project crowdsources AI agents to finish matching Snail Mail's 20 remaining functions — banteg · 2026-09-11
- Alex Townsend posts 200 open problems in numerical linear algebra for humans and AI agents — IgorCarron · 2026-09-11
- Kimi K2.8 Preview rolls out: near-K3 coding performance, 1M context for all tiers — teortaxesTex · 2026-09-11
- Looking for a classifier of software engineering task shapes to pick models per task — StewartalsopIII · 2026-09-11