agent-approvals
/agent-approvals
Ask a person to approve an AI agent's or workflow's action through Hibira, either with the MCP request_approval tool, the signed approvals HTTP API, or the @hibira-io/approvals live inbox. Use for human-in-the-loop flows, tool-call approval, refunds, deploys or anything an agent should not do alone.
- Author
- hibira-io ↗
- Repository
- agent-plugin ↗
- Licence
- MIT
- Last repository change
- 13.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Ask a person to approve an AI agent's or workflow's action through Hibira, either with the MCP request_approval tool, the signed approvals HTTP API, or the @hibira-io/approvals live inbox. Use for human-in-the-loop flows, tool-call approval, refunds, deploys or anything an agent should not do alone.
Triggers from the description
Original author description
Ask a person to approve an AI agent's or workflow's action through Hibira, either with the MCP request_approval tool, the signed approvals HTTP API, or the @hibira-io/approvals live inbox. Use for human-in-the-loop flows, tool-call approval, refunds, deploys or anything an agent should not do alone.
How it works
- 1. Right now, from this agent: MCP tools
- 2. From a server or workflow: approvals HTTP API
- 3. In the product: @hibira-io/approvals
- Rules
SKILL.md preview
---
name: agent-approvals
description: Ask a person to approve an AI agent's or workflow's action through Hibira, either with the MCP request_approval tool, the signed approvals HTTP API, or the @hibira-io/approvals live inbox. Use for human-in-the-loop flows, tool-call approval, refunds, deploys or anything an agent should not do alone.
---
# Human approvals with Hibira
Three ways in, sharing one protocol (Hibira approvals protocol v1), so an inbox can show requests from all of them.
## 1. Right now, from this agent: MCP tools
`request_approval` with a title (at most 200 characters), optional details, 2 to 4 options (the first one means approved), an expiry, and optionally a channel and push interests. It returns a hosted link `https://hibira.io/approve/...`; anyone with the link can answer, and the first answer wins. Give the link to the user (or let the push notification carry it), then call `get_approval`, which waits up to 25 seconds per call, until the status is `approved`, `rejected` or `expired`. Do not take the action unless the status is `approved`.
## 2. From a server or workflow: approvals HTTP API
`POST /apps/APP_ID/approvals` and `GET /apps/APP_ID/approvals/{id}?wait=25`, signed with the app key and secret exactly like `POST /apps/APP_ID/events` (Pusher `auth_signature`, `body_md5`). Same fields and hosted page as the MCP tool. This is what the n8n, Make, Activepieces and Node-RED integrations use.
## 3. In the product: `@hibira-io/approvals`
```sh
npm install @hibira-io/approvals pusher pusher-js
```
A live inbox for reviewers (React and Vue components, 7 languages, light and dark) plus server helpers for the Vercel AI SDK (`needsApproval`), Mastra (`requireApproval`, `suspend()`) and LangGraph (`interrupt()`). The agent run stops on a tool call, `approvals.request({ calls })` opens a request, reviewers get an `approval` event on `private-hibira-approvals.{scope}.inbox`, decide (approve, edit the input, or reject with a reason), and the run resumes. The event carries no tool input, so nothing sensitive crosses the socket. The inbox calls your backend routes, never client events. Laravel/Filament projects use `hibira-io/filament-approvals`; Python uses the package's `python/` folder (LangGraph + FastAPI).
## Rules
- Authorize `private-hibira-approvals.*` in your auth route so only reviewers can subscribe.
- Treat expiry and rejection as final; do not re-ask in a loop.
- New requests are limited to about 1 per second per account.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · hibira-io/agent-plugin | 100 | MIT |
| leverage-computer/skills | 85 | MIT |
Database snapshot: 13.11.2026 · package version 29fd430681fb (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 90approval-before-risky-actions
Get a second person's approval in Hibira Approvals before a coding agent does something hard to undo, such as deleting files, force-pushing, deploying, terraform apply, publishing a package or writing to a production database. Use when about to run such a step, when a Hibira… - 100hibira-mcp-usage
How and when to use the Hibira MCP server (hibira.io/mcp) safely. Use when the task needs the user's real Hibira account, such as listing or creating apps, reading usage, sending a test event, watching the debug console, reading channels and presence members, configuring… - 100agent-inbox
Ask a human for a decision or approval through agent-inbox and wait for it asynchronously, with a briefing they can decide cold from their phone. Use when an agent that no orchestration manager runs needs a human call before it can continue, or when the user mentions agent-inbox. - 100langchain-langgraph-human-in-loop
Build LangGraph 1.0 human-in-the-loop approval flows with interrupt_before\ \ /\ninterrupt_after and Command(resume=...) \u2014 JSON-serializable state,\ \ clean\nresume semantics, and UI wiring for approval decisions. Use when adding\ \ an\napproval gate before an expensive… - 90handling-approvals
How approvals work and how to act around them: before any write that may need a person's yes, when a card is declined, edited or expires, when someone else must approve, and when you batch many writes. Use whenever your work includes writes to a service. - 100plures
Add a human in the loop to an AI agent with Plures. Use when an agent should get a person's judgment before acting (approvals, sign off, human review, HITL, escalation, checking an AI answer, tone, moderation, refunds, A or B preference, design or video feedback) or when the…