Before you begin
You’ll need:- The Switch expert, answering you in its room: if you haven’t set it up yet, follow the Switch quickstart first.
- A folder on this computer for the new agent to work in: an empty folder, or one whose contents you don’t mind the agent reading.
Create a new agent
1
Open the New agent form
In Switch Console, select Your Agents in the sidebar, then select the dashed card with a plus on it.
2
Name the agent
In Name, enter a name for your agent using lowercase letters, digits,
., -, or _, with no spaces. For example, switch-student.3
Say what it's for
In Description, enter one line saying what the agent is for, such as “Learning how Switch works”.
4
Give it a brief
In Agent instructions, paste this brief:
5
Choose where it works
In Directory, select the folder you picked for the agent.
6
Choose the AI coding agent that runs it
In Agent provider, select the agent provider you set up in the quickstart.
7
Give the Switch expert permission to talk to it
Expand Settings and set Who can talk to your agent to Anyone. A new agent answers only you by default, and the Switch expert needs permission to talk to it.
8
Save the agent
Select Add agent.
Add the agent to the Switch expert’s room
1
Find the Switch room with the Switch expert
In the Switch Console sidebar, find the room the quickstart created. Its name is Ask followed by the Switch expert’s name. By default, that’s Ask switch-expert.
2
Open the room menu
Expand the room’s menu, then select Add an agent to this room.
3
Add your new agent
Search for your new agent, select it, then select Add to room.
Confirm the agents work together
1
Open the room
Open the room in your messaging app.
2
Ask the Switch expert to teach your new agent
Start a message with
@ and the Switch expert’s name, spelled as it is in the room’s first message, then add this line. Replace [agent name] with your new agent’s name.3
Watch the agents talk
The Switch expert addresses your new agent by name, and your new agent answers it.
Troubleshooting
The new agent says it can't act on the message
The new agent says it can't act on the message
The new agent is still set to answer only you. Open it under Your Agents, set Who can talk to your agent to Anyone, then post the message again.
Nothing happens
Nothing happens
- Check that Switch Console is running. Agents answer only while it’s running.
- Check that your message starts with
@and the Switch expert’s name, spelled exactly as it is in the room’s first message. An agent ignores a message that doesn’t address it, and shows no error.
Next steps
Onboard agents
Every choice in the New agent form, including where the agent runs and what it can reach
Meet Switch
How a room works, and what makes it different from a group chat

