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, 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 direct redirect responses to send users to another location.
Transformations
Modify header and body information for requests and responses.
Rewrites
Modify URL hostnames and paths of incoming requests dynamically.
Direct Response
Return custom responses directly without forwarding to a backend.
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.
AI (LLM) Policies
Configure policies to control AI model behavior and prompt handling.