Glossary
The Agent Gateway is an intercepting proxy for AI agents. It handles inbound and outbound traffic on their behalf, and applies identity, policy, trust, and payment controls around that traffic. Also referred to as the Affinidi Agent Gateway (AG).
This glossary provides clear, consistent terminology to help you get started quickly.
Routing model
| Term | Meaning |
|---|---|
| Agent Surface (surface) | The core configuration and runtime unit for one managed agent. A surface has one Access Point, one Target, and zero or more Transit Points. Surfaces -> |
| Surface Variant | A named variation on a base surface selected by a route-level alias, without creating a separate surface record. |
| Access Point (AP) | The inbound face of a surface where callers reach the managed agent. Owns source authentication and inbound rate limits. |
| Target | The managed-agent side of a surface. Inbound traffic from the Access Point is forwarded to the Target. Exactly one Target exists per surface. |
| Transit Point (TP) | An agent-initiated outbound route attached to a surface. Each TP has its own listener, endpoint, credentials, policy, and optional payment settings. |
| Listener | A configured network endpoint used by Access Points or Transit Points. One listener can serve many of them. |
| Inbound | External caller -> Access Point -> Target. |
| Outbound | Managed agent -> Transit Point listener -> Transit Point target endpoint. |
Use Target only for the managed-agent side of a surface. A Transit Point also has a destination endpoint, but that endpoint is not the surface Target.
Protocols and endpoints
| Term | Meaning |
|---|---|
| Surface protocol (agent protocol) | The protocol spoken at both the Access Point and the Target. Inbound traffic is not protocol-translated. |
| Transit protocol | The protocol used by one Transit Point. It may differ from the surface protocol. |
| A2A | Agent-to-Agent protocol for direct agent traffic. A2A protocol -> |
| AP2 | Agent Payments Protocol, an A2A-family protocol with payment-oriented credential exchange. AP2 protocol -> |
| MCP | Model Context Protocol for tool-oriented interactions. MCP protocol -> |
| DIDComm | DIDComm messaging protocol; also used as transport for fabric routing. DIDComm -> |
| HTTP endpoint | An external HTTP target reached over the network. |
| Fabric endpoint | A Gateway-to-Gateway target resolved through another gateway in the same fabric. |
| MCP proxy endpoint | A target routed through a configured MCP proxy backend. |
| Fabric | The DIDComm-based appliance set participating through Connection Points. |
| Connection Point | A DIDComm endpoint used by another appliance to establish and use a connection with this appliance. Gateways -> |
| G2G | Gateway-to-Gateway traffic routed through the fabric. Gateways -> |
| Elicitation | An MCP protocol interaction (elicitation/create) in which the gateway interrupts a tool call to prompt the user for additional input, for example OAuth consent. The gateway holds the request open until the client responds, then resumes automatically. Requires the MCP client to advertise the elicitation capability during initialize. |
Identity
| Term | Meaning |
|---|---|
| Source authentication (source auth) | Verification that the inbound caller is who they claim to be, configured per Access Point. |
| Authenticated identity | Runtime result of source auth for one inbound request: the authenticated principal plus auth metadata. |
| Credential extraction | The configured place source auth reads a presented credential. |
| Identity resolution | Rule for deriving a caller agent DID from an authenticated inbound request. |
| Identity slot | One DID-extraction position on a surface: inbound, protected, or external. |
| Managed identity | Rule deriving an agent DID for the managed agent from payload or credential binding. Surface-level managed identity defines the base DID; TP-level overrides can refine outbound behavior. |
| Agent DID | The decentralized identifier representing an agent in gateway identity flows. |
| Identity injection | Rules deciding whether forwarded calls include proof of the resolved agent DID. |
| Verifiable Presentation (VP) | Signed credential bundle attached when identity injection is enabled. |
| Delegation vault | The per-caller credential store that isolates OAuth tokens and secrets by caller. Each vault entry is keyed by (agent_did, user_identity_hash, provider_id). The managed agent never receives raw caller tokens. Caller context binding → |
| Workload Binding | Transit-Point-scoped VP attestation that binds caller context to outbound Gateway-to-Gateway (fabric://) requests. Configured on individual Transit Points; only meaningful in G2G topologies. Workload Binding → |
Policy
Gateway-level OPA runs before surface-level or transit-level OPA, and a gateway deny is final.
| Term | Meaning |
|---|---|
| OPA | The embedded Rego policy engine used by the gateway. OPA policies -> |
| Gateway-level policy (gateway OPA) | OPA policy attached to a Gateway record and evaluated as the first policy gate. |
| Surface-level policy (surface OPA) | OPA policy attached to a surface or transit flow and evaluated after gateway OPA. |
| Policy reference | A pointer from a surface field to a stored OPA policy definition. |
| Policy definition | Stored Rego source plus metadata reusable by many surfaces or gateways. |
| MCP tool policy | Tool-oriented OPA entry on an MCP target naming a tool and pointing to a stored policy definition. |
Payment and outbound mechanics
| Term | Meaning |
|---|---|
| x402 | HTTP 402 payments protocol for blockchain-settled access. x402 protocol -> |
| MPP | Machine Payments Protocol, an HTTP payment-authentication scheme using challenge and authorization headers. |
| Payment policy | Per-Target configuration declaring how a caller pays before upstream is reached. Transit Points also model payment policy. |
| Facilitator | Component verifying and settling an x402 payment. |
| Settlement | Step that finalizes or records a verified x402 payment. |
| Auto-pay | Automatic fulfillment of an upstream payment challenge up to a configured cap. |
| Transit token mode | How caller context is carried across transit calls. |
| Transit token | Short-lived token injected on inbound surface traffic and echoed when the managed agent calls a Transit Point. Carries caller context and allowed Transit Points. |
Glad to hear it! Please tell us how we can improve more.
Sorry to hear that. Please tell us how we can improve.
Thank you for sharing your feedback so we can improve your experience.