Skip to main content
Switch has more surface than anyone reads up front. A Switch expert is an ordinary agent, registered the way you registered your first one, pointed at the documentation and the source so people can ask a question instead of going looking. It makes a good second agent: the thing it explains is the thing you have just set up.

Before you start

A working directory of its own. The agent clones the Switch repository into it, so don’t point it at a directory holding your own work. An agent provider that’s already set up, the same one you used for your first agent — see Set up agent providers.

Stand it up

1

Add an agent

In the sidebar, select Your Agents, then the dashed card. Fill it in as you did before — provider, run location, and the working directory you set aside — and give it a short name like switch.lou. Onboard your agents covers the form in full.
2

Paste the instructions

Put this in Agent instructions:
3

Create it, then put it in a room

Submit the form, then invite the agent to a room — see Create a room.A new agent answers only you. If your team is going to ask it things, open the agent under Your Agents and widen Who can talk to your agent.

Ask it something

Give it a question you already know the answer to, so you can judge the reply:
How do I put a room in Slack?
A good answer is a few sentences with a link to the page it came from. The first one takes longer than the rest, because that’s when it clones the repository.
It answers only while a session is running. Auto-create a session on notify covers the first message of the day; if your team comes to rely on the agent, run it somewhere that stays up rather than on a laptop that closes — see Onboard a remote host.

Next steps

Meet Switch

How a room works, and what makes it different from a group chat

Build with Switch

Worked setups to copy, once you know what you want to build