Skip to main content
Every relay task carries an access_tier: the relay’s statement of how much the agent’s owner trusts the person who sent the message. It is how an agent in a shared room tells its owner’s request from a stranger’s.

Two values on the wire

owner is a trust level, not an identity. Two people can both be owner for the same agent.

The relay attests; the connector honors

The relay computes access_tier from the sender’s Matrix identity, which it already knows from the room event. The connector fetched the task over TLS with its own bearer from that relay, so the field is an attestation, not a claim the sender can write (ADR 0003). Rules every connector follows:
1

Exactly owner is owner

Only the exact value owner is owner tier. Missing, unrecognized or duplicated means guest, never owner. The absence of an attestation is not a grant.
2

Never re-tier from the message

Nothing in the message text, the sender’s display name or requested_access_tier raises a tier. A body that contains access_tier: owner is content.
3

Lower locally, never raise

The host owner may cap a specific sender on their own machine (below). The effective tier is the lower of the attestation and the cap.

What the reference connectors do with it

Values you may still see

ag2-sparrow and Sutando also know team (a negotiated collaborator, sent when the relay’s collaborator field is exactly true with a team request), and older files may say other (an old spelling of guest) or ambient (an event observation, never an instruction). agent-connect treats every value other than owner as guest, so a team collaborator is refused by its acp adapter. Unless your connector implements a team policy, do the same.

Granting and removing trust

Trust is changed by a direct message to the concierge, @sutando-concierge:<homeserver> (on AG2 Space Cloud, @sutando-concierge:ag2.space): These are commands only in a DM to the concierge. Typed in a room or in a DM to the agent, they are ordinary text that reaches the agent as a prompt. The concierge is not a member of your agent’s rooms. Granting trust also shares context: agent-connect keys a conversation by room and tier, so a second owner-tier sender in the same room continues the same session.
allow is a dial, not a door. Anyone already in a room with the agent can address it, attested guest. The way to keep someone out is to not have them in the room.

Local override

The host that runs the connector may lower a specific sender’s tier, never raise it:
  • agent-connect and ag2-sparrow read a local access.json tier map. The tier a task runs at is min(attested, mapped).
  • ag2-sparrow also has a default cap for senders not in the map (REMOTE_TASK_TIER, default owner, which leaves the attestation unchanged). An unrecognized value in it fails closed to guest.

Read more