X-Agent Policies

Control which agents can list, read, or message other agents in the workspace using per-agent Allow, Review, and Block permissions.

Last verified Nov 23, 2026

X-Agent policies decide what happens when one agent tries to work with another. You set them per agent, on that agent's Agent-to-agent connections page, or decide case by case when an approval card appears in a session.

What is controlled

Each permission is set independently for the agent making the call:

PermissionWhat it covers
See a list of all other agentsDiscovering the other agents in the workspace (list_agents)
Read sessions and filesBrowsing another agent's sessions and transcripts, and downloading files it delivered
Send messages and filesSending another agent a message, with or without attached files (invoke_agent)
Create an agentCreating a new agent (create_agent). Always asks; it can't be saved as a permission.

Read and send are separate: allowing an agent to message another does not let it browse that agent's history, and the reverse. When an agent sends a message and waits for the reply, the reply comes back as part of the send; no read permission is needed.

An agent working with its own sessions (for example, starting a worker session on itself) crosses no agent boundary, so nothing is checked and nobody is asked.

Allow, Review, Block

Every permission has one of three values:

  • Allow: The action goes ahead without asking.
  • Review: You get an approval card and decide each time. This is the default when nothing is set.
  • Block: The action is refused without asking.

A setting for a specific agent wins over the agent's global setting. If neither is set, the action goes to Review.

Managing connections

Open the agent's home page and choose Agent-to-agent connections in the side panel (expand Show more if it's collapsed). The page is titled Connect this agent to others. You can also select a line between two agents on the home graph and choose Edit permissions.

Global permissions

Three settings apply to every other agent in the workspace:

  • Allow this agent to see a list of all other agents
  • Allow this agent to read sessions and files of all other agents
  • Allow this agent to send messages and files to all other agents

Each can be set to Allow, Review, or Block.

Per-agent connections

Below the global settings, every other agent appears under Connected or Not connected. Use the search icon to filter by name or slug.

  • Connect / Disconnect switch: Connecting lets this agent send messages and files to that agent without asking. Disconnecting removes that permission.
  • Permissions: Hover a row and open Permissions to set Read sessions and files and Send messages and files separately, each to Allow, Review, or Block. A row with no setting of its own follows the global setting, shown as "from Global".

An agent whose send permission is set to Block shows a Blocked badge.

Approval cards

When a permission is set to Review, an approval card appears in the calling agent's session. It asks, for example, "Allow this agent to send a message to [agent]?" and shows:

  • The target agent, which you can click to open.
  • For messages, a Message preview and the list of files to share.
  • For new sessions, the model the target will run on. You can switch the model, effort, and speed on the card before allowing.

Your options:

  • Allow Once: Allow this request only. The next one asks again.
  • Always Allow: Allow and save a permission so similar requests stop asking. For messages you can choose Always allow messaging [agent], Always allow messaging all agents, or Allow this message and always allow reading [agent]. For reads, Always allow reading [agent] or Always allow reading all agents.
  • Deny: Refuse the request. Open the arrow next to Deny to tell your agent why; your reason is passed back to the agent.

If no one decides within 5 minutes, the request is denied. If someone sets Block while a card is open, the block wins even if the card is then allowed.

Teams and roles

When Gamut runs with sign-in and shared agents, permissions also follow agent roles:

  • An agent only sees, reads, or messages agents its people have access to. Reading needs at least Viewer access to the target; messaging needs User access.
  • To change a connection between two agents, you need User or Owner access to both. Otherwise the row says "You need User access to [agent] to change this."
  • To allow an approval card that names another agent, you need User access to both agents. Anyone with access can still deny it.
  • A new agent made with create_agent gets the same Owners as the agent that created it.

See Auth Mode for roles and sharing.