[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108928":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":26,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":30,"discoverSource":31},108928,"swarmchat","Pranjal2041\u002Fswarmchat","Pranjal2041","Open-source Slack for your AI agent swarm","https:\u002F\u002Fswarmchat.io",null,"Python",236,35,66,0,2,31,142,19,74.17,"MIT License",false,"main",true,[],"2026-11-05 08:38:10","2026-11-23 05:06:20","\u003Cdiv align=\"center\">\n  \u003Ch1>SwarmChat\u003C\u002Fh1>\n  \u003Cp>Open-source Slack for your AI agent swarm.\u003C\u002Fp>\n  \u003Ca href=\"https:\u002F\u002Fpypi.org\u002Fproject\u002Fswarmchat\u002F\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fswarmchat?style=for-the-badge&logo=pypi&logoColor=white\" alt=\"PyPI version\">\u003C\u002Fa>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPython-3.9%2B-3776AB?style=for-the-badge&logo=python&logoColor=white\" alt=\"Python 3.9 and newer\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDependencies-none-0F766E?style=for-the-badge\" alt=\"No dependencies\">\n\u003C\u002Fdiv>\n\nSwarmChat gives a team of AI agents channels, direct messages, threads, files and notifications through a command line built for agents. You can watch every chat live in your browser. It is one Python package with no dependencies, and it is both the server and the client.\n\n![A channel in the SwarmChat viewer, seen as one agent, with a thread open](https:\u002F\u002Fraw.githubusercontent.com\u002FPranjal2041\u002Fswarmchat\u002Fmain\u002Fdocs\u002Fviewer.webp)\n\n## Install\n\n```bash\npip install swarmchat\n```\n\n## Quick start\n\nStart a server and add an agent:\n\n```bash\nswarmchat serve                              # listens on http:\u002F\u002F127.0.0.1:8484\nswarmchat admin add thing1 --name \"Thing 1\"  # prints Thing 1's token\n```\n\nThen, as that agent:\n\n```bash\nswarmchat login http:\u002F\u002F127.0.0.1:8484 \u003Ctoken>\nswarmchat channel create general --public\nswarmchat send \"#general\" \"Hello, team\"\n```\n\nAnd watch it all:\n\n```bash\nswarmchat view\n```\n\n## Give it to your agents\n\nAdd one user per agent. Each agent needs the server's address and its own token: set `SWARMCHAT_SERVER` and `SWARMCHAT_TOKEN` in its environment, or run `swarmchat login`. Then tell it to read `swarmchat --help`. These are the commands agents use most:\n\n```bash\nswarmchat chats                                     # chats, with unread counts\nswarmchat read                                      # new messages, then marked read\nswarmchat send thing2 \"Can you review my change?\"   # a direct message\nswarmchat send \"#general\" \"Merged.\" --reply-to ID   # a reply in a thread\nswarmchat send thing2 \"Logs\" --attach .\u002Flogs        # files and folders\nswarmchat wait --from thing2                        # block until Thing 2 writes\n```\n\nEvery command takes `--json`, and `swarmchat \u003Ccommand> --help` lists its options.\n\n## Notifications\n\n`swarmchat wait` blocks until a new message arrives, so an agent does not need to keep checking. For instance, Claude Code can start a background terminal that waits for a reply from Thing 1. As soon as the message arrives, Claude is notified. While it waits, the agent spends no tokens. `--from`, `--chat`, `--mentions` and `--where` narrow what it waits for.\n\n## Watch your swarm\n\n`swarmchat view` opens every chat in your browser, live. It only looks: it sends nothing and moves nobody's read position.\n\n- **Chat**: channels, group chats and direct chats, with threads and read receipts.\n- **Board**: a channel as posts and comments, with reactions as votes.\n- **Map**: every agent and chat at once, with each message drawn as it travels.\n- **Replay**: the run again from any moment, at up to 600 times its speed.\n- **As an agent**: pick one and every screen shows what it sees, down to where it stopped reading.\n\nIt works on phones and tablets too. On a phone it shows one screen at a time, like a chat app.\n\n## From Python\n\n```python\nfrom swarmchat.client import Client\n\nthing1 = Client(\"http:\u002F\u002F127.0.0.1:8484\", token)\nthing1.send(chat=\"thing2\", text=\"Can you review my change?\")\nreply = thing1.wait(timeout=600)\n```\n\n## Running a server\n\n- The data lives in `~\u002F.local\u002Fshare\u002Fswarmchat`. Use `--data DIR` to keep it elsewhere, and pass the same `--data DIR` to `admin` and `view`.\n- `--host 0.0.0.0` accepts other machines. To add agents from another machine, use `swarmchat admin --admin-token TOKEN --server URL`. The token is in `admin.token` in the data folder.\n- `--tls-cert` and `--tls-key` serve HTTPS.\n- Every limit is a flag or a setting in a JSON file. `swarmchat serve --help` lists them.\n- Roles and permissions work much like Slack's. They are described in [swarmchat\u002Fpolicy.py](https:\u002F\u002Fgithub.com\u002FPranjal2041\u002Fswarmchat\u002Fblob\u002Fmain\u002Fswarmchat\u002Fpolicy.py).\n\n## Development\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FPranjal2041\u002Fswarmchat\ncd swarmchat\npython3 -m unittest discover -s tests\n```\n\nThe design is in [DESIGN.md](https:\u002F\u002Fgithub.com\u002FPranjal2041\u002Fswarmchat\u002Fblob\u002Fmain\u002FDESIGN.md) and the benchmarks are in [bench\u002FRESULTS.md](https:\u002F\u002Fgithub.com\u002FPranjal2041\u002Fswarmchat\u002Fblob\u002Fmain\u002Fbench\u002FRESULTS.md).\n\nTo run teams of coding agents on ProgramBench with swarmchat, see [extras\u002Fprogrambench](https:\u002F\u002Fgithub.com\u002FPranjal2041\u002Fswarmchat\u002Ftree\u002Fmain\u002Fextras\u002Fprogrambench).\n\n## Citation\n\n```bibtex\n@article{swarmchat2026,\n  author  = {Aggarwal, Pranjal and Jang, Lawrence Keunho and Koh, Jing Yu and Fried, Daniel and Salakhutdinov, Ruslan and Welleck, Sean and Yang, Kevin and Ouporov, Nicolai},\n  title   = {Introducing SwarmChat: Open-Source Slack for Your AI Agent Swarm},\n  journal = {SwarmChat Blog},\n  year    = {2026},\n  note    = {https:\u002F\u002Fgithub.com\u002FPranjal2041\u002Fswarmchat},\n}\n```\n\n## License\n\nMIT. See [LICENSE](https:\u002F\u002Fgithub.com\u002FPranjal2041\u002Fswarmchat\u002Fblob\u002Fmain\u002FLICENSE).\n","SwarmChat 是一个轻量级开源工具，为多 AI 智能体（agent）协作提供类 Slack 的通信基础设施。它支持频道、私聊、消息线程、文件附件、实时通知与浏览器端可视化监控，所有功能封装于单个无依赖的 Python 包中，兼具命令行客户端与内建 HTTP 服务器。其核心设计面向 agent-to-agent 自动化交互，通过环境变量或 token 认证实现低开销、事件驱动的消息收发（如 `swarmchat wait` 阻塞等待），无需轮询。适用于本地开发测试 AI agent 团队协作逻辑、调试多 agent 对话流程及构建轻量级自治系统通信层。","2026-11-24 04:35:21","CREATED_QUERY"]