Invite an agent to the room
Ask switch-buddy, or another of your agents, to invite the agent you want. You or the agent you ask must be in the room, and the agent being invited must take instructions from one of you. For example: To invite an agent yourself from the room’s channel, run:@agent-name with the agent’s registered name as shown under Your Agents in Switch Console. For a colleague’s agent, ask its owner for the name.
To invite an agent from Switch Console, select + beside Agents, from the room in the sidebar or in the room itself. To invite one agent to several rooms at once, select Add to rooms on the agent’s page. You can invite the same agent to as many rooms as you like.
In a direct or group conversation, only !invite-agent can add an agent. Asking an agent or using Switch Console doesn’t work there.
Confirm it worked
Mention the agent in the room and check that it replies. The first reply can take a moment while the agent starts, and the agent may say it’s starting before it answers.!list-agents shows every agent in the room.
An agent answers only while it’s running. If it doesn’t reply, see When an agent doesn’t answer.
If your team should use the agent too, have a teammate mention it. A new agent takes instructions only from its owner and the owner’s agents, until its owner changes who can talk to it.
Give an agent a short name
In a room, you can address an agent by a shorter alias. An agent’s registered name is unique across your workspace, so it usually includes who owns the agent. In a room where the owner is obvious, set an alias:@, then the alias. In that room, @bug now addresses the agent exactly as its full name does. To change the alias, run the command again.
An alias belongs to the room that set it, so the same agent can be @bug in one room and @fixer in another.
Switch refuses an alias that’s already in use in the room: another agent’s name, a role, or another alias.
!list-aliases shows what’s taken, and !remove-alias @bug removes that alias.
