# Install agentgateway 1.8.1, Skip 1.8.0

> Install agentgateway 1.8.1 and skip 1.8.0. Flux could not deploy the 1.8.0 CRD chart. Review Bedrock IAM, user identity, passthrough, retries, and logs.

- Canonical URL: https://webofmike.com/agentgateway-1-8-upgrade/
- Author: Mike Moore (https://webofmike.com/about/)
- Published: 2026-12-03
- Last modified: 2026-12-03
- Tags: AI Gateways, AI Agents, Platform Engineering, Kubernetes
- Cite as: Mike Moore, "Install agentgateway 1.8.1, Skip 1.8.0", Web of Mike (webofmike.com), 2026-12-03. https://webofmike.com/agentgateway-1-8-upgrade/


Install open-source [agentgateway](https://agentgateway.dev/) 1.8.1 and skip 1.8.0. The v1.8.0 CRD Helm chart could not be deployed by Flux. 1.8.1 packages that chart with compact JSON CRDs, and it also reads webhook guardrail replies with the LLM buffer limit, so larger replies are no longer cut off. The 1.8 line also changes Bedrock IAM, default user identity, `passthrough`, retry buffering, and the reasons policy responses log. The project is on [GitHub](https://github.com/agentgateway/agentgateway) if you want to follow along. If you need the basics first, start with [what an AI agent gateway is](/what-is-an-ai-agent-gateway/), then come back here.

This page is for platform engineers on 1.7.x, or anyone about to install 1.8 for the first time. Every version, key, and behavior below comes from three public sources: the [v1.8.0 release notes](https://github.com/agentgateway/agentgateway/releases/tag/v1.8.0), the [v1.8.1 release notes](https://github.com/agentgateway/agentgateway/releases/tag/v1.8.1), and the [Dec 1, 2026 agentgateway blog post](https://agentgateway.dev/blog/2026-12-01-agentgateway-v1.8.1/). I checked all three on 2026-12-03. I did not run an upgrade for this page, so there are no lab results here, only what the project published.

## Should I install agentgateway 1.8.1 or 1.8.0?

Install 1.8.1. The v1.8.1 notes say the release "fixes an issue preventing Flux from deploying the v1.8.0 CRD Helm chart." The change that does it is "helm: package CRD chart with compact JSON CRDs." The blog says the same thing in plain terms: if you have not upgraded yet, skip 1.8.0 and install 1.8.1.

Skip 1.8.0 even if you do not use Flux. 1.8.1 is the first patch on top of it, and it carries the webhook guardrail buffer fix. There is no reason to land on the broken chart and then move again.

The 1.8.1 artifacts are:

- Docker images: `cr.agentgateway.dev/agentgateway:v1.8.1` and `cr.agentgateway.dev/controller:v1.8.1`
- Helm charts: `cr.agentgateway.dev/charts/agentgateway`, `cr.agentgateway.dev/charts/agentgateway-crds`, and `cr.agentgateway.dev/charts/agentgateway-standalone`, all at `v1.8.1`
- Binaries for `agentgateway` and the `agctl` CLI on the GitHub release page

The release notes link the [Kubernetes quick start](https://agentgateway.dev/docs/kubernetes/latest/documentation/quickstart/) and the [standalone quick start](https://agentgateway.dev/docs/standalone/latest/documentation/quickstart/) for the install steps. Use those for the mechanics, and set the version to `v1.8.1`.

Three other small fixes shipped in 1.8.1. Telemetry now shuts down after the drain finishes, so requests served during the drain are still recorded. A misleading conflict error message in the API was fixed. And the webhook guardrail reply fix is covered in [custom webhooks](/agentgateway-guardrails/#custom-webhooks) on the guardrails page.

## What breaks when you upgrade from 1.7 to 1.8?

The blog lists five things to check before you roll out. Here is the short version of each, with the full detail in the sections below.

1. **Bedrock needs different IAM permissions.** Native endpoints are authorized as `bedrock:InvokeModel` and `bedrock:InvokeModelWithResponseStream`. A role scoped only for Converse may be denied.
2. **Users are identified by JWT email first.** If `standardAttributes.user` is not set, request logs and analytics for the same person split across the upgrade.
3. **`passthrough` means passthrough again.** A model with it set passes every request through unparsed.
4. **Retries buffer larger bodies.** Up to 2 MiB by default, or 32 MiB for LLM requests, which uses more memory.
5. **Dashboards that filter on `DirectResponse` need updating.** Policy responses now log a specific reason.

Put those five lines in your upgrade review. Nothing else in the 1.8.0 breaking changes list needs a separate check.

## How do Bedrock IAM permissions change in agentgateway 1.8?

Before 1.8, agentgateway translated Bedrock chat requests into Bedrock's Converse API. In 1.8, Bedrock Runtime chat requests go to Bedrock Runtime's native Anthropic Messages and OpenAI Chat Completions and Responses endpoints instead. That avoids format conversion for clients such as Claude Code and Codex, which keep sending the format they already speak.

Agentgateway still uses Converse where the native APIs fall short. The notes give two cases: Responses requests to Claude models, and models that have no native API.

The IAM change is the one that can take a working gateway down. Converse and the native endpoints are separate APIs. The native endpoints are AWS's layer over `InvokeModel`, and they are authorized as `bedrock:InvokeModel` and `bedrock:InvokeModelWithResponseStream` on the model. A role scoped to only what Converse needed may be denied. Check the gateway's AWS role before you upgrade.

Native Runtime also rejects some features that Converse accepted. `web_search` tools on Messages requests and `oauth-*` betas are dropped. If a client depends on either, test it before you roll out.

To retain the 1.7 behavior, set this environment variable:

```sh
AGENTGATEWAY_BEDROCK_RUNTIME_CONVERSE=true
```

The same release adds `preferred_endpoints` to `/v1/models`, so clients can pick the API that avoids conversion. The notes give this example:

```json
{
  "id": "claude-opus-5-5",
  "owned_by": "aws.bedrock",
  "preferred_endpoints": ["/messages"]
}
```

## Why did request logs and analytics split after the upgrade?

When `standardAttributes.user` is not set, `agentgateway.user` now resolves to `jwt.email`, then `jwt.sub`, then API key metadata (`agentgateway.dev/owner`, `user`, `owner`). The API key's `name` is no longer used, since it labels the key rather than a user.

That has three effects, all from the v1.8.0 notes:

- JWT users are recorded by email instead of `sub`, so request log and analytics history for the same person is split across the upgrade.
- New API keys created in the UI are owned by the creator's email. Existing keys keep their `sub`-based owner.
- Requests that carry both a JWT and an API key are attributed to the JWT user rather than the key owner.

If you need continuity, set `standardAttributes.user` to the previous expression. This is the one from the v1.8.0 notes, unchanged:

```yaml
config:
  standardAttributes:
    user: 'coalesce(apiKey["agentgateway.dev/owner"], apiKey.user, apiKey.name, apiKey.owner, jwt.sub, jwt.email, basicAuth.username, source.identity.namespace + "/" + source.identity.serviceAccount, source.subjectCn, null)'
```

The 1.8.0 notes also say standard attributes, such as `agentgateway.user`, are always included in access logs now. If you chart per-user usage, decide before the upgrade whether the split is acceptable or whether you want the old expression.

## What does passthrough do in agentgateway 1.8?

A model's `passthrough` setting once again means "always pass through", as documented. In 1.7 it only applied to paths agentgateway did not recognize, so known APIs such as `/v1/chat/completions` were still parsed.

In 1.8, models that set `passthrough` pass every request through unparsed. Anything that relied on parsing for a known API on that model stops happening. Remove the setting to have known APIs processed.

Review every model entry that sets `passthrough` before you upgrade. If you set it for an odd path and forgot about it, 1.8 is when it starts to matter.

## Why do retries use more memory after the upgrade?

Retries previously applied only to request bodies up to 64 KiB. In 1.8, bodies up to the request buffer limit are buffered and retried. That limit is `frontendPolicies.http.maxBufferSize`, which is 2 MiB by default, or 32 MiB for LLM requests.

The notes say this increases memory use on routes with retries. LLM routes have the higher default limit, so watch those first. Lower `maxBufferSize` to limit the memory.

Related, from the 1.8.0 behavior changes: request and response bodies that exceed a `buffer` policy limit now log an error and return a `request body too large` or `upstream response too large` body.

## Why did DirectResponse disappear from the logs?

Responses generated by policies are now logged with a specific reason instead of `DirectResponse`. The v1.8.0 notes list `ExtAuth`, `ExtProc`, `Authorization`, `InvalidRequest`, and `ModelRouting` as examples. The blog shortens that list, so use the GitHub one.

Update dashboards and alerts that filter on `DirectResponse`. A filter that matched before will quietly match nothing, which is the worst kind of alert failure.

## What else is new in agentgateway 1.8?

Keep this section for after the upgrade is safe. The notes cover a lot, so here are the headline items:

- **Decisions and SystemOne on more backends.** Gemini, Azure OpenAI, and GitHub Copilot are added as backends, and clients keep using the API they already speak.
- **New providers.** CoreWeave and Nebius are built-in providers.
- **MCP Skills extension.** Agents can discover and load skills through the gateway. If you need a definition of MCP first, see [what an MCP gateway is](/what-is-an-mcp-gateway/).
- **Response compression and upstream access logs.** Access logs can record every upstream call.
- **`llm.originalModel`.** It holds the model the client requested, before any virtual model, alias, or body rewrite.
- **Security fixes.** Five security advisories are fixed in 1.8.0. The release notes list each one with its link.

The blog counts 49 contributors this cycle, 19 of them first-timers, and 232 commits. Credit to them. For everything else, read the full v1.8.0 notes.

One 1.8.1 item belongs in your webhook guardrails plan. If you run custom webhook guardrails, the buffer fix means larger replies are no longer cut off. The details sit in the [custom webhooks section of the guardrails how-to](/agentgateway-guardrails/#custom-webhooks).

