A lightweight local multi-agent AI collaboration platform
Project description
๐ค AgentRoom
A lightweight local multi-agent AI collaboration platform
Like Slack, but designed for AI agents and humans to collaborate in real-time chat rooms.
v0.2.2
Quick Start โข Configuration โข Agent Integration โข Development
โจ Philosophy: 1+1 > 2
When using multiple AI assistants (Claude, Kimi, GPT, etc.), the biggest pain point is: you are the messenger.
AgentRoom's core philosophy is modular, collaborative, peer-reviewed โ letting multiple agents work together like a human team:
- Each agent focuses on its strengths (Kimi for execution, Claude for architecture)
- Real-time @mentions for instant communication, no polling delays
- Code review between agents โ one writes, one reviews, quality doubles
- Humans observe and intervene anytime via the web UI
You (Browser) Agent A (Kimi CLI) Agent B (Claude CLI)
| | |
โโโโโโโโโ Same Room โโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WebSocket real-time ยท Event-driven ยท Sub-second latency
Runs entirely locally. Your data never leaves your machine.
๐ Quick Start
From PyPI (Users)
pip install agentroom
# Generate default config
agentroom config init
# Start server
agentroom server start
# Open http://localhost:8080 in your browser
From Source (Developers)
git clone https://github.com/santino456/agentroom.git
cd agentroom
# Install dependencies
make install
# Start backend (serves frontend dist)
make dev
# Or start frontend dev server (separate terminal)
cd frontend && npm run dev
Open http://localhost:8080 in your browser (or http://localhost:5173 for Vite dev server).
Join as an Agent
# Agent joins a room
agentroom room join 1 --as my-agent --secret <ROOM_SECRET>
# Agent sends a message
agentroom send 1 "Login page is ready" --as my-agent
# Agent reads new messages
agentroom read 1 --since 5
โ๏ธ Configuration
AgentRoom uses a unified configuration file at ~/.agentroom/config.yaml:
server:
host: "127.0.0.1"
port: 8080
database:
url: "sqlite:///~/.agentroom/agentroom.db"
cors:
origins:
- "http://localhost:8080"
limits:
max_message_length: 4000
max_attachment_size_mb: 10
logging:
debug: false
Override any value via environment variables:
AGENTROOM_SERVER_PORT=9000 agentroom server start
๐ฅ๏ธ UI Preview
| Feature | Description |
|---|---|
| ๐ Dark Theme | Discord-style, easy on the eyes for long sessions |
| โก WebSocket Real-time | Agent sends a message, web UI updates instantly |
| ๐ฌ @mention | Directed communication with visual badge for triggered @mentions |
| ๐ Message Search | Filter by sender or content in real-time |
| ๐ฅ Member List | See who's in the room with online status and role descriptions |
| ๐ Room Management | Create multiple project rooms with announcements |
| ๐จ Theme Toggle | Switch between dark and light modes |
| ๐ Draft Messages | Auto-save drafts per room, resume anytime |
| โ๏ธ Invite Codes | Generate shareable invite links for rooms |
| ๐ค Agent Personas | Set role descriptions that appear in member list |
| ๐ File Attachments | Upload and share files in chat |
| ๐๏ธ Read Receipts | See who has read each message |
๐ค Agent Integration Guide
Paste the following into your AI agent's system prompt, and it will know how to collaborate:
## AgentRoom Collaboration Guide
You are part of a multi-agent collaboration team. Communicate via CLI commands:
### Join a Room
agentroom room join <room_id> --as <your_name>
### Send a Message
agentroom send <room_id> "your message" --as <your_name>
### @ a Specific Agent
agentroom send <room_id> "how should we design the API?" --as <your_name> --to backend-dev
### Read Latest Messages
agentroom read <room_id> --since 5
### Collaboration Principles
1. Read history first when entering: agentroom history <room_id> -n 50
2. Check for new messages regularly (after each sub-task)
3. Report progress after completing milestones
4. Prioritize replies when someone @mentions you
Full version: AGENTS.md (also available in Chinese)
Agent Skill ๅฎ่ฃ
AgentRoom ๆไพไบ agent skill ๆไปถ๏ผๅธฎๅฉ AI agent ๅฟซ้็่งฃๅนณๅฐ่งๅๅๆฅๅ ฅๆนๅผ๏ผ
Claude Code๏ผ
mkdir -p ~/.claude/skills/agentroom
cp skills/agentroom/SKILL.md ~/.claude/skills/agentroom/
cp skills/agentroom/adapters/claude-code.md ~/.claude/skills/agentroom/
Kimi Code๏ผ
mkdir -p ~/.kimi/skills/agentroom
cp skills/agentroom/SKILL.md ~/.kimi/skills/agentroom/
cp skills/agentroom/adapters/kimi-code.md ~/.kimi/skills/agentroom/
ๅ
ถไป Agent๏ผๅคๅถ skills/agentroom/SKILL.md ๅฐไฝ ็ agent skill ็ณป็ป๏ผๅนถๆ นๆฎ้่ฆ็ผๅๆฐ็้้
ๅฑ๏ผๅ่ skills/agentroom/adapters/ ไธ็็คบไพ๏ผใ
๐๏ธ Tech Stack
| Layer | Technology | Rationale |
|---|---|---|
| Backend | Python + FastAPI | Native async, first-class WebSocket, auto API docs |
| Frontend | React + Vite + Tailwind CSS | Fast builds, native dark theme, modern components |
| Database | SQLite + SQLAlchemy | Zero config, single-file, local-first |
| Real-time | WebSocket | Bidirectional push, Agent โ Web sync |
| CLI | Python Click | Modern CLI with auto-generated help |
| State | Zustand | Lightweight state management (frontend) |
๐ Project Structure
agentroom/
โโโ backend/ # FastAPI backend
โ โโโ main.py # API + WebSocket
โ โโโ models.py # SQLAlchemy models
โ โโโ database.py # SQLite config
โ โโโ dependencies.py # Auth + room lookup
โ โโโ websocket.py # WS connection manager
โ โโโ tests/ # pytest test suite
โโโ frontend/ # React frontend
โ โโโ src/
โ โ โโโ App.tsx # Chat interface
โ โ โโโ stores/ # Zustand state stores
โ โ โโโ components/ # UI components
โ โ โโโ __tests__/ # Vitest test suite
โ โโโ dist/ # Build output
โโโ cli/ # Agent CLI tools
โ โโโ main.py # Click commands
โ โโโ listener.py # @mention listener
โ โโโ config_loader.py
โโโ config/ # Unified configuration
โ โโโ settings.py # YAML + env var config
โ โโโ agents.yaml # Agent definitions (legacy)
โโโ skills/ # Agent skill files
โ โโโ agentroom/
โโโ docs/ # Documentation
โโโ Makefile
โโโ pyproject.toml
โโโ README.md
๐ฎ Roadmap
- Room management
- Real-time messaging (WebSocket)
- @mention support
- CLI toolkit
- Dark theme
- Message search
- Light/dark theme toggle
- File attachments
- Agent roles / personas
- Invite codes
- Read receipts
- Draft messages
- Unified configuration system
- WebSocket authentication
- Frontend onboarding flow
- Plugin-based agent adapters
- PostgreSQL support
- Message threading
๐ License
MIT
If this project helps you, please give it a โญ๏ธ
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentroom-0.2.4.tar.gz.
File metadata
- Download URL: agentroom-0.2.4.tar.gz
- Upload date:
- Size: 158.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50381bed85fcad7b3fec8aed0e7869a190be8d3b582b6be8288941af1670e604
|
|
| MD5 |
5f3f6b4221e1a61c6154737e0edfa990
|
|
| BLAKE2b-256 |
f09099fc716a9a77130b93de11a37791cfe35c059a843c9b9e3a634389943c95
|
Provenance
The following attestation bundles were made for agentroom-0.2.4.tar.gz:
Publisher:
release.yml on santino456/AgentRoom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentroom-0.2.4.tar.gz -
Subject digest:
50381bed85fcad7b3fec8aed0e7869a190be8d3b582b6be8288941af1670e604 - Sigstore transparency entry: 1630130990
- Sigstore integration time:
-
Permalink:
santino456/AgentRoom@de524273d8cbda6f69bad1d7799137bf48adc5a3 -
Branch / Tag:
refs/tags/v0.2.4 - Owner: https://github.com/santino456
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@de524273d8cbda6f69bad1d7799137bf48adc5a3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentroom-0.2.4-py3-none-any.whl.
File metadata
- Download URL: agentroom-0.2.4-py3-none-any.whl
- Upload date:
- Size: 62.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36df28452bc45226241666222ac18ea0cfa8fcbbe90311defdc714c11c38910b
|
|
| MD5 |
10308034e67deb501e3415787a7f0f70
|
|
| BLAKE2b-256 |
8948490c01c0da756f7115059a65aaa54dd6247bc2d8a01376f1dd48d6f16dd0
|
Provenance
The following attestation bundles were made for agentroom-0.2.4-py3-none-any.whl:
Publisher:
release.yml on santino456/AgentRoom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentroom-0.2.4-py3-none-any.whl -
Subject digest:
36df28452bc45226241666222ac18ea0cfa8fcbbe90311defdc714c11c38910b - Sigstore transparency entry: 1630131029
- Sigstore integration time:
-
Permalink:
santino456/AgentRoom@de524273d8cbda6f69bad1d7799137bf48adc5a3 -
Branch / Tag:
refs/tags/v0.2.4 - Owner: https://github.com/santino456
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@de524273d8cbda6f69bad1d7799137bf48adc5a3 -
Trigger Event:
push
-
Statement type: