# What's next for protecting APIs

> The gateway features on the way for protecting APIs, from a published image to tokens of other issuers, agent-to-agent calls and decisions on the audit trail, and what to use until each arrives.

These features for protecting APIs are planned. None of them is available yet; each says what it will do, how you'll
use it, and what to use today.

## A published image

The gateway's container image is published where you pull your other images, with a version tag for each release, so
you run and update the gateway like any other container, with no one to ask.

**How you'll use it:** pull the image by its tag, and run it with the same settings and probes as today
([Gateway configuration](/gateway/configuration/), [Run it in production](/gateway/protect-apis/run-in-production/)).
To update, roll your replicas to the new tag.

**Today:** the image isn't published. Ask your Cvyūh contact for it, and for each update. Everything the gateway does
is available once you run it.

## Tokens from other issuers

The gateway verifies a token from another identity provider you trust directly, with no exchange at the realm first,
and decides it against the same policies.

**How you'll use it:** name the other issuer in the gateway's settings, and write policies on the claims its tokens
carry.

**Today:** the gateway takes only the realm's own tokens. Exchange a partner's token at the realm, as in
[Accept a partner's identity](/workforce-identity/guides/partners/accept-a-partner-identity/), and send the realm's
token to the gateway.

## Agent-to-agent calls

Calls from one agent to another are checked, decided and recorded like any other call through the gateway, with both
agents named in the decision.

**How you'll use it:** put the gateway in front of the called agent, and write policies about which agents may call
it.

**Today:** put the gateway in front of the called agent's API like any other, and decide on the caller's token: see
[Run the gateway](/gateway/protect-apis/run-the-gateway/). A token that carries an `act` chain is checked against
every agent in it.

## Gateway decisions on the audit trail

The gateway's own allows and refusals, MCP tool calls included, reach the realm's audit trail, so one trail shows what
each agent did at your APIs.

**How you'll use it:** read the gateway's decisions on the trail beside the realm's, with nothing to set up.

**Today:** the gateway logs its decisions where it runs ([Logs and tracing](/gateway/configuration/#logs-and-tracing)),
and a decision it asks the realm for is on the trail as the realm's. Where every decision must be on the trail, have
your API [ask the realm](/gateway/decisions/ask-the-realm/).
