Agentic Identity Broker 开源 为 AI 智能体提供 OAuth 委托授权
Agentic Identity Broker 是一个开源项目,让人类用户以细粒度、可撤销的 OAuth2 委托方式授权 AI 智能体访问 Google、GitHub、Databricks、Linear 等服务,无需把凭据交给智能体。它通过网关部署在调用链中,承担智能体注册、会话管理、同意流程与审计日志,减轻智能体与 MCP 服务端的鉴权负担。当前聚焦人类委托给智能体的 on-behalf-of 场景,后续计划支持机器调用的无头智能体。
报道正文
本文目录10 个章节
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.
Key Features
-
Secure Identity Management<br> Agent registration, principal authentication, and session management
-
OAuth2 Delegation & Consent<br> Manage OAuth2 scopes and user consent for third-party service integrations
-
Security-First Design<br> Sensitive value redaction, command injection prevention, cryptographic validation, and fail-closed architecture
-
Rich Consent Experience<br> Modern UX for managing OAuth2 delegations with design system compliance
-
Comprehensive Audit Logging<br> Structured JSON logging for compliance and security monitoring
Use Cases
Internal MCP Servers
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.
MCP Servers for SaaS
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.
Hosted Agents
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.
Documentation
Check out the following docs:
- Quickstart — Get started with Agentic Identity Broker in minutes.
- agenticidentitybroker.dev – Underlying concepts, guides and API specs.
The architecture overview describes the system design, component boundaries, and domain glossary.
Agentic Identity Broker has a built-in consent management UI:
Contributing
For contribution rules, test commands, and coverage reports, see CONTRIBUTING.md.
Roadmap
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.
作者发帖说明(HN):
Hi HN, I’m Jan. I am co-author of the Agentic Identity Broker (AIB), an MIT-licensed OAuth2 broker in the Zalando Incubator, that lets a user give an AI agent scoped, revocable access to MCP services.
The broker solves three major challenges that are especially relevant in corporate environments: (A) Enable users to delegate workloads to agents without providing the agents all the user’s tokens. (B) Connect fragmented identity and authorization systems. (C) Centralize tool approvals and audit logging.
We built AIB to fill an infrastructure gap in our own agent platform. At this moment in time, IETF working groups are still finalizing standards for agent identity, and vendors are still turning the necessary infrastructure into off-the-shelf products. We needed that infrastructure today.
How it works: the user consents once per agent and service. The broker stores the third-party tokens encrypted. At request time a gateway (e.g. Agentgateway) does RFC 8693 token exchange. Agents never see user tokens and MCP servers only implement tools and don’t need to care about all the OAuth 2.1 plumbing.
AIB is v0.1 and runs in production, bringing together hundreds of our agents with dozens of internal and external MCP servers.
To try it locally: clone the repo, run "just compose-up-detached".
The current features focus on on-behalf-of (OBO) use cases, where human actors delegate to agents. Next we are looking to also support headless agents, where agents are invoked by machines. In...