Show HN: 智能体身份代理,AI 智能体的 OAuth 委托
Show HN: Agentic Identity Broker, OAuth Delegation for AI Agents

原始链接: https://github.com/zalando-incubator/agentic-identity-broker

Agentic Identity Broker 支持在不共享凭证的情况下,为 AI 代理提供范围受限、可撤销的访问委托。它管理 OAuth2 代表式委托链,桥接独立的 OAuth2 基础设施,并提供安全的令牌保管库。通过 Agentgateway 等网关部署,它集中处理令牌交换、同意授权与审计日志,使 MCP 服务器专注于工具,同时让代理在多个服务器间使用一个用户令牌。它提供对 Google、GitHub、Databricks 和 Linear 等服务的细粒度同意与权限,以及安全的身份管理、安全优先设计和全面的审计追踪。功能包括通过特权客户端进行模拟操作和集中式工具审批提示。它正在积极开发,内部使用,并且规划路线图包括代理间令牌交换、基于意图的授权和用户活动日志。

Agentic Identity Broker(AIB)是 Zalando Incubator 的 MIT 许可 OAuth2 中介,允许用户授予 AI 代理对 MCP 服务的有限范围、可撤销访问。它解决了三个挑战:在不暴露用户令牌的情况下委派任务、连接碎片化的身份与授权系统,以及集中管理工具审批与审计日志。用户对每个代理/服务只需同意一次;中介加密存储第三方令牌,网关在请求时执行 RFC 8693 令牌交换,因此代理从不接触用户令牌,MCP 服务器也无需处理 OAuth 接入。AIB 为版本 0.1,已在生产环境中运行,支持数百个代理和数十个 MCP 服务器。可通过 Docker Compose 本地试用。未来计划包括无头代理和基于意图的授权。
相关文章

原文
Agentic Identity Broker Wordmark

Delegate scoped, revocable access to AI agents — without handing them your credentials.


Agentic Identity Broker manages delegation chains for on-behalf-of flows in Agentic AI, bridges distinct OAuth2 infrastructures, and provides a secure token vault. Deployed within the call path via gateways like Agentgateway, it offloads auth burdens from both agent and MCP server creators.

For users, it provides a simple way to manage consent, granting agents granular permissions across services such as Google, GitHub, Databricks, and Linear without compromising control.

  • Secure Identity Management
    Agent registration, principal authentication, and session management

  • OAuth2 Delegation & Consent
    Manage OAuth2 scopes and user consent for third-party service integrations

  • Security-First Design
    Sensitive value redaction, command injection prevention, cryptographic validation, and fail-closed architecture

  • Rich Consent Experience
    Modern UX for managing OAuth2 delegations with design system compliance

  • Comprehensive Audit Logging
    Structured JSON logging for compliance and security monitoring

Frameworks like FastMCP can implement the whole OAuth2.1 ceremonies as mandated by the MCP spec but this means that you have to configure it for every MCP Server you deploy and maintain it. You also have to configure secure storage and basically run a multitude of OAuth2 authorization servers. With the identity broker and a gateway you can dumb down MCP server development to only provide tools on the target technology you want. OAuth2 ceremonies, token vaulting and token translation are done transparently. Because token exchange is done centrally via a gateway, this allows agents to interact with hundreds of MCP servers via one channel.

If you want to offer an MCP server to your customers as part of your SaaS, the identity broker can provide an additional consent surface that records which agents were actually used. With centralized tool authorization, you can keep an audit trail of approvals on your side regardless of which agent the customer runs.

The agentic identity broker can simplify agents by requiring only a single user token that can be used with an arbitrary number of MCP servers. When paired with a portal for user interactions, token procurement can be front-loaded in the portal, and the agent's responsibility is to forward this token to upstream MCP servers via a gateway.

Delegation Chains Without User Presence

The impersonation feature allows to start delegation chains via privileged clients, like a Google Chat or Slack bridge. The broker can be instructed to trust for two independent machine identities to assume the session for a particular user. This allows to use the permissions of a user on the company chat in another third-party system.

Central Authorization Prompts

The tool approval support in the broker allows to enforce tool calls independent of the agent interface in use. This allows a last resort check before emails get sent or documents shared with a central audit trail.

Check out the following docs:

The architecture overview describes the system design, component boundaries, and domain glossary.

Agentic Identity Broker has a built-in consent management UI:

Agentic Identity Broker consent interface

For contribution rules, test commands, and coverage reports, see CONTRIBUTING.md.

Agentic Identity Broker is currently in active development. We use this project in production internally for several MCP servers and have seen good potential. We are coding in the open to gauge our approach. If you find it useful, let us know. If you'd like a feature that's missing, open an issue in our GitHub repo.

While this project was created by professionals with decades of experience in the identity space (including building multiple OIDC and OAuth2 providers), it was developed with a strong focus on agentic engineering and spec-driven development. We review every PR and prioritize sound engineering practices over convenience.

Major roadmap topics include: (a) formalizing token exchange for agent-to-agent calls, (b) intent based authorization and (c) user facing acticity logs.

Thanks to all contributors who are helping to make the Agentic Identity Broker better.

Star history of zalando-incubator/agentic-identity-broker over time
联系我们 contact @ memedata.com