# Connect agents, notes, and portals

Create explicit canvas connections that give an agent access to a peer or context node.

Canvas connections tell agents which other nodes they can discover. An edge grants access only to the node at its other end.

## Connect two nodes

1. Select an agent terminal.
2. Choose **Connect** on its node bar.
3. Choose the destination agent, note, or portal.
4. To remove the edge, choose **Disconnect** on the node bar or in its menu.
5. An Orchestrator can also connect named nodes with `mao connect <from> <to>`.

> **Note:** Connect only the context the agent needs. A wire does not expose unrelated canvas content.

Source: https://trymao.dev/docs/connections-orchestration-mao-cli/node-connections
