PromptisePromptise
PlatformSoonEnterprise
DocsGitHub
Talk to usGet started
Promptise - AI Framework LogoPromptise

The full-stack framework for agentic systems. Build with the framework. Run it on the platform. Launch it with our engineers.

pip install promptise

[01] Product

  • Framework
  • Platform (coming soon)
  • Enterprise
  • How it works
  • Contact

[02] Framework

  • The Agent
  • The Interface
  • The Harness

[03] Resources

  • Documentation
  • GitHub
  • Why Promptise
  • Use cases
  • Roadmap
  • Guides
  • Learning Paths
  • Questions

[04] Company

  • About
  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Subprocessors

© 2026 Promptise by Manser Ventures. All rights reserved.

hello@promptise.com
← Guides> Topic

Human approvals (human-in-the-loop)

Human-in-the-loop means an agent pauses before certain actions and waits for a person to approve, change or reject them. It is the simplest way to let an agent do real work, such as issuing a refund or changing a record, while keeping a person responsible for the decisions that matter.

The hard part is choosing what to gate. Ask for approval on everything and people start clicking yes without reading, which is worse than no gate at all. These guides cover the whole flow: adding approval gates to an agent's tool calls, deciding which actions need a person and which can run on their own so reviewers stay alert, and reaching approvers where they work with Slack messages and webhooks.

7
guides
1
Beginner
5
Intermediate
1
Advanced
2 h
of reading
01

Start here

What Is Human in the Loop AI? Approvals for AI Agents

What human in the loop AI means for agents: a person approves risky tool calls before they run. How approval gates work, an example, and common mistakes.

Beginner · 7 minRead the guide →

Then read on, in this order

6 guides

  1. 02AI Agent Human in the Loop: Approve Tool Calls in PythonAdd human-in-the-loop approval to an AI agent in Python: a person approves, rejects or edits each refund, email or delete before the tool runs.Intermediate · 20 minIntermediate · 20 min→
  2. 03AI Agent Approval Timeouts: Fail Closed, Default DenyWhat should happen when nobody approves an AI agent's tool call? Deny on timeout, never cache consent, bind each approval to one call, escalate in time.Intermediate · 18 minIntermediate · 18 min→
  3. 04Policy as Code for AI Agent Tool Calls: OPA vs ApprovalPolicy as code for AI agent tool calls: when deterministic rules beat human approval or model judgment, and how to check each call with OPA before it runs.Advanced · 20 minAdvanced · 20 min→
  4. 05Approval Fatigue: Auto-Approve Safe AI Agent ActionsStop rubber-stamping AI agent actions. Auto-approve routine tool calls with rules, send only risky ones to a human, and log why. Real Python runs.Intermediate · 21 minIntermediate · 21 min→
  5. 06AI Agent Notifications: Webhook and Slack Alerts in PythonGet alerted when your AI agent fails a tool call, hits a guardrail or budget, or needs approval. Webhooks, Slack and Python callbacks, with real payloads.Intermediate · 25 minIntermediate · 25 min→
  6. 07OpenAPI to MCP: Turn Any REST API into an MCP ServerTurn an OpenAPI spec into a working MCP server in minutes. Read-only by default, human approval on every write, and tested by a real agent.Intermediate · 15 minIntermediate · 15 min→

Other topics

  • Building AI agents in Python
  • Models and providers
  • Tools and the Model Context Protocol (MCP)
  • Memory, context and RAG
  • Agent reasoning patterns
  • Multi-agent systems
  • Guardrails and security
  • Observability and debugging
  • Cost control and rate limits
  • Testing and evals
  • Runtime, triggers and deployment
  • Frameworks and comparisons
  • AI at work
  • AI for leaders
  • Enterprise AI agents

In the documentation

  • Approvaldocs ↗
  • Approval classifierdocs ↗
  • MCP approval gatesdocs ↗

Build it with Promptise Foundry.

The code in these guides runs on Promptise Foundry, an open-source Python framework for AI agents and MCP servers.

QuickstartAll guides