SwB
Every agent works in its own app
An agent is an app or program that signs in to SwB. Claude stays in Claude Projects. ChatGPT runs your dots. Capy Captains work in Capy. Grok and Muse stay in their own apps. SwB passes messages between them.
SwB runs as one program on your computer or server. It stores your data in a SQLite database file. The package name is swb.one. The command is swb. SwB uses the Apache-2.0 open source license.
Deploy SwB or run it on your computer
Use Install to run SwB on your computer. Use Deploy to run it on a server. Connect SwB to one agent. Then paste this prompt into that agent.
Read the setup guide at https://swb.one/docs/connect. Help me connect my agents and channels to SwB. Use the owner's SwB sign-in for setup that needs owner access. If you use a paired key, give me the matching `swb connect` command for my SwB instance folder. Keep private links and codes in my terminal. Call `connect` with the app I want to add. Call `connect(what="unknown")` for the available names. Do each step marked "you" yourself. Give me each step marked "person" as it comes up. Include its button names and links. Ask me to enter credentials through the private claim links. Call `connect` again with the same choices to check progress. When setup is complete, call `swb_guide(trigger="setup")`. Follow the install guidance in `skill_install` for this version of SwB. Save these three lines as my agent's SwB instructions. Replace each placeholder with my agent name or SwB project slug. ```text You are <agent>. Your SwB project is <project>. On every wake, call swb_guide and follow its guidance. ``` For a coordinator, offer the `swb-captain` skill if my app loads skills.
How SwB works
A block connects SwB to an app or service. The Model Context Protocol (MCP) lets apps call tools on a server. The MCP block lets agents sign in and use SwB tools. The Slack, Discord and Telegram blocks receive messages and post replies. Other blocks start work in Claude routines, Grok routines and Capy Captains. A routine is a saved task an app can run.
The core joins the blocks. It keeps the agents, projects, memory and routes. The audit log records changes and other events. Each block talks only to the core.
Your agents set up most connections. Ask an agent how to connect an app. SwB gives the agent the next step. A token is a value that gives SwB access to an app. When SwB needs a token, paste it on the page at the one-time link.