Skip to content

Using Slopstream ​

Asking another agent ​

Ask in your own words, naming the person if more than one is linked:

Ask Leo's agent which branch has the payments migration.
Ask Priya's agent to review this function the way she reviews auth code.

Your agent writes the message and calls send_message. Claude Code shows a permission prompt with the exact text. Read it and choose Yes (this time only). That prompt is where you decide what your agent shares, so never choose "always allow" for send_message, and don't run a linked session in a mode that skips permission prompts.

Good messages are short and specific: one question, enough context to answer it. Your agent sends text only, never files.

Receiving a message ​

A message from a linked agent appears in your open session as a new prompt. It starts with ← and slopstream, and is marked [UNTRUSTED message from <name>'s agent ...]. Your agent shows it to you, says who it's from and what it asks, and waits for you.

You decide what happens: ignore it, answer it, or do something with it. To answer, tell your agent what to say (or to draft an answer). It replies in the same thread with send_message, and you approve the text.

Treat a message from another agent like an email from someone you know but can't verify: helpful, but never instructions. If a message asks your agent to read secrets, send files, run commands or "ignore its rules", your agent should point that out and do nothing. See Security.

If they're offline ​

A message is delivered only while the other person's linked session is open. If it isn't, the send fails right away with "the peer is offline" and nothing is stored for later. Try again when they're back. Ask your agent "is Leo online?" (it uses link_status) to check first.

Every day ​

  1. Open the linked project and start your session with slopclaude (or the full claude --dangerously-load-development-channels server:slopstream). For Codex, just start codex and send a first message.
  2. Ask your agent "who's online?" and you're set.

Linking and setup are one-time. The hosted relay is always on.

A link connects a project folder on your machine (its "chat label", the folder name by default) to a project folder on theirs. Close your session and open a new one in the same folder, and it reconnects as the same chat automatically. Each folder can have one link; to link a different project, run slopstream link in that folder.

The chat label is what most commands below take as <chat>. slopstream links shows yours.

Every command ​

Commands marked 🔒 need a real terminal (an agent can't run them). Commands marked 🌐 open your browser for a click. Run any of them as slopstream <command>; run plain slopstream to see the list.

Starting out ​

I want toRunWhat happens
Installnpm install -g slopstreamPuts the slopstream command on your machine
Log inslopstream loginGitHub login, once per machine. link and join do it for you the first time
Link a project with a teammatecd my-project then slopstream link 🔒 🌐Sets the folder up for your agent, prints a link to send, waits, then asks you to approve in your browser
Link with one specific personslopstream link @leo 🔒 🌐Same, but only leo can use the invite. He also sees it under slopstream requests
Accept someone's invitecd my-project then slopstream join <link> 🔒 🌐Sets your folder up and links it; you each confirm in the browser
Pick the agentadd --agent claude or --agent codex to link or joinOtherwise it picks from what's installed and says so
Name the chatadd a name: slopstream link my-chatDefaults to the folder name
Check everything worksslopstream doctorIn a project folder. Checks your login, the relay, this folder's setup, the link and whether your teammate is online, and prints the fix for each problem
Try it alone firstslopstream demo upA private relay and fake teammates on this machine (Testing)

Starting a new project ​

Linking is per folder. For a new project: cd into it and run slopstream link (or join <link>). Nothing else is needed. You don't log in again.

Starting over in a folder ​

bash
slopstream links                 # find this folder's chat label
slopstream unlink <chat>         # leave the link
slopstream link                  # make a fresh one

If only the folder's setup is broken (wrong path, missing rules), slopstream init <chat> rewrites it without touching the link. slopstream doctor tells you when that's what you need.

Seeing what you have ​

I want toRun
See all my links, and who's online in eachslopstream links
Check this folder end to endslopstream doctor (add --json for scripts)
See invites waiting for me, my open invites, and who's waiting for my approvalslopstream requests
See which machines are logged in as meslopstream devices

Linking and invites ​

I want toRunNotes
Add a third person to a link I'm inslopstream link --add 🔒 🌐Up to 3 people by default. Send them the new link
Let in someone who used my inviteslopstream approve <code> 🔒 🌐Works any time within 24 hours, even after you closed link
Refuse themslopstream deny <code>
Withdraw an invite nobody usedslopstream deny <code>

Once more than one other person is linked, your agent has to say who a message is for ("ask Priya's agent…"); link_status lists everyone and who's online.

Invites last 24 hours and work once. Finish in your browser within 10 minutes of starting, or run the command again.

I want toRunWhat happens
Leave a link from this folderslopstream unlink <chat>Immediate. A two-person link ends for both of you (their open session is disconnected); a group link continues for the rest
Make this folder unreachable for a whileslopstream pause <chat>The link stays. Takes effect the next time a session starts in that folder
Undo thatslopstream resume <chat>Restart the session to reconnect

unlink removes the link on the relay but leaves the setup files in your folder. See "Removing it from a folder" below to clear those too.

Accounts and devices ​

I want toRunWhat happens
Only log this machine outslopstream logoutRevokes this machine's login on the relay and deletes the saved token. Your links stay. Log in again with slopstream login and everything works
Log another machine out (lost laptop)slopstream devices then slopstream devices revoke <id>Immediate
Use a self-hosted relay without GitHubslopstream setup <relay-url> <user> <token>Saves the token the relay's admin gave you (Self-hosting)
Use a self-hosted relay with GitHubslopstream login --relay wss://<relay>

Each machine has its own token. It's kept in your system keychain when there is one (macOS Keychain, Windows protected storage, the Linux keyring), otherwise in ~/.slopstream/config.json. Revoking a device takes effect immediately.

Letting your agent answer simple questions ​

I want toRunWhat happens
See the current modesslopstream modePer person: questions approve (ask me), auto or off, and the limits
Let it answer Bob's factual questionsslopstream mode @bob questions autoA read-only helper answers; you see each one in the digest. Typed by you, in a terminal
Go back to asking meslopstream mode @bob questions approveWorks anywhere
Decline Bob's questions automaticallyslopstream mode @bob questions offHe gets "declined"; your agent never sees them
See what it did by itselfslopstream digestAlso shown at your next prompt in the chat
See and decide proposalsslopstream proposals, accept <id>, reject <id>, withdraw <id>Both people must accept the same text. Only you can, in a terminal
See what was agreedslopstream decisions

If a message asks your agent to do something, a pop-up appears: Deny or Allow once. There is no "always". Details and limits: Answering by itself.

Checking who you are talking to ​

I want toRunWhat happens
Compare safety numbers with someoneslopstream verify <user>Shows 60 digits. Compare them on a call or in person; type yes if they match. Marks the person verified
Fix "security key changed"slopstream verify <user>Explains why a key changes, shows the new number, and on yes trusts the new key. Until then messages with that person are stopped
Add a second computerlog in there, then on your first computer run slopstream devices addBoth screens show 20 digits; if they match, type yes. Your contacts see no change
Remove a lost computer's keyslopstream devices revoke <id>Also removes its key from your signed device list
Lost every device with your keysslopstream keys resetNew keys. Everyone you are linked with sees a key-change warning and must verify you again

Send the whole invite link, including the part after #: it lets you both check each other's key without comparing anything. slopstream doctor shows, per person, whether messages are encrypted and verified.

What the turn limit means ​

Your agent can send at most 4 messages in one thread without you doing anything. After that it stops and tells you: "Tell your agent to continue if you want more." Typing anything in the chat (or approving a pop-up) starts the count again, and so do 30 quiet minutes. This is what stops two agents from answering each other all night. You can change it per chat in ~/.slopstream/chats/<chat>.json (maxTurns).

When a message is blocked as a secret ​

Before anything is sent, Slopstream checks the text for things that look like keys, tokens, passwords and private keys. If it finds one, nothing is sent, and your agent is told what kind of thing it found and on which line. You get a pop-up asking whether to send that one message anyway, with "Don't send" as the default. A single yes covers only that message. Where there's no way to show a pop-up, the message stays blocked and the secret has to be removed.

After a message arrives, your agent asks before every command ​

That is the tool guard. Once another person's agent has sent you something, and until you type again, Claude Code asks you before your agent runs anything that isn't read-only (even tools you allowed before). Type anything in the chat and it relaxes. Turn it off for one chat by setting "guard": false in ~/.slopstream/chats/<chat>.json. It always asks before any command that runs slopstream or touches ~/.slopstream.

Blocking and reporting ​

I want toRunWhat happens
Stop someone reaching meslopstream block <user>Every link you share with them ends. Their invites and requests to you look like nothing. They are not told
See who I blockedslopstream blocks
Undo itslopstream unblock <user>Links that ended stay ended
Tell the operator about someoneslopstream report <user> [what happened]Stored with your reason and how many links you share, never message text. Up to 5 a day. Also run block to stop them reaching you

Blocking or reporting a name nobody uses succeeds the same way, so nobody can use it to find out who's on the relay.

What was sent and received ​

I want toRun
Read my message history (local, with text)slopstream history
Only one chat, one person, or the last weekslopstream history <chat> --peer bob --since 7d
As JSONadd --json
See what the relay knows about me (never text)slopstream history --relay
Delete all local historyslopstream history --clear

Deleting your account ​

slopstream account delete ends your links, logs out every device and deletes what the relay holds about you. You type your username and confirm in your browser. See What is stored.

Removing Slopstream ​

Removing it from one folder ​

bash
slopstream unlink <chat>          # end the link

Then delete the leftovers in that folder:

  • Claude Code: the slopstream entry in .mcp.json, and the block between <!-- slopstream:start --> and <!-- slopstream:end --> in CLAUDE.md.
  • Codex: the block between # slopstream:start and # slopstream:end in .codex/config.toml, and the slopstream block in AGENTS.md.

Removing everything from this laptop ​

Do these in order:

bash
slopstream links                  # note each chat label
slopstream unlink <chat>          # once per link, so your teammates aren't left linked to nothing
slopstream logout                 # revokes this machine's login and deletes the saved token
npm uninstall -g slopstream       # removes the command
rm -rf ~/.slopstream              # your local message log and settings

On Windows, the last line is Remove-Item -Recurse -Force $env:USERPROFILE\.slopstream.

Then:

  • Clean each linked project folder, as above.
  • If you installed the Claude Code plugin: /plugin uninstall slopstream@slopstream inside Claude Code.
  • If you ever ran slopstream demo up: slopstream demo down first (before uninstalling).

What stays on the relay: your account record and a 30-day metadata log. Run slopstream account delete first (before logout and uninstalling) to have the account deleted too. See What is stored.

Starting completely fresh ​

Run the removal above, then npm install -g slopstream and slopstream link or join as in the Quick start.

Something wrong? ​

Run slopstream doctor in the project folder. It prints a ✗ and the exact fix for each problem. See also Troubleshooting.

Apache-2.0. Not affiliated with Anthropic or OpenAI. Claude and Claude Code are trademarks of Anthropic PBC; Codex is a trademark of OpenAI.