Skip to content

docs: add agentgateway example#376

Open
Lasse4 wants to merge 7 commits into
kagent-dev:mainfrom
Lasse4:docs/add-agentgateway-example
Open

docs: add agentgateway example#376
Lasse4 wants to merge 7 commits into
kagent-dev:mainfrom
Lasse4:docs/add-agentgateway-example

Conversation

@Lasse4
Copy link
Copy Markdown

@Lasse4 Lasse4 commented Jun 2, 2026

This PR is part of kgateway-dev/kgateway.dev#606

Signed-off-by: Lasse4 <lasse@vierow.de>
Comment thread src/app/docs/kagent/examples/agentgateway/page.mdx Outdated
Comment thread src/app/docs/kagent/examples/agentgateway/page.mdx Outdated
Comment thread src/app/docs/kagent/examples/agentgateway/page.mdx
Comment thread src/app/docs/kagent/examples/agentgateway/page.mdx Outdated
Comment thread src/app/docs/kagent/examples/agentgateway/page.mdx
Comment thread src/app/docs/kagent/examples/agentgateway/page.mdx Outdated
Lasse4 and others added 6 commits June 2, 2026 14:05
Co-authored-by: Art <artberger@users.noreply.github.com>
Signed-off-by: Lasse Vierow <103564285+Lasse4@users.noreply.github.com>
Co-authored-by: Art <artberger@users.noreply.github.com>
Signed-off-by: Lasse Vierow <103564285+Lasse4@users.noreply.github.com>
Co-authored-by: Art <artberger@users.noreply.github.com>
Signed-off-by: Lasse Vierow <103564285+Lasse4@users.noreply.github.com>
Signed-off-by: Lasse Vierow <103564285+Lasse4@users.noreply.github.com>
Signed-off-by: Lasse4 <lasse@vierow.de>
Signed-off-by: Lasse4 <lasse@vierow.de>

```shell
helm upgrade kagent oci://ghcr.io/kagent-dev/kagent/helm/kagent \
--reuse-values
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--reuse-values
--reuse-values \

- response:
message: "Rejected due to inappropriate content"
regex:
action: Reject
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's switch this to mask and then show the chat will have EMAIL masked out!

1. If you installed kagent without agentgateway, upgrade your installation to route through the proxy.

```shell
helm upgrade kagent oci://ghcr.io/kagent-dev/kagent/helm/kagent \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't need to do this step if you manually define the ModelConfig with the host!

</div>

4. [Open the kagent UI](/docs/kagent/observability/launch-ui).
5. Start a chat with an agent such as `k8s-agent` to confirm that requests flow through agentgateway.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the helm upgrade step will change all the agents to go through agentgateway. It might be worth showing how you can make a specific agent use the ModelConfig by editing the agent/creating a new agent instead. The basic getting started guide uses the cli to install https://kagent.dev/docs/kagent/getting-started/quickstart (so the helm upgrade might not behave as expected)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants