The Phantom Gateway applies gateway policies where no gateway can sit.

Copilot Studio, Microsoft 365 Copilot and other agent platforms keep the agent and its model inside their own service. You cannot place a gateway between them. The Phantom Gateway enforces the same budgets and guardrails anyway, through the platform's own controls.

Runs in your own Kubernetes, in your cloud account or on your own hardware.

In the demo: See a budget and a guardrail written once in Kosmoy and enforced by the platform itself.

Or email sales@kosmoy.com.

A policy written once in Kosmoy is enforced by the platform's own controls.

The Phantom Gateway is one of three routes that Kosmoy AI Mission Control, the agent control tower, uses to reach an agent. It works in four steps.

  1. Step 1: Write once

    You write a budget or a guardrail once in Kosmoy.

  2. Step 2: Translate

    Kosmoy translates it into the platform's own controls.

  3. Step 3: Push

    Kosmoy pushes it through the platform's admin APIs. The platform enforces it.

  4. Step 4: Read back

    Kosmoy reads usage, cost and policy events back from the platform.

Kosmoy

Policies written once

  • Financial
  • Security
  • Safety

One registry and one cost view

Translated and pushed through admin APIsSet in Kosmoy, enforced by the platform

Usage, cost and policy eventsRead back by Kosmoy

No agent traffic through Kosmoy

The platform

Its native controls

Enforced on the agents by the platform

Agents and their models

Their traffic stays inside the platform

Figure 1. How the Phantom Gateway works. The policy goes to the platform through its admin APIs. Usage, cost and policy events come back.

What a Kosmoy policy becomes inside Microsoft.

The table gives three examples. Each control name links to the Microsoft Learn page that documents it.

Three policies and the Microsoft controls that enforce them
PolicySet once in KosmoyEnforced inside Microsoft by
Financial
A monthly budget per agent, team or user, with alert thresholds
Security
Keep sensitive data out of prompts and answers
Safety
Block harmful content and prompt attacks

As of 27 November 2026

Native controls differ by platform, and some are in preview. On 27 November 2026, Microsoft Learn listed two of them as preview: Purview's blocking of sensitive prompts, and Foundry's guardrails for agents. Microsoft also marks programmatic access to Copilot Studio usage reports as preview. Where a Microsoft 365 spending policy covers an agent, it replaces the Power Platform limit for that agent.

Microsoft Learn now uses the name Microsoft Foundry for Azure AI Foundry.

The AI Gateway and the Phantom Gateway can work alone or together.

Which one you use depends on where the agent runs.

The gateway, the Phantom Gateway or both
Where the policy is enforcedApplies toGuardrailsBudgetCost data
In the pathAI Gateway
Applications and agents whose model calls route through Kosmoy
Checked by Kosmoy on every call
Enforced by Kosmoy as a hard stop
Every token, counted by Kosmoy
At the entry, plus the platform's own controlsAI Gateway and Phantom Gateway together
Copilot Studio and Azure AI Foundry agents
Checked by Kosmoy at the entry
Set in Kosmoy, enforced by the platform
Usage and cost, read back from the platform
In the platform onlyPhantom Gateway
Platforms that keep the agent and its model inside their own service, such as Microsoft 365 Copilot
Set in Kosmoy, enforced by the platform
Set in Kosmoy, enforced by the platform
Usage and cost, read back from the platform

No agent traffic passes through Kosmoy.

The Phantom Gateway sends policies to the platform and reads numbers back. The agent's own traffic stays inside the platform.

The Phantom Gateway talks to the platform's admin APIs, so Kosmoy needs network access to that platform.

Kosmoy runs in your own Kubernetes. Prompts, responses and logs never pass through a Kosmoy-hosted service.

Goes to the platform
Budgets and guardrails, written into the platform's own controls through its admin APIs.
Comes back to Kosmoy
Usage, cost and policy events.
Stays inside the platform
The agent's traffic. Kosmoy does not proxy it.

Questions about the Phantom Gateway.

What is the Phantom Gateway?

It applies gateway policies on platforms where no gateway can sit. You write a budget or a guardrail once in Kosmoy. Kosmoy writes it into the platform's own controls through its admin APIs and reads usage and cost back.

Does agent traffic pass through Kosmoy?

Model calls routed through the AI Gateway do. Agents governed through the Phantom Gateway do not: their traffic stays inside their platform.

Why can no gateway sit between an agent and its model in Microsoft 365 Copilot?

Microsoft 365 Copilot keeps the agent and its model inside Microsoft's service. There is no point between them where a gateway can sit.

Who enforces a policy set through the Phantom Gateway?

The platform does. The policy is written once in Kosmoy, translated into the platform's own controls and pushed through its admin APIs.

Can the AI Gateway and the Phantom Gateway work together?

Yes. Copilot Studio and Azure AI Foundry agents can use the AI Gateway and the Phantom Gateway together. Kosmoy guards the entry and the platform enforces the budget.

What does Kosmoy read back from the platform?

Usage, cost and policy events. Kosmoy counts tokens where it sees the call and platform credits where it does not.

What is Kosmoy AI Mission Control?

It is Kosmoy's agent control tower. It finds the AI agents a company runs, meters what they cost, caps their spend, enforces guardrails and can stop them. It works on Microsoft Copilot, Azure AI Foundry, Google Vertex AI, AWS Bedrock, Salesforce, ServiceNow and SAP, and on coded agents running in Action Capsules.

We already use our platform vendor's agent console. Why add Kosmoy?

A vendor's console governs that vendor's agents. Kosmoy applies one budget, one policy and one record across your platforms, your private models and the agents you code, from software you run yourself.

Where does Kosmoy run?

Kosmoy runs in your own Kubernetes: on Azure, AWS or Google Cloud, or on your own hardware. Most customers run it in their cloud account, where it connects to their AI platforms. It also supports air-gapped environments. Prompts, responses and logs never pass through a Kosmoy-hosted service.

How do we start?

With a read-only agent count, or a 30-minute demo.

Kosmoy works with Leonardo and Banca d'Italia.

Banca d'Italia
Leonardo
  • Runs in your own Kubernetes
  • Azure, AWS, Google Cloud or your own hardware
  • LLM, MCP and A2A calls
  • Supports air-gapped environments

See the Phantom Gateway in a 30-minute demo.

We write a budget and a guardrail in Kosmoy and follow them into the platform's own controls.

Or email sales@kosmoy.com.