Skip to content

fix(ai-gateway): Update AI Entities docs#5698

Open
tomek-labuk wants to merge 22 commits into
release/ai-gateway-2.0from
fix/ai-entities
Open

fix(ai-gateway): Update AI Entities docs#5698
tomek-labuk wants to merge 22 commits into
release/ai-gateway-2.0from
fix/ai-entities

Conversation

@tomek-labuk

Copy link
Copy Markdown
Contributor

Description

Fixes #issue

Preview Links

Checklist

  • Tested how-to docs. If not, note why here.
  • All pages contain metadata.
  • Any new docs link to existing docs.
  • All autogenerated instructions render correctly (API, decK, Konnect, Kong Manager).
  • Style guide (capitalized gateway entities, placeholder URLs) implemented correctly.
  • Every page has a description entry in frontmatter.
  • Add new pages to the product documentation index (if applicable).

@netlify

netlify Bot commented Jun 24, 2026

Copy link
Copy Markdown

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 32c0278
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a3df3ee14f16b000842e7f0
😎 Deploy Preview https://deploy-preview-5698--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@tomek-labuk tomek-labuk added the ci:manual-approve:link-validation Mark link checking as successful label Jun 24, 2026
@tomek-labuk tomek-labuk marked this pull request as ready for review June 25, 2026 06:03
@tomek-labuk tomek-labuk requested a review from a team as a code owner June 25, 2026 06:03
Copilot AI review requested due to automatic review settings June 25, 2026 06:03

Copilot AI left a comment

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.

Pull request overview

This PR updates the Kong AI Gateway “AI Entities” documentation to consistently use “AI *” entity naming, clarify entity semantics (notably “Policy” vs plugin language), and add/reuse shared include snippets for AI Gateway v2 entity docs.

Changes:

  • Adds AI Gateway v2 minimum version metadata to the AI entities landing page and updates entity card naming/description copy.
  • Refactors multiple AI entity reference pages to use “AI *” terminology consistently and to describe AI Policies as reusable configurations.
  • Introduces new shared include snippets for Redis cloud auth, A2A log output fields, and A2A OpenTelemetry span attributes, and wires them into entity pages.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
app/_landing_pages/ai-gateway/entities.yaml Adds min_version and updates entity card titles/descriptions for consistent “AI *” naming.
app/_includes/md/ai-gateway/v2/policies/redis-cloud-auth.md New include for Redis cloud provider auth blurb used by AI Gateway docs.
app/_includes/md/ai-gateway/v2/entities/otel-span-attributes.md New include defining A2A OpenTelemetry span attributes table.
app/_includes/md/ai-gateway/v2/entities/log-output-fields.md New include defining A2A log output fields table.
app/_ai_gateway_entities/ai-vault.md Updates related resource naming and removes decK mention from management methods.
app/_ai_gateway_entities/ai-provider.md Updates FAQs and terminology to “AI Provider/AI Model” and removes decK mention.
app/_ai_gateway_entities/ai-policy.md Reframes AI Policy as reusable configuration; updates scope/lifecycle wording and links.
app/_ai_gateway_entities/ai-model.md Updates related resource naming and multiple passages to “AI Model/AI Policy” terminology; removes decK mention.
app/_ai_gateway_entities/ai-mcp-server.md Updates terminology, adds AI-policy-centric wording, swaps Redis auth include, and updates several links.
app/_ai_gateway_entities/ai-gateway.md Updates entity description/related resources and removes decK mention for child entities.
app/_ai_gateway_entities/ai-data-plane-node.md Updates related resource naming and Q/A wording to “AI Data Plane”.
app/_ai_gateway_entities/ai-data-plane-certificate.md Updates related resource naming to “AI *” entities.
app/_ai_gateway_entities/ai-consumer.md Updates terminology and links related to OAuth/OIDC + AI policy references.
app/_ai_gateway_entities/ai-consumer-group.md Updates FAQ wording to “AI Consumer/AI Consumer Group/AI Policy” terminology.
app/_ai_gateway_entities/ai-consumer-credential.md Updates terminology and OAuth/OIDC + AI policy references.
app/_ai_gateway_entities/ai-agent.md Updates terminology, replaces plugin includes with AI Gateway v2 includes, and updates observability wording.

Comment thread app/_ai_gateway_entities/ai-agent.md
Comment thread app/_ai_gateway_entities/ai-policy.md
Comment thread app/_ai_gateway_entities/ai-consumer.md
Comment thread app/_ai_gateway_entities/ai-mcp-server.md Outdated
Comment thread app/_ai_gateway_entities/ai-mcp-server.md
Comment thread app/_ai_gateway_entities/ai-mcp-server.md
Comment thread app/_includes/md/ai-gateway/v2/policies/redis-cloud-auth.md Outdated
Comment thread app/_ai_gateway_entities/ai-consumer-credential.md
Comment thread app/_ai_gateway_entities/ai-mcp-server.md
@tomek-labuk tomek-labuk removed the ci:manual-approve:link-validation Mark link checking as successful label Jun 25, 2026
@tomek-labuk tomek-labuk requested a review from jbaross June 25, 2026 08:27
For `http` type AI Agents, requests are proxied without A2A-specific processing. For `a2a` type AI Agents, {{site.ai_gateway}} adds protocol-aware behavior on top of plain proxying: it detects A2A requests across both JSON-RPC and REST bindings, rewrites agent-card URLs so clients discover the gateway as the canonical endpoint, and emits structured A2A telemetry to {{site.konnect_short_name}} analytics and OpenTelemetry.

AI Agents can be created and managed through the {{site.konnect_short_name}} UI, the {{site.ai_gateway}} API, or decK:
AI Agents can be created and managed through the {{site.konnect_short_name}} UI and the {{site.ai_gateway}} API:

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.

consider being explicit about Admin API

Because the runtime executes inside {{site.ai_gateway}}, MCP endpoints are provisioned dynamically on demand. You don't host or scale them separately, and the same authentication, traffic control, and observability features available to traditional API traffic apply to MCP traffic at the same scale.

AI MCP Servers can be created and managed through the {{site.konnect_short_name}} UI, the {{site.ai_gateway}} API, or decK:
AI MCP Servers can be created and managed through the {{site.konnect_short_name}} UI and the {{site.ai_gateway}} API:

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.

As above, consider:

Suggested change
AI MCP Servers can be created and managed through the {{site.konnect_short_name}} UI and the {{site.ai_gateway}} API:
AI MCP Servers can be created and managed through the {{site.konnect_short_name}} UI and the {{site.ai_gateway}} admin API:

Comment thread app/_ai_gateway_entities/ai-mcp-server.md Outdated
Comment thread app/_ai_gateway_entities/ai-policy.md Outdated
For the complete set of behaviors available as an AI Policy `type`, see the [AI policies hub](/ai-gateway/policies/).

**AI Policies are not shared.** Each AI Policy is an independent plugin instance tied to its parent entity's lifecycle. To apply identical configuration to two AI Models, create two separate AI Policies with matching `config`. This design ensures that deleting an AI Model deletes only its own AI Policies, not configurations used by other entities.
**AI Policies are not shared.** Each AI Policy is an independent configuration tied to its parent entity's lifecycle. To apply identical configuration to two AI Models, create two separate AI Policies with matching `config`. This design ensures that deleting an AI Model deletes only its own AI Policies, not configurations used by other entities.

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.

There's some redundancy here, you could merge this into the AI Policy scopes section

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.

also, are race conditions possible if a policy is referenced by more than one entity?

>
> {{site.ai_gateway}} does not define plugin configuration schemas under the AI Policy entity.
> For each plugin you intend to use as an AI Policy `type`, look up that plugin's reference page for its `config` shape.
> {{site.ai_gateway}} does not define policy configuration schemas under the AI Policy entity.

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.

Is this true?

config:
title: AI Policy
description: An AI Gateway plugin instance scoped globally or to a specific AI entity. Policy instances are independent.
description: A reusable policy configuration scoped globally or to a specific AI entity. Policy instances are independent.

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.

If it can only be attached to exactly one entity it is not reusable

Comment thread app/_includes/md/ai-gateway/v2/policies/redis-cloud-auth.md Outdated
Comment thread app/_includes/md/ai-gateway/v2/entities/log-output-fields.md Outdated
### AI Policy execution order

A Policy attached to a Model runs on the Service of the Model's derived primitives. That Policy runs at the [priority](/gateway/entities/plugin/#plugin-priority) determined by its type, which affects when it executes relative to other Policies on the request.
An AI Policy attached to a Model runs on the Service of the Model's derived primitives. That AI Policy runs at the [priority](/gateway/entities/plugin/#plugin-priority) determined by its type, which affects when it executes relative to other AI Policies on the request.

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.

Add ticket or spreadsheet entry to migrate priority info

Co-authored-by: jbaross <james.baross@konghq.com>
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