* Add initial proto for policies * Add comments * Make transformation more dynamic * basic cel transformation * working cel transformations * schemas * cleanup * fmt * update header modifier too * fix policy removal
Examples
This directory contains examples of how to use agentgateway. Each example covers a slightly different use-case, if you are unsure where to start, basic is the way to go. The examples increase in complexity, so we recommend following them in order.
Basic
The basic example is the simplest way to get started with agentgateway. This example exposes a single MCP server over Stdio.
Multiplex
The multiplex example shows how to use agentgateway to multiplex multiple targets on a single listener.
Authorization
The authorization example shows how to use agentgateway to apply authorization policies to incoming requests. It uses JWT Authentication and authorizaton policies to authenticate and authorize incoming requests.
TLS
The tls example shows how to use agentgateway to terminate TLS connections.
OpenAPI
The openapi example shows how to use agentgateway to serve an OpenAPI specification for a given target.
A2A
The a2a example shows how to use agentgateway to serve an A2A agent.
HTTP
The http example shows how to use agentgateway to serve generic HTTP traffic.