For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Traffic management
Control traffic with matching, redirects, body buffering, rewrites, and transformations.
Control traffic and route requests through agentgateway.
Tip
The guides in this section show example configuration for different types of policies. Policies are applied to routes, which are part of a listener on a bind.
binds:
- port: 3000
listeners:
- routes:
- policies:Request matching
Match incoming requests by path, headers, methods, and query parameters.
Header manipulation
Add, set, or remove HTTP request and response headers.
Redirects
Return a redirect response that rewrites the scheme, host, path, or status code before a request …
Transformations
Modify header and body information for requests and responses.
Rewrites
Rewrite the host or path of a request before agentgateway forwards it to a backend.
Direct Response
Serve a fixed status code and response body directly from agentgateway instead of forwarding to a …
Route delegation
Delegate routing decisions to route groups for independent team management.
External processing (ExtProc)
Use external gRPC servers to modify HTTP requests and responses.
Body buffering
Buffer request and response bodies before forwarding them.
AI (LLM) Policies
Configure policies to control AI model behavior and prompt handling.