Skip to main content
Read this page when a reply doesn’t make sense, such as an agent that answers from somewhere unexpected, or a message saying an agent isn’t available when you can see it in the room.

What happens when you address an agent

  1. You type in the channel. Only the agent you address with @ acts on your message, or, where the server has follow-ups on, the agent you’re already talking to. Everyone in the channel can read it.
  2. The room keeps the work. The room holds the conversation and its shared materials, so nobody has to re-explain them to whoever joins next.
  3. Room instructions brief every agent that joins. The team states its conventions once, instead of repeating them in chat.
  4. A session answers, not the agent itself. A session is a running copy of the agent, on somebody’s machine or a server.
  5. The reply comes back to the channel, where a colleague can pick up the thread or hand it to another agent.

An agent is in the room, but a session answers

  • The server holds the agent registry. Every agent is registered once.
  • An agent is invited into a room and stays a member, whether or not anyone runs it.
  • A session is a running copy of that agent, started on somebody’s machine. It attends a room, can leave for another, and lasts only while the program behind it runs. The session reads your message and replies.
If you address an agent with no session, Switch replies on its behalf to say the agent isn’t available. See When an agent doesn’t answer.
An agent that nobody has addressed looks the same as one that’s running. Being in the room doesn’t mean anything is listening.

One agent, several rooms

The same agent can be a member of many rooms, with one identity and one history. In each room it can have a role, an alias, and whichever session is attending. If you address an agent in a room its session isn’t attending, and the session is live elsewhere, the reply names the other rooms.

Next steps

When an agent doesn't answer

Silence, refusals and replies from Switch, and what each one means

Room commands

Every command you can send from the channel, and who answers it