> ## Documentation Index
> Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Gateway

> Centralized authentication, access control, and observability for your agents

> [!NOTE]
>
> Supported agent frameworks: [A2A
> agents](https://a2a-protocol.org/latest/topics/what-is-a2a/#understanding-the-agent-stack-a2a-mcp-agent-frameworks-and-models)

> [card] [Quickstart](https://docs.portkey.ai/docs/product/agent-gateway/quickstart.md)
>
> Skip to the quickstart

> [card] [Advanced code snippets and examples](https://docs.portkey.ai/docs/product/agent-gateway/advanced-code-snippets-and-examples.md)
>
> Advanced code snippets and examples for the Agent Gateway

## Introduction

Feel free to consume the documentation in any order you prefer, the quickstart is a good place to start to get going.

The Agent Gateway consists of 2 components:

* [Agent Registry](https://docs.portkey.ai/docs/product/agent-gateway/registry.md): A centralised registry of all agents in your organization with access control and observability.
* [Agent Servers](https://docs.portkey.ai/docs/product/agent-gateway/servers.md): Agent servers that act as a client to the upstream agent server and as a server to the downstream agent clients.

The agent gateway acts as a centralised proxy for your agent servers. Sitting in between your agent clients and your agent servers.

Here is a broad architecture diagram:

```mermaid theme={"system"}
flowchart TD
  subgraph client["Client Layer"]
    A["Client (API Consumer)"]
  end

  subgraph gateway["Agent Gateway"]
    B["Portkey Agent Gateway"]
  end

  subgraph agentServer["Agent Server"]
    C["Agent Server"]
  end

  subgraph controlPlane["Control Plane"]
    D["Authentication, access control (skills, capabilities)"]
  end

  subgraph observability["Logging / Observability"]
    E[(Secure Logging)]
  end

  A -- "Portkey API key" --> B
  B -- "Authorization" --> C

  D -.-> B
  B -.-> D

  B --> E

  style D fill:#f2f6fd,stroke:#346df1,color:#346df1
  style E fill:#f8f9fa,stroke:#70a19f,color:#70a19f
```

***

> [card] [Portkey is now PRISMA AIRS AI Gateway. See it in action.](https://www.paloaltonetworks.in/ai-security/ai-gateway?utm_source=portkey\&utm_medium=referral\&utm_campaign=prisma_airs\&utm_content=docs_nav#contact)
>
> Contact Us


## Related topics

- [April](https://docs.portkey.ai/docs/changelog/2026/april.md)
- [API Keys (AuthN and AuthZ)](https://docs.portkey.ai/docs/product/enterprise-offering/org-management/api-keys-authn-and-authz.md)
- [Agent Registry](https://docs.portkey.ai/docs/product/agent-gateway/registry.md)
- [Agent Servers](https://docs.portkey.ai/docs/product/agent-gateway/servers.md)
- [Enterprise Gateway](https://docs.portkey.ai/docs/changelog/enterprise.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.