Skip to main content
A multi-adapter tools agent reaches several backends through the gateway — CRM, analytics, payments, internal APIs. Each backend has different sensitivity, authentication, and compliance posture, so a single compromise cascades across services. Governance treats every backend as its own authorizable surface with its own policy. Per-backend Cedar rules grant narrow, named access to the exact tools the agent needs on each service. Act-as identity propagates end-to-end, so backends authorize the real user, not the bot. Field classifications travel with each backend, and every cross-service call lands in a unified audit trail.

Threat Model

Governance Approach

Implementation

1

Register the agent with specific capabilities

Register the agent and declare which service domains it accesses:
Setting --actas-required ensures every request carries end-user identity. The gateway rejects requests without a valid act-as header.
vp_workspace_oidc is a placeholder ID for a workspace verification provider. Create one for your IdP and pass its returned ID, or skip the provider step and inline the discovery URL on the agent with --actas-oidc-url <discovery-url>.
2

Configure backends with field classifications

Add each backend with its own credentials and field classifications:
3

Define per-backend Cedar rules

Write authorization rules that grant different access levels per backend:
See the Policy Example below for the Cedar rule content.
4

Simulate the rules

Verify the rules against historical events before they take effect:
5

Monitor cross-backend activity

Stream audit events filtered to the agent to watch for unexpected cross-service access patterns:

Policy Example

multi-tools-rules.cedar
The payment backend rules demonstrate defense in depth: the forbid on write operations applies even when a permit matches. Layer forbid rules to create hard boundaries that no permit can bypass.

Next steps