Skip to content

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

Page as Markdown

Overview

Learn about the different policy sections.

The AgentgatewayPolicy custom resource lets you apply traffic management, security, observability, and backend connection policies to your agentgateway resources.

Policy sections

Each AgentgatewayPolicy has three top-level sections in the spec field that control different stages of request processing. You can include one or more of these sections in a single policy.

SectionDescriptionAvailable fields
frontendControls how the gateway accepts incoming connections. Applies at the gateway level before routing decisions.tcp, tls, http, networkAuthorization, accessLog, tracing
trafficControls how agentgateway processes traffic. Applies at the listener, route, or route rule level. Fields are listed in execution order.cors, jwtAuthentication, basicAuthentication, apiKeyAuthentication, extAuth, authorization, rateLimit, extProc, transformation, csrf, headerModifiers, hostRewrite, directResponse, timeouts, retry
backendControls how agentgateway connects to destination backends. Applies at the backend, service, route, or gateway level.tcp, tls, http, tunnel, transformation, auth, extAuth, health, ai, mcp

Example guides

Check out the following sections for policy examples.

SecurityTraffic managementResiliency
Was this page helpful?
Agentgateway assistant

Ask me anything about agentgateway configuration, features, or usage.

Note: AI-generated content might contain errors; please verify and test all returned information.

Tip: one topic per conversation gives the best results. Use the + button in the chat header to start a new conversation.

Switching topics? Starting a new conversation improves accuracy.
↑↓ navigate select esc dismiss

What could be improved?

Your feedback helps us improve assistant answers and identify docs gaps we should fix.

Need more help? Join us on Discord: https://discord.gg/y9efgEmppm

Want to use your own agent? Add the Solo MCP server to query our docs directly. Get started here: https://search.solo.io/.