Gateways
Gateways enable agents running inside AgentVisor™ to access external services through managed, policy-enforced connections.
Transport vs Gateway
This page covers Gateways - how agents access external services (outbound). For how external clients access AgentVisor agents (inbound), see:
- API Transports Overview - Understanding all transport types
- MCP Transport Guide - Expose agents as MCP tools
- A2A Transport Guide - Expose agents via A2A protocol
The Problem
Agents running in AgentVisor's sandbox have no direct network access. This isolation is intentional - it prevents credential theft, data exfiltration, and policy bypass.
However, agents need to interact with external services:
- Call tools on MCP servers (GitHub, Slack, filesystem)
- Communicate with other AI agents
- Access databases and APIs
Gateways solve this by providing a controlled, policy-enforced path from agents to external services.
How Gateways Work
┌──────────────────────────────────────────────────────────────────────┐
│ External Services │
│ │
│ ┌──────────────────┐ ┌──────────────────┐ ┌────────────────┐ │
│ │ MCP Servers │ │ A2A Agents │ │ Other APIs │ │
│ │ • GitHub │ │ • Research │ │ (via HTTP │ │