Managed Agent

Field reference for the Managed Agent canvas node: endpoint routing, authentication, and the canvas elements that add networking, MCP tool policies, and signed identity VPs to the pipeline.

The Managed Agent node defines the single upstream destination the gateway forwards traffic to. Every surface has exactly one Managed Agent. The properties panel covers endpoint routing and authentication. Policy enforcement, networking resilience, MCP tool access policies, Trust Check queries, and identity extraction each come from a separate canvas element added to the surface, listed under Canvas elements on the Managed Agent.

Managed Agent node fields

These fields appear directly in the Managed Agent properties panel when you select the node on the canvas.

FieldRequiredDefaultDescription
Endpoint TypeYesDirect URLHow the upstream destination is addressed. Options: Direct URL, via Gateway Connection, via MCP Proxy (MCP surfaces only), via A2A Proxy (A2A surfaces only).
Target Endpoint URLYes (Direct URL)—Full upstream URL. See Endpoint schemes.
Gateway / Agent Surface on GatewayYes (via Gateway Connection)—Remote gateway and the agent surface on it to route to. Builds a fabric:// endpoint automatically.
MCP ProxyYes (via MCP Proxy)—MCP proxy to front this agent’s tools. Builds a proxy:// endpoint automatically.
A2A ProxyYes (via A2A Proxy)—Managed A2A proxy that adapts this surface to a non-A2A backend. Builds an a2a-proxy:// endpoint automatically. The surface’s A2A versions show on its Access Point, and the proxy’s Agent Card tab explains them. See A2A proxy Targets.
Display name (optional)No—Cached name shown in the dashboard for fabric:// endpoints when the remote gateway is offline.
Target AuthenticationNoNoneService-level credentials the gateway injects into requests forwarded to the target. On a Direct URL endpoint, they also go with the agent card fetch. On via Gateway Connection, the request reaches the agent through the remote gateway, and the Agent Cards view shows “The remote gateway signs in” for the card fetch. The Authentication Type options are None, Bearer Token, Basic Auth, API Key, and Custom. Any option except None shows Configure…, which opens the fields in the Target Authentication table. Not available on MCP Proxy or A2A Proxy endpoint types.
Send signed identity VP to targetNoOnWhen enabled, the gateway signs and injects a verifiable presentation (VP) into each outbound request carrying the resolved agent identity and caller context. See Identity element reference.

Target Authentication

Configure… opens the Target Authentication editor. Credential Source decides where the credential comes from: a fixed value in a secret, or a token that the gateway obtains from a credential provider and renews before it expires. Use a provider when the target accepts only short-lived OAuth tokens, such as a Google service account token or an Entra token. See Call an agent protected by Entra or Google OAuth tokens.

FieldRequiredDefaultDescription
Credential SourceYesStatic secretStatic secret or Credential provider.
SecretYes (Static secret)—The secret that holds the credential.
Credential ProviderYes (Credential provider)—The provider that issues the token. The list offers Client Credentials, JWT Bearer, Client Credentials JWT, and API Key providers, the types that need no user.
ScopesNoThe provider’s default scopesFrom version 1.0.10, the scopes to request for this Target, separated by spaces. Leave it empty to use the provider’s Default Scopes. Shown for Credential provider.
Authentication TypeYesBearer TokenHow the credential is formatted in the header: Bearer Token, Basic Auth, API Key, or Custom.
Header NameNoAuthorization, or X-API-Key for API KeyThe HTTP header the credential goes in. From version 1.0.9, it must be a valid HTTP header name, not a header the gateway reserves, such as Host, X-Transit-Token, X-Caller-Did or Mcp-Session-Id, and not a header that a credential binding or a Metadata Extraction element already sends. Names are compared ignoring case, with _ and - treated as the same.
Header FormatNo—Shown for Custom. The header value, with {value} in place of the credential. From version 1.0.9, it must contain {value} exactly once, with no line break or NUL character.
Fallback BehaviorNoReject requestWhat happens when the secret or provider token can’t be resolved: Reject request or Pass through without credentials.

A save that breaks the Header Name or Header Format rules is refused. From version 1.0.9, a surface that sends a Target credential to a Target that isn’t https, or whose Access Point doesn’t authenticate its callers, saves with a warning, and the gateway still sends the credential. Add caller authentication on the Access Point and use an https Target to clear the warning.

From version 1.0.10, the panel and the editor show these problems as you edit:

  • An Error line blocks the save, for example “Pick the secret whose value authenticates this Managed Agent” when no secret is selected.
  • An Advisory line allows the save, and the gateway saves the surface with a warning, for example “Target authentication sends a credential, so it needs source authentication on the Access Point”.

Target credential failures

From version 1.0.10, a request whose Target credential can’t be obtained or sent is refused with the message Target authentication failed and a fixed reason:

StatusReasonCause
500target_auth_misconfiguredThe credential is set up wrongly, for example its secret or credential provider no longer exists, or the provider’s token endpoint refused the request.
503target_auth_unavailableThe credential can’t be obtained for now, for example the token endpoint is unreachable, timed out, or answered with a server error or 429. A later request may succeed.
400target_path_refusedThe request’s path leaves the path of the Target Endpoint URL, so the credential would reach another resource. Refused whatever the Fallback Behavior.
500target_auth_rejectedOn via Gateway Connection, the remote gateway refused the credential this gateway sent in the header that the remote surface reads. Both gateways must run version 1.0.10 or later.

The 500 and 503 refusals apply when Fallback Behavior is Reject request. With Pass through without credentials, the request goes on without the credential.

Response Authentication

From version 1.0.10, Response Authentication checks that each response at the Target address comes from your managed agent. The gateway refuses a response that fails the check, so a server that answers in the agent’s place can’t pass itself off as the agent. The section appears for a Direct URL endpoint with an http:// or https:// Target.

  • Choose API key when your agent can add a key to its responses. A secret can hold several keys separated by commas, so you can rotate a key.
  • Choose mTLS when your agent serves https with its own certificate. On an http:// Target the option reads mTLS (needs an https:// Target) and can’t be selected.
FieldRequiredDefaultDescription
MethodNoOffOff, API key, or mTLS. Off accepts any response at the Target address.
Response headerYes (API key)X-Agent-KeyThe response header your agent returns the key in. The gateway removes it before the caller receives the response.
Secret holding the keyYes (API key)—The secret that holds the accepted keys. Add secret opens the Secrets page. On an http:// Target the panel warns “The key travels unencrypted over http://. Use an https:// Target.”
Trust the agent’s server certificate byYes (mTLS)Pinned certificatePinned certificate accepts the server certificates you select. Certificate Authority accepts a server certificate that chains to a CA certificate you select. Select at least one certificate from the certificate store.
Client certificate (optional)NoNoneA client leaf certificate, stored with its private key, that the gateway presents to your agent during the TLS handshake. Use it when your agent asks for one.

A response that fails the check is refused with 502 and the message Upstream response refused, or with a JSON-RPC error for a JSON-RPC request. The message is the same whatever the cause. When the Audit Log keeps Request Rejected events, the refusal is recorded there with the reason target_response_auth_failed.

Each surface variant keeps its own setting. When a variant has none, the section shows Variants keep their own setting, and Copy to variants copies the base surface’s setting into them.

Delegated Credentials

A Delegated Credentials section appears in this panel when the endpoint uses the fabric:// scheme (via Gateway Connection) and the surface has a Credential Delegation element with at least one credential binding. It controls whether the caller’s delegated access token travels to the remote gateway on this route.

FieldRequiredDefaultDescription
Send delegated credentials over FabricNoOffWhen on, the caller’s delegated access token from the surface’s Credential Delegation bindings is sent to the remote gateway with each request on this route, and the panel warns that the token is sent to the named receiving gateway. When off, the remote gateway receives no delegated credential. The caller’s own token is always removed before the request crosses Fabric, and the refresh token stays on this gateway. On this route, only MCP requests using protocol revision 2026-07-28 carry the token.

Each surface variant keeps its own setting, so turn the switch on in every variant whose remote gateway needs the token.

Fabric Callers

From version 1.0.9, a Fabric Callers section appears in this panel when the Target Endpoint URL is an http:// or https:// URL and the surface has a Credential Delegation element with at least one credential binding. It decides whether requests that a paired gateway sends to this surface over Fabric can use the per-user grants of the surface’s bindings.

FieldRequiredDefaultDescription
Release per-user grants to Fabric callersNoOffWhen on, a request a paired gateway sends over Fabric gets the delegated credential of the person whose own token it carries, once that person has connected by calling this surface directly. Consent is never started through the paired gateway. When off, such a request is refused. While the switch is on, the panel warns “A paired gateway that sends a person’s own token gets that person’s grant. Tell your users before you save.”

The switch releases grants only while the surface’s Caller Context tells people apart, for example with a JWT Bearer method that names an audience. With an API key, API Key Provider or DID Auth method, nothing is released and saving warns.

  • With the switch on, each person has one grant for this surface, whichever agent acts for them, so a person who connected through a particular agent before connects once more.
  • The exception is a grant made through a 2026-07-28 MCP request, which stays with the agent that asked for it and never reaches a paired gateway’s requests.
  • The switch serves paired gateways that pass each person’s own token over Fabric.
  • Keep the switch off for a paired gateway that sends one fixed JWT for all its users, because every one of them would get the grant of whoever connected with that token.

Agent Cards view

On a saved A2A surface, the Managed Agent panel shows a card fetch line, such as Card fetch: OK, Card fetch: Served – No managed identity, or Card fetch: failing with the cause in brackets, and a View agent cards link. The link opens the Agent Cards view, which is also in the surface editor’s sidebar. Use it to check that the gateway can fetch your agent’s card and to see how the gateway rewrites that card before serving it to callers.

Agent Cards view of a saved A2A surface: the served card discovery URL with Copy, Open and Refresh, the fetch source, Fetch OK, Target Authentication Credential provider, Last fetched just now, a summary of one modified part, and the Managed Agent Card and Gateway-Served Agent Card columns
ItemDescription
Served card discovery URLThe URL where callers read the card the gateway serves, with Copy, Open, and Refresh. Refresh fetches the card again and needs permission to edit surfaces.
Fetched fromThe agent card URL the gateway fetched.
FetchOK, Failing, Not served, or Served – No managed identity, with the cause of a failure. From version 1.0.9, Served – No managed identity means the agent’s card has no identity extension, as with a Microsoft Foundry agent: the gateway serves the card without an identity credential and shows a warning.
Target AuthenticationWhat the gateway sent with the fetch, for example No Target Authentication, Static secret, or the credential provider’s name with the time its token is valid until. When the gateway couldn’t obtain the credential, it shows Credential not obtained.
Last fetchedWhen the gateway last fetched the card.
Managed Agent Card and Gateway-Served Agent CardThe card your agent publishes beside the card the gateway serves. Each difference is tagged Unchanged, Added, Modified, or Removed.

When the fetch fails, the view explains the cause and what to check. For example, Needs a token means the agent asked for a token and the gateway sent none, so set Target Authentication on the Managed Agent. From version 1.0.9:

  • An Identity failed cause names what to fix, such as publishing the agent-identity extension on the managed agent’s card, or correcting an identity extension that doesn’t match the surface’s identity schema or rules.
  • Card compressed means the agent compressed its card although the gateway asked for an uncompressed one. Have the agent, or the proxy in front of it, honour Accept-Encoding: identity.

For a surface behind an A2A proxy, the gateway generates the card, so there is no agent card to compare.

Canvas elements on the Managed Agent

The following elements can be added to the surface from the element palette. Each appears as its own node on the canvas and attaches to the Managed Agent’s edges.

ElementDescription
Caller ContextExtracts caller authentication context from inbound callers (JWT, API key, DID Auth). See Caller Context element reference.
PolicyOpen Policy Agent (OPA) policy evaluation gate. Can be placed on the request or response edge. See Policy element reference.
Rate LimitPer-route or per-caller request rate limiting. See Rate Limit element reference.
IdentityExtracts the agent DID from inbound or outbound traffic, for the signed identity VP and policy. See Identity element reference.
Trust CheckRuns a Trust Registry Query Protocol (TRQP) authorisation or recognition query against a trust registry. On the Managed Agent’s own target leg, available only when Endpoint Type is via A2A Proxy or via Gateway Connection. See Trust registry elements reference.
Trust RecorderWrites agent-registration records into one or more trust registries. See Trust registry elements reference.
Extension ValidationRequires and validates protocol extensions on requests (A2A only). See Protocol extension elements reference.
Extension RulesAllows, strips, or rejects protocol extensions per URI (A2A only). See Protocol extension elements reference.
Metadata InjectionInjects custom request or response headers, extensions, or body fields. See Metadata elements reference.
Metadata ExtractionMaps request headers into protocol metadata before downstream controls run. See Metadata elements reference.
Credential DelegationInjects outbound credentials for upstream calls. See Outbound binding elements reference.
Workload BindingBinds managed-agent identity and caller context into the outbound VP for a Transit Point. See Outbound binding elements reference.
Per-tool policy bindingsPer-tool OPA policy bindings, configured on the node labelled MCP Proxy that the canvas shows for a via MCP Proxy endpoint. Not a draggable canvas element. See Per-tool policy bindings reference.
MCP Tool GatingAllows or denies MCP tools by name pattern, applied to both tools/list and tools/call (MCP surfaces only). See MCP Tool Gating element reference.
NetworkingTimeout, retry, circuit breaker, and traffic mirroring. See Networking element reference.

Endpoint schemes

SchemeFormatUse case
HTTP or HTTPShttps://<host>:<port>/<path>Standard HTTP or HTTPS upstream target.
Fabricfabric://{gateway_id}/{surface_id}Gateway-to-gateway routing through Fabric.
Proxyproxy://{mcp_proxy_id}Routes through a configured MCP proxy backend. Available on MCP surfaces.
A2A Proxya2a-proxy://{a2a_proxy_id}Routes through a configured A2A proxy backend. Available on A2A surfaces.