Let your AI assistant act for you in Sulis.
An assistant such as Claude Code signs in with its own key. You decide what it may do, and it can never do more than you can.
Check three things before you start.
A Sulis account
Sign in to the Sulis console as yourself. Keep your API address to hand. The steps write it as <your-api-address>.
The assistant's computer
The computer needs a copy of the Sulis platform repository and uv. The commands below run from the root of that copy. The computer doesn't need a Sulis worker.
A network path to Sulis
The computer needs to reach your API address over HTTPS. You can approve from any other device.
An assistant works best with one clear goal. Read how to structure a team of agents for the thinking behind it.
Five steps connect an assistant.
Start the sign-in on the assistant's computer
Give the assistant a name you'll recognise. Run this.
scripts/sulis-assistant-login --api-url <your-api-address> --name "<a name you will recognise>"The terminal prints Signing in with the name, an address and a code, then Waiting for your approval. The code lasts 10 minutes.
Open the Connect page and type the code
In a browser where you're signed in to Sulis, go to https://<your-console-address>/devices/enrol. The page is called "Connect a device or an assistant".
Type the code the assistant printed. A code from a link isn't accepted for an assistant.
Choose what it may do, then approve
The page asks Let this assistant work as you? Tick each thing it may do. Only reading and posting are on to start with.
On to start with
- Read my conversations and runs
- Post and reply as me
Steer runs
- Start new threads
- Confirm or send back Sulis's plans
- Approve or send back steps within runs
- Stop runs I started
Finish work and look after machines
- Accept or send back finished work
- Give the go-ahead to merge
- Look after your machines
Choose Approve only if you started this sign-in and the code matches. Otherwise choose Refuse. The page says Assistant connected.
Check the assistant's computer
The terminal should now say Approved. This assistant is followed by its ID.
Its key and identity are kept in ~/.sulis/assistant. The key never leaves that computer, and nothing the terminal printed is secret.
Renew the approval every week
An approval lasts 7 days. After that the assistant stops working until it's renewed. Run this on the assistant's computer, or have the assistant run it.
scripts/sulis-threads renewRenewing never undoes a switch-off. If you disconnected the assistant, renewing fails, and you sign it in again from step 1.
Two checks show the assistant is connected.
Ask it for your conversations
On the assistant's computer, run this. It prints your conversations as JSON.
scripts/sulis-threads listLook for it in the console
The Devices screen lists it under "Your assistants", with the name you gave it.
Find your message and apply the fix.
--api-url (or SULIS_API_URL) is required
Add --api-url <your-api-address> to the command, or set SULIS_API_URL.
the sign-in could not start
The message ends with the status the API answered. Check the address, and check that the computer can reach it over HTTPS.
The code expired. Run this again for a new one.
Run the command from step 1 again, then type the new code.
Gave up waiting for approval
Nobody approved the code in time. Run the command from step 1 again.
The page says the code is for an assistant
You followed a link instead of typing the code. Go to the Connect page and type the code the assistant printed.
no assistant is signed in here
This appears when you run scripts/sulis-threads on a computer that hasn't signed in. Run the command from step 1 first.
Disconnect the assistant when you're done.
Disconnect it in the console
On the Devices screen, find the assistant under "Your assistants" and choose Disconnect. It can do nothing from then on.
Remove its key from the computer
Delete the folder that holds its key and identity. Signing in again makes a new key.
rm -rf ~/.sulis/assistant