withHuman

ai.withhuman由 withhuman.ai 发布官方发布者v1.0.0更新于 Nov 4, 2026

Set up human approval for your AI agents' tool calls.

已验证Streamable HTTP可网页运行效率与工作流开发者工具安全与监控

概览

AI 生成的概览

withHuman 是一个审批层,让助手在执行有后果的工具调用前,交由人工批准、拒绝或自动放行。

可以做什么
  • 在执行前按审批规则检查智能体的工具调用
  • 根据工具及其参数自动批准、拒绝或转交人工决定
  • 通过邮件、Slack 或 Discord 通知审核人,并按团队、级别和工作时间升级
  • 让审核人在网页应用中查看完整调用参数后作出决定
  • 通过适配器与 SDK 接入编码智能体和自建框架
适用场景
当助手需要执行退款、部署回滚或合并代码等真实操作,且高风险动作必须先由人确认时使用。适合希望集中定义哪些智能体动作自动执行、哪些被禁止、哪些等待审核的团队。
运行要求
托管版为远程端点,需要 OAuth 登录。自托管需要 Docker(或 Go 与 Node 从源码运行)和 bootstrap 密钥;在本地之外使用时还需 HTTPS 反向代理、WITHHUMAN_PUBLIC_ORIGIN、WITHHUMAN_TRUSTED_PROXIES、WITHHUMAN_SECRETS_KEY、SMTP 设置以及数据目录备份。智能体通过 withhuman CLI 或 AAP SDK 接入。
安装前请注意
它位于会改变状态的操作之前,规则配置不当可能放行高风险调用或拦截常规调用。自托管需妥善保护 WITHHUMAN_SECRETS_KEY 与 bootstrap 密钥,并备份数据目录。自托管版本每天发送包含安装 ID、版本和平台的遥测数据,除非设置 WITHHUMAN_TELEMETRY=off 或 DO_NOT_TRACK=1。托管版另提供审计日志、AI 判定、MCP 网关、电话通知和单点登录。

安装

在 SourceWeft 中

  1. 打开 控制台中的 withHuman,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.withhuman%2Fwithhuman/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "withhuman": {
      "type": "http",
      "url": "https://app.withhuman.ai/api/mcp/v1"
    }
  }
}

README

[withHuman] [withHuman]

Approval layer for AI Agents
Put your most consequential agent actions behind human approvals, so your agents can do real work.

[Latest release] [Release build] [Docker image] [Go version] [License: Elastic 2.0] [Agent Approval Protocol] [Chat on Discord] [Follow @withHumanAI on X]

Website · Docs · Quickstart · Protocol · Discord · Contributing


We want agents to do more than read data and suggest what to do next. They should be able to roll back a deployment, issue a refund, or merge code. Those actions have consequences, and teams need a way to bring a person in before they happen.

withHuman is the approval layer for that moment. It checks an agent's tool call before it runs against rules you define in one place. Routine calls can be approved automatically, disallowed calls can be denied, and consequential ones can wait for the right person to decide. Every agent you connect follows those rules.

[The review page for a pending issue_refund request: its arguments, the agent's explanation, and Deny and Approve buttons] [The review page for a pending issue_refund request: its arguments, the agent's explanation, and Deny and Approve buttons]

How it works

An adapter (a runtime hook or an SDK wrapper) sends each tool call to withHuman before it runs, over the open Agent Approval Protocol.

mermaid
sequenceDiagram    participant Agent as Your agent    participant WH as withHuman    participant You as You    Agent->>WH: Wants to call issue_refund(amount: 75)    WH->>WH: Checks your approval pipeline    WH->>You: Asks for approval by email, Slack or Discord    You->>WH: Approve    WH->>Agent: Go ahead    Agent->>Agent: Runs issue_refund
  • Approval pipelines approve, deny or ask a person, based on the tool and its arguments. For example: approve refunds up to $20, ask payments above that.
  • Escalation paths choose who is asked and when, by team, level and working hours. Reviewers get email, Slack or Discord and decide in the web app with the exact arguments in front of them.

See How withHuman works for how the pieces fit together.

Quickstart

You need Docker.

sh
docker run -d --name withhuman -p 8080:8080 -v withhuman-data:/data quay.io/withhuman/bundle:latestdocker exec withhuman cat /data/bootstrap-secret

Open http://localhost:8080, choose First setup and enter the secret. The welcome page connects your first agent and ends with a test call for you to approve. The quickstart guide covers each step.

To run from source instead, install Go (the version in go.mod) and Node 25, then run make frontend && go run ./cmd/withhuman. The secret is in ~/.withhuman/bootstrap-secret.

Connect your agents

  • Coding agents. Claude Code, Codex, OpenClaw, Pi, Hermes and DeepSeek connect with the withhuman CLI:

    sh
    curl -fsSL https://downloads.withhuman.ai/install.sh | shwithhuman agent install --url https://approvals.example.com
  • Agents you build. LangGraph, Pydantic AI, the OpenAI Agents SDK, CrewAI, Mastra and other frameworks connect through the AAP SDKs. See the examples.

Explore further

Agent skills

Teach your coding agent to connect runtimes and write approval pipelines:

sh
npx skills add https://withhuman.ai

The skills live in skills/.

Deploy

Settings are environment variables, listed in .env.example. Before you go beyond your own machine:

  1. Serve it behind HTTPS and set WITHHUMAN_PUBLIC_ORIGIN to that origin.
  2. Set WITHHUMAN_TRUSTED_PROXIES to your proxy's addresses only.
  3. Set WITHHUMAN_SECRETS_KEY and keep it safe.
  4. Configure SMTP so invitations and password resets reach people.
  5. Back up the whole data directory.
  6. Set OTEL_EXPORTER_OTLP_ENDPOINT to collect its OpenTelemetry metrics.

Don't want to run it yourself? withhuman.ai hosts it and adds the audit log, the AI judge, the MCP gateway, phone notifications and single sign-on.

Telemetry

Once a day withHuman sends a random installation ID, its version, the platform and whether it runs as a binary, a container or on Kubernetes. The answer tells administrators about new releases and security fixes on the Version settings page. Nothing about your organizations, people, agents or requests is sent. Set WITHHUMAN_TELEMETRY=off (or DO_NOT_TRACK=1) to turn it off. See Updates and telemetry.

Community

License

withHuman is licensed under the Elastic License 2.0.

来源:README.md,提交 74b8b42

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.0最新Oct 14, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。