Trusted By · Proven with Industry Leaders





PartnersWSO2 AI Gateway: what it is and which release you need
The WSO2 AI Gateway, now named Choreo AI Gateway after the company renamed to Choreo Labs on November 17, 2026, is the part of the WSO2 platform that sits between your applications and agents and the models and MCP servers they call. It applies identity, token limits, guardrails and logging in one place. It arrives with WSO2 API Manager from release 4.4, so the first question is which release you run.
| Release | What it added | What it means for you |
|---|---|---|
| 4.4 | AI APIs and token limits. | You can put a model behind the gateway and cap tokens per consumer. |
| 4.5 | Multi-model routing. | One entry point can send traffic to more than one model or provider. |
| 4.6 | MCP gateway, MCP hub, AI guardrails and semantic caching. | The first release where tool access and guardrails are in the same product. The release most estates need for agents. |
| 4.7 | MCP governance and MCP analytics. | Adds controls and reporting for MCP servers. The latest release in the vendor documentation as of November 24, 2026. |
Exception: the control plane can also run as AI Workspace, which since August 2026 is available fully self-managed, including air-gapped. Release notes recorded on our WSO2 API Manager page and checked against the vendor on November 7, 2026. The offering view, with agent identity and audit, is on AI gateway and agent governance.
AI gateway guardrails: what the catalogue holds and where each stops
The 4.7.0 documentation lists eleven guardrails. Seven are patterns or limits you write down. Two judge by meaning. Two call a cloud moderation service. Use patterns for what you can describe and a hard rule on the label that a meaning-based check returns.
| Guardrail | Type | Use it to | Limit |
|---|---|---|---|
| Content Length, Word Count, Sentence Count | Pattern | Cap the size of a prompt or an answer. | Size is a crude proxy for risk. |
| Regex | Pattern | Block or flag text that matches a pattern you can write down. | Misses anything you did not think to write. |
| JSON Schema | Pattern | Require that a request or answer has a defined structure. | Checks shape, not meaning. |
| URL | Pattern | Check the links in a model answer, which helps catch invented links. | Does not judge whether a real link is appropriate. |
| PII Masking with Regex | Masking | Mask data in formats you can describe, such as card or ID numbers. | Regex only: free-text names and places need another check. |
| Semantic Prompt | Meaning | Judge a prompt by what it asks, not how it is written. | Output is a label. Put a hard rule on the label. |
| Semantic Tool Filtering | Meaning | Rank which API tools are relevant to a request, so the model sees fewer tools. | Reduces exposure. It is not an access control. |
| Azure Content Safety, AWS Bedrock Guardrail | External service | Use a cloud provider's moderation or guardrail service from the gateway. | Prompts go to that service: check data residency first. |
Why a hard rule belongs after a classifier: prompt injection controls for AI agents. In the AI Workspace documentation, provider-level guardrails run before proxy-level ones.
PII masking on LLM traffic: the test set to run before go-live
A masking guardrail is only as good as the prompts you test it with. We build a set of synthetic prompts in these classes, run them through the gateway and keep the log. The results column is what we expect to confirm, not a finding.
| Case class | Expected result from a regex guardrail | What must be added |
|---|---|---|
| Card number with spaces or dashes | Masked by a pattern. | Pattern covers the separators you list. |
| Card number with no separators inside a longer number | May be masked or missed. | Needs a length and checksum rule, not only a pattern. |
| National ID in a sentence | Masked if the format is listed. | Formats differ by country. |
| Email address and phone number | Masked by a pattern. | Check for obfuscated forms. |
| A person's name or an address in free text | Not reliably masked. | Pair with a meaning-based or external check. |
| PII returned in the answer, not the prompt | Depends on whether the guardrail runs on responses. | Test both directions. |
Scenario: PII masking on LLM traffic for a health system. Use synthetic data only, never real patient data.
WSO2 AI Gateway setup: a three-stage engagement
Setup is a short engagement in three stages. Registration steps differ by release and by whether you run the gateway inside API Manager or as separate gateway runtimes under AI Workspace, so we confirm them on your version first. Guide: WSO2 AI Gateway setup and registration.
| Stage | What we do | What you keep |
|---|---|---|
| Assess | Versions of API Manager and Identity Server, where the gateway runs, which models and MCP servers are in scope. | A version and gaps list, and the upgrade order if a release is too old. |
| Configure | Register the gateway, add providers, attach guardrails, set token limits and MCP access, connect agent identity. | A running gateway in a non-production environment and the policy set. |
| Prove | Run the test set, check blocked calls stay blocked, check the logs. | A test log, a runbook and a go-live checklist. |
Upgrade order: bring API Manager to a current release first, then Identity Server, then Micro Integrator, as set out on our API Manager page. Micro Integrator follows once the gateway and identity layers are stable.
Who this is not for: teams on a hosted-only gateway with no need to run it themselves. Compare Bijira and API Manager first. For the vendor-neutral view see AI gateway implementation.
Worked scenarios and guides
- Scenario: AI gateway rollout in a bank.
- Scenario: PII masking on LLM traffic.
- Guide: WSO2 AI Gateway setup and registration.
- Guide: MCP proxies on WSO2 API Manager.
- Guide: AI gateway guardrails and a PII masking test set.
- Guide: AI gateway vs API gateway.
- Guide: On-premises AI gateway checklist.
- Guide: WSO2 AI Gateway cost drivers.
- Guide: WSO2 AI Gateway troubleshooting.
- Guide: Moving AI pilots to production on WSO2.
- Related: MCP gateway design and Agent Manager.
WSO2 AI Gateway, answered plainly
Is the WSO2 AI Gateway now called Choreo AI Gateway?
Yes. Choreo Labs, formerly WSO2, announced on November 17, 2026 that WSO2 AI Gateway is now Choreo AI Gateway. The company says other product names move with new releases and that it will tell customers before each change.
Which WSO2 API Manager release do we need for AI gateway features?
Release 4.4 added AI APIs and token limits and 4.5 added multi-model routing. MCP gateway, guardrails and semantic caching arrived in 4.6, and MCP governance and analytics in 4.7. Most agent projects need 4.6 or later.
Which guardrails does it include?
The 4.7.0 documentation lists eleven: content length, regex, JSON schema, sentence count, URL, word count, PII masking with regex, semantic prompt, semantic tool filtering, Azure Content Safety and AWS Bedrock Guardrail.
Does PII masking catch names and addresses?
A regex guardrail catches formats you can describe, such as card and ID numbers. Names and addresses in free text need a meaning-based or external check on top. We confirm this on your release with a test set.
Can it run inside our own network?
Yes. The gateway can run on premises or in a private cloud, and since August 2026 AI Workspace is available fully self-managed, including air-gapped deployments.
How is this page different from your AI gateway and agent governance page?
This page is about setting up and testing the gateway: releases, guardrails and checks. The governance page covers agent identity, audit evidence and the wider control plane.
Use cases
Worked examples from our practice
How we apply Choreo Labs for regulated firms: the problem, the steps and the components involved. All Choreo Labs use cases.
WSO2 AI Gateway Rollout in a Bank
Stand up the AI gateway on the right API Manager release, attach guardrails and test them before go-live.
Read use casePII Masking on LLM Traffic for a Health System
Mask what a pattern can describe, add a second check for free text and test both with synthetic prompts.
Read use caseWSO2 API Manager as a Bank's Central API Gateway
One gateway for ingress, egress and east-west traffic, with policy and audit built in, and ready to carry AI traffic later.
Read use caseWSO2 Agent ID: Give Every AI Agent Its Own Identity
Replace shared keys with a registered, scoped, revocable identity per agent, so every call traces to an agent, an owner and an authority.
Read use caseWSO2 FHIR Prior Authorization API for Health Plans
Translate between FHIR and the utilization management system built for fax, portals and X12, without changing how reviewers work.
Read use caseChoreo: An Internal Developer Platform for an API Team
An adoption plan and onboarding steps for a team that wants self-service deployment on Choreo.
Read use caseLet's talk
Talk to us about WSO2 AI Gateway
Tell us your API Manager version and what the gateway should control. The first conversation is with an engineer.


