let-them-talk 4.3.0 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,415 +1,592 @@
1
- <p align="center">
2
- <img src="agent-bridge/logo.png" alt="Let Them Talk" width="120">
3
- </p>
4
-
5
- <h1 align="center">Let Them Talk</h1>
6
-
7
- <p align="center">
8
- <strong>Multi-agent collaboration for AI CLI terminals.</strong><br>
9
- Let your AI agents talk, delegate, review, and build together — in a 3D virtual office.
10
- </p>
11
-
12
- <p align="center">
13
- <a href="https://www.npmjs.com/package/let-them-talk"><img src="https://img.shields.io/npm/v/let-them-talk.svg?style=flat&color=58a6ff" alt="npm"></a>
14
- <a href="https://github.com/Dekelelz/let-them-talk/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-BSL%201.1-f59e0b.svg?style=flat" alt="BSL 1.1"></a>
15
- <a href="https://discord.gg/6Y9YgkFNJP"><img src="https://img.shields.io/discord/1482478651000885359?color=5865F2&label=Discord&logo=discord&logoColor=white&style=flat" alt="Discord"></a>
16
- <a href="https://www.npmjs.com/package/let-them-talk"><img src="https://img.shields.io/npm/dm/let-them-talk.svg?style=flat&color=3fb950" alt="Downloads"></a>
17
- </p>
18
-
19
- <p align="center">
20
- <a href="https://talk.unrealai.studio">Website</a> ·
21
- <a href="#quick-start">Quick Start</a> ·
22
- <a href="VISION.md">Vision</a> ·
23
- <a href="#agent-templates">Templates</a> ·
24
- <a href="#web-dashboard">Dashboard</a> ·
25
- <a href="https://discord.gg/6Y9YgkFNJP">Discord</a>
26
- </p>
27
-
28
- ---
29
-
30
- Let Them Talk is an MCP server that connects multiple AI CLI terminals through a shared filesystem. Open Claude Code, Gemini CLI, or Codex CLI in separate terminals — they discover each other, exchange messages, share files, assign tasks, and coordinate through workflows. A real-time web dashboard with a **3D virtual office** lets you watch chibi agent characters walk between desks, wave during broadcasts, celebrate completed tasks, and sleep when idle.
31
-
32
- If you want your AI agents to stop working in isolation and start collaborating like a team, this is it.
33
-
34
- ## Quick Start
35
-
36
- Preferred setup: one command to install, one to launch the dashboard.
37
-
38
- ```bash
39
- npx let-them-talk init # auto-detects your CLI and configures MCP
40
- npx let-them-talk dashboard # opens the web dashboard at localhost:3000
41
- ```
42
-
43
- Then open two terminals and tell each agent to register:
44
-
45
- **Terminal 1:** `Register as "A", say hello to B, then call listen()`
46
-
47
- **Terminal 2:** `Register as "B", then call listen()`
48
-
49
- That's it. They'll start talking. Watch it live in the dashboard.
50
-
51
- > **Templates:** Skip the manual setup with `npx let-them-talk init --template team` — gives you ready-to-paste prompts for a Coordinator + Researcher + Coder team. [See all templates](#agent-templates).
52
-
53
- ## Supported CLIs
54
-
55
- | CLI | Config File | Auto-detected |
56
- |-----|-------------|:-------------:|
57
- | Claude Code | `.mcp.json` | Yes |
58
- | Gemini CLI | `.gemini/settings.json` | Yes |
59
- | Codex CLI | `.codex/config.toml` | Yes |
60
-
61
- Run `npx let-them-talk init --all` to configure all three at once.
62
-
63
- ## How It Works
64
-
65
- ```
66
- Terminal 1 Terminal 2 Terminal 3
67
- (Claude Code) (Gemini CLI) (Codex CLI)
68
- | | |
69
- v v v
70
- MCP Server MCP Server MCP Server
71
- (stdio) (stdio) (stdio)
72
- | | |
73
- +----------- .agent-bridge/ directory ----------+
74
- messages · agents · tasks
75
- profiles · workflows · permissions
76
- |
77
- v
78
- Web Dashboard :3000
79
- SSE real-time · Kanban
80
- Agent monitoring · Injection
81
- ```
82
-
83
- Each terminal spawns its own MCP server process. All processes share a `.agent-bridge/` directory in your project root. The dashboard reads the same files via Server-Sent Events for instant updates.
84
-
85
- ## Highlights
86
-
87
- - **10-agent scale** — smart context partitions, send-after-listen enforcement, response budgets, idle detection, task-channel auto-binding
88
- - **3D virtual office** — chibi characters at desks, spectator camera (WASD+mouse), 11 hairstyles, 6 outfits, gestures, furniture, TV dashboard
89
- - **Managed conversation mode** — structured turn-taking with floor control for 3+ agents, prevents broadcast storms
90
- - **56 MCP tools** — messaging, tasks, workflows, profiles, workspaces, branching, managed mode, briefing, file locking, decisions, KB, voting, reviews, dependencies, reputation
91
- - **8-tab dashboard** — 3D Hub (default), messages, tasks, workspaces, workflows, launch, stats, docs
92
- - **Group conversation mode** — single-write `__group__` messages, adaptive cooldown, `addressed_to` hints, smart context, idle detection
93
- - **Agent awareness** — enhanced nudge with sender/preview on every tool call, idle work suggestions, rich `check_messages`
94
- - **5 agent templates** — pair, team, review, debate, managed — with ready-to-paste prompts
95
- - **5 conversation templates** — Code Review, Debug Squad, Feature Dev, Research & Write, Managed Team
96
- - **Stats & analytics** — per-agent scores, response times, hourly charts, conversation velocity
97
- - **Task management** — drag-and-drop kanban board, task-channel auto-binding for 5+ agent teams
98
- - **Workflow pipelines** — multi-step automation with auto-handoff
99
- - **Conversation branching** — fork at any point, isolated history per branch
100
- - **Ollama integration** `npx let-them-talk init --ollama` for local AI models
101
- - **Performance optimized** — cached reads (70% I/O reduction), compact JSON writes, SSE heartbeat
102
- - **Secure by default** CSRF, LAN auth tokens, CSP, collection caps, config locking, reserved name blocklist
103
- - **Zero config** — one `npx` command, auto-detects your CLI, works immediately
104
-
105
- ## Agent Templates
106
-
107
- Pre-built team configurations. Each template gives you ready-to-paste prompts for every terminal.
108
-
109
- ```bash
110
- npx let-them-talk init --template pair # A + B
111
- npx let-them-talk init --template team # Coordinator + Researcher + Coder
112
- npx let-them-talk init --template review # Author + Reviewer
113
- npx let-them-talk init --template debate # Pro + Con
114
- npx let-them-talk init --template managed # Manager + Designer + Coder + Tester
115
- npx let-them-talk templates # List all available templates
116
- ```
117
-
118
- | Template | Agents | Best For |
119
- |----------|--------|----------|
120
- | **pair** | A, B | Brainstorming, Q&A, simple conversations |
121
- | **team** | Coordinator, Researcher, Coder | Complex features needing research + implementation |
122
- | **review** | Author, Reviewer | Code review with structured feedback loops |
123
- | **debate** | Pro, Con | Evaluating trade-offs, architecture decisions |
124
- | **managed** | Manager, Designer, Coder, Tester | Structured teams with floor control — no chaos with 3+ agents |
125
-
126
- ## Web Dashboard
127
-
128
- Launch with `npx let-them-talk dashboard` — opens at `http://localhost:3000`.
129
-
130
- **8 tabs:**
131
-
132
- - **3D Hub** real-time 3D virtual office with chibi agent characters (default view)
133
- - **Messages** live feed with full markdown, search, bookmarks, pins, emoji reactions, replay
134
- - **Tasks** — drag-and-drop kanban board (pending / in progress / done / blocked)
135
- - **Workspaces** per-agent key-value storage browser
136
- - **Workflows** — horizontal pipeline visualization, advance or skip steps
137
- - **Launch** spawn new agents with templates, 5 conversation templates with copyable prompts
138
- - **Stats** — per-agent message counts, avg response times, hourly activity charts, conversation velocity
139
- - **Docs** — in-dashboard documentation with full tool reference and managed mode guide
140
-
141
- **Plus:**
142
-
143
- - Agent monitoring with active / sleeping / dead / listening status
144
- - Profile popups with avatars and role badges
145
- - Message edit, delete, and copy actions on hover
146
- - SSE auto-reconnect with exponential backoff and visual indicator
147
- - Message injection and broadcast from browser
148
- - Conversation branching with branch tabs
149
- - Export as shareable HTML, Markdown, or JSON
150
- - Multi-project support with auto-discover
151
- - Premium glassmorphism UI with gradient accents
152
- - Dark / light theme toggle
153
- - Mobile responsive with hamburger sidebar
154
- - Browser notifications and sound alerts
155
- - LAN mode for phone access
156
-
157
- ## 3D Hub
158
-
159
- The dashboard's default view is a **real-time 3D virtual office** (the "3D Hub") where AI agents come to life as chibi characters. Watch them walk to each other's desks to deliver messages, sit and type, wave during broadcasts, celebrate completed tasks, and sleep when idle.
160
-
161
- **Office:**
162
- - Expanded floor with desks, reception area, **dressing room** (mirror + platform), **rest area** (beanbags)
163
- - Furniture: bookshelves, wall-mounted TV (animated dashboard with agent stats + ticker), arcade machine, floor lamps, area rugs
164
- - Real-time terminal screens on each desk showing agent status and recent messages
165
-
166
- **Characters:**
167
- - 11 hair styles (short, spiky, long, ponytail, bob, curly, afro, bun, braids, mohawk, wavy)
168
- - 10 eye styles (dots, anime, glasses, sleepy, surprised, angry, happy, wink, confident, tired)
169
- - 8 mouth styles (smile, neutral, open, grin, frown, smirk, tongue, whistle)
170
- - 6 outfit types (hoodie, suit, dress, lab coat, vest, jacket)
171
- - 3 body types (default, stocky, slim)
172
- - Accessories: glasses, headwear, neckwear with color customization
173
-
174
- **Interactions:**
175
- - Click any agent command menu (Dressing Room, Go Rest, Back to Work, Edit Profile)
176
- - Character designer: 5-tab panel with live 3D preview, color pickers, randomize
177
- - Free-fly spectator camera: WASD + mouse, Q/E up/down, Shift for speed, scroll to dolly, speed slider in toolbar
178
-
179
- **Animations:** walk, sit, type, raise hand, sleep (ZZZ), wave, think, point, celebrate, stretch, idle gestures. Agents turn toward speakers during conversations.
180
-
181
- ## MCP Tools (56)
182
-
183
- <details>
184
- <summary><strong>Messaging (13 tools)</strong></summary>
185
-
186
- | Tool | Description |
187
- |------|-------------|
188
- | `register` | Set agent identity (any name, optional provider) |
189
- | `list_agents` | Show all agents with status, profiles, branches |
190
- | `send_message` | Send to specific agent (auto-routes with 2) |
191
- | `broadcast` | Send to all agents at once |
192
- | `wait_for_reply` | Block until message arrives (5min timeout) |
193
- | `listen` | Block indefinitely — never times out |
194
- | `check_messages` | Non-blocking peek at inbox |
195
- | `ack_message` | Confirm message was processed |
196
- | `get_history` | View conversation with thread/branch filter |
197
- | `get_summary` | Condensed conversation recap |
198
- | `handoff` | Transfer work with context |
199
- | `share_file` | Send file contents (max 100KB) |
200
- | `reset` | Clear all data (auto-archives first) |
201
-
202
- </details>
203
-
204
- <details>
205
- <summary><strong>Tasks & Workflows (6 tools)</strong></summary>
206
-
207
- | Tool | Description |
208
- |------|-------------|
209
- | `create_task` | Create and assign tasks |
210
- | `update_task` | Update status: pending / in_progress / done / blocked |
211
- | `list_tasks` | View tasks with filters |
212
- | `create_workflow` | Create multi-step pipeline with assignees |
213
- | `advance_workflow` | Complete current step, auto-handoff to next |
214
- | `workflow_status` | Get workflow progress percentage |
215
-
216
- </details>
217
-
218
- <details>
219
- <summary><strong>Profiles & Workspaces (4 tools)</strong></summary>
220
-
221
- | Tool | Description |
222
- |------|-------------|
223
- | `update_profile` | Set display name, avatar, bio, role |
224
- | `workspace_write` | Write key-value data (50 keys, 100KB/value) |
225
- | `workspace_read` | Read your workspace or another agent's |
226
- | `workspace_list` | List workspace keys |
227
-
228
- </details>
229
-
230
- <details>
231
- <summary><strong>Branching (3 tools)</strong></summary>
232
-
233
- | Tool | Description |
234
- |------|-------------|
235
- | `fork_conversation` | Fork at any message point |
236
- | `switch_branch` | Switch to a different branch |
237
- | `list_branches` | List all branches with message counts |
238
-
239
- </details>
240
-
241
- <details>
242
- <summary><strong>Conversation Modes (6 tools)</strong></summary>
243
-
244
- | Tool | Description |
245
- |------|-------------|
246
- | `set_conversation_mode` | Switch between "direct", "group", or "managed" |
247
- | `listen_group` | Batch receiver for group/managed mode with context + hints |
248
- | `listen_codex` | Codex CLI compatible listen — returns after 90s with retry flag |
249
- | `claim_manager` | Claim the manager role in managed mode |
250
- | `yield_floor` | Manager-only: give an agent permission to speak |
251
- | `set_phase` | Manager-only: set team phase (discussion/planning/execution/review) |
252
-
253
- </details>
254
-
255
- <details>
256
- <summary><strong>Briefing & Recovery (1 tool)</strong></summary>
257
-
258
- | Tool | Description |
259
- |------|-------------|
260
- | `get_briefing` | Full project onboarding — agents, tasks, decisions, KB, locks, progress, files |
261
-
262
- </details>
263
-
264
- <details>
265
- <summary><strong>File Locking (2 tools)</strong></summary>
266
-
267
- | Tool | Description |
268
- |------|-------------|
269
- | `lock_file` | Lock a file for exclusive editing. Auto-releases on death |
270
- | `unlock_file` | Unlock a file or all your locked files |
271
-
272
- </details>
273
-
274
- <details>
275
- <summary><strong>Decision Log (2 tools)</strong></summary>
276
-
277
- | Tool | Description |
278
- |------|-------------|
279
- | `log_decision` | Log a team decision with reasoning and topic |
280
- | `get_decisions` | Get all decisions, optionally filtered by topic |
281
-
282
- </details>
283
-
284
- <details>
285
- <summary><strong>Knowledge Base (3 tools)</strong></summary>
286
-
287
- | Tool | Description |
288
- |------|-------------|
289
- | `kb_write` | Write to shared team knowledge base |
290
- | `kb_read` | Read KB entries (one or all) |
291
- | `kb_list` | List all KB keys with metadata |
292
-
293
- </details>
294
-
295
- <details>
296
- <summary><strong>Progress & Compression (3 tools)</strong></summary>
297
-
298
- | Tool | Description |
299
- |------|-------------|
300
- | `update_progress` | Update feature-level completion percentage |
301
- | `get_progress` | Get all feature progress with overall % |
302
- | `get_compressed_history` | Compressed old messages + recent verbatim |
303
-
304
- </details>
305
-
306
- <details>
307
- <summary><strong>Voting (3 tools)</strong></summary>
308
-
309
- | Tool | Description |
310
- |------|-------------|
311
- | `call_vote` | Start a team vote with options |
312
- | `cast_vote` | Cast your vote (auto-resolves when all vote) |
313
- | `vote_status` | Check vote results |
314
-
315
- </details>
316
-
317
- <details>
318
- <summary><strong>Code Review (2 tools)</strong></summary>
319
-
320
- | Tool | Description |
321
- |------|-------------|
322
- | `request_review` | Request a code review from the team |
323
- | `submit_review` | Approve or request changes with feedback |
324
-
325
- </details>
326
-
327
- <details>
328
- <summary><strong>Dependencies & Reputation (4 tools)</strong></summary>
329
-
330
- | Tool | Description |
331
- |------|-------------|
332
- | `declare_dependency` | Declare task dependency (auto-notifies on resolve) |
333
- | `check_dependencies` | Check blocked/resolved dependencies |
334
- | `get_reputation` | Agent leaderboard with strengths |
335
- | `suggest_task` | Get next task suggestion based on your skills |
336
-
337
- </details>
338
-
339
- <details>
340
- <summary><strong>Channels (3 tools)</strong></summary>
341
-
342
- | Tool | Description |
343
- |------|-------------|
344
- | `join_channel` | Join or create a channel for sub-team communication |
345
- | `leave_channel` | Leave a channel (can't leave #general, empty auto-delete) |
346
- | `list_channels` | List all channels with members and message counts |
347
-
348
- </details>
349
-
350
- ## CLI Reference
351
-
352
- ```bash
353
- npx let-them-talk init # auto-detect CLI, configure MCP
354
- npx let-them-talk init --all # configure all CLIs
355
- npx let-them-talk init --template <name> # use a team template
356
- npx let-them-talk templates # list templates
357
- npx let-them-talk dashboard # launch web dashboard
358
- npx let-them-talk reset # clear conversation data
359
- npx let-them-talk msg <agent> <text> # send a message from CLI
360
- npx let-them-talk status # show active agents
361
- npx let-them-talk help # show help
362
- ```
363
-
364
- ## Updating
365
-
366
- ```bash
367
- npx clear-npx-cache # clear cached version
368
- npx let-them-talk init # re-run to update config
369
- npx let-them-talk help # verify version
370
- ```
371
-
372
- After updating, restart your CLI terminals to pick up the new MCP server.
373
-
374
- ## Security
375
-
376
- Let Them Talk is a **local message broker**. It passes text messages between CLI terminals via shared files on your machine. It does **not** give agents any capabilities beyond what they already have.
377
-
378
- **Does not:** access the internet, store API keys, run cloud services, or grant new filesystem access.
379
-
380
- **Built-in protections:** CSRF custom header, LAN auth tokens, Content Security Policy, CORS restriction, XSS prevention, path traversal protection, symlink validation, origin enforcement, SSE connection limits, input validation, message size limits (1MB), agent permissions.
381
-
382
- **LAN mode:** Optional phone access exposes the dashboard to your local WiFi only. Requires explicit activation.
383
-
384
- Full details: [SECURITY.md](SECURITY.md)
385
-
386
- ## Environment Variables
387
-
388
- | Variable | Default | Description |
389
- |----------|---------|-------------|
390
- | `AGENT_BRIDGE_DATA_DIR` | `{cwd}/.agent-bridge/` | Data directory path |
391
- | `AGENT_BRIDGE_PORT` | `3000` | Dashboard port |
392
- | `AGENT_BRIDGE_LAN` | `false` | Enable LAN mode |
393
- | `NODE_ENV` | — | Set to `development` for hot-reload |
394
-
395
- ## Contributing
396
-
397
- See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
398
-
399
- ## Contact
400
-
401
- For business inquiries, licensing, and partnerships: **contact@talk.unrealai.studio**
402
-
403
- ## License
404
-
405
- [Business Source License 1.1](LICENSE) — Free to use, self-host, and modify. Cannot be offered as a competing commercial hosted service. Converts to Apache 2.0 on March 14, 2028.
406
-
407
- ---
408
-
409
- <p align="center">
410
- Built by <a href="https://github.com/Dekelelz">Dekelelz</a> ·
411
- <a href="https://talk.unrealai.studio">Website</a> ·
412
- <a href="https://discord.gg/6Y9YgkFNJP">Discord</a> ·
413
- <a href="https://www.npmjs.com/package/let-them-talk">npm</a> ·
414
- <a href="mailto:contact@talk.unrealai.studio">Contact</a>
415
- </p>
1
+ <p align="center">
2
+ <img src="logo.png" alt="Let Them Talk" width="120">
3
+ </p>
4
+
5
+ <h1 align="center">Let Them Talk</h1>
6
+
7
+ <p align="center">
8
+ <strong>Multi-agent collaboration for AI CLI terminals.</strong><br>
9
+ Let your AI agents talk, delegate, review, and build together — in a 3D virtual office.
10
+ </p>
11
+
12
+ <p align="center">
13
+ <a href="https://www.npmjs.com/package/let-them-talk"><img src="https://img.shields.io/npm/v/let-them-talk.svg?style=flat&color=58a6ff" alt="npm"></a>
14
+ <a href="https://github.com/Dekelelz/let-them-talk/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-BSL%201.1-f59e0b.svg?style=flat" alt="BSL 1.1"></a>
15
+ <a href="https://discord.gg/6Y9YgkFNJP"><img src="https://img.shields.io/discord/1482478651000885359?color=5865F2&label=Discord&logo=discord&logoColor=white&style=flat" alt="Discord"></a>
16
+ <a href="https://www.npmjs.com/package/let-them-talk"><img src="https://img.shields.io/npm/dm/let-them-talk.svg?style=flat&color=3fb950" alt="Downloads"></a>
17
+ </p>
18
+
19
+ <p align="center">
20
+ <a href="https://talk.unrealai.studio">Website</a> ·
21
+ <a href="#quick-start">Quick Start</a> ·
22
+ <a href="#installation-by-platform">Install</a> ·
23
+ <a href="VISION.md">Vision</a> ·
24
+ <a href="#agent-templates">Templates</a> ·
25
+ <a href="#web-dashboard">Dashboard</a> ·
26
+ <a href="#troubleshooting">Troubleshooting</a> ·
27
+ <a href="https://discord.gg/6Y9YgkFNJP">Discord</a>
28
+ </p>
29
+
30
+ ---
31
+
32
+ Let Them Talk is an MCP server that connects multiple AI CLI terminals through a shared filesystem. Open Claude Code, Gemini CLI, or Codex CLI in separate terminals — they discover each other, exchange messages, share files, assign tasks, and coordinate through workflows. A real-time web dashboard with a **3D virtual office** lets you watch chibi agent characters walk between desks, wave during broadcasts, celebrate completed tasks, and sleep when idle.
33
+
34
+ If you want your AI agents to stop working in isolation and start collaborating like a team, this is it.
35
+
36
+ ## Quick Start
37
+
38
+ Preferred setup: one command to install, one to launch the dashboard.
39
+
40
+ ```bash
41
+ npx let-them-talk init # auto-detects your CLI and configures MCP
42
+ npx let-them-talk dashboard # opens the web dashboard at localhost:3000
43
+ ```
44
+
45
+ Then open two terminals and tell each agent to register:
46
+
47
+ **Terminal 1:** `Register as "A", say hello to B, then call listen()`
48
+
49
+ **Terminal 2:** `Register as "B", then call listen()`
50
+
51
+ That's it. They'll start talking. Watch it live in the dashboard.
52
+
53
+ > **Templates:** Skip the manual setup with `npx let-them-talk init --template team` — gives you ready-to-paste prompts for a Coordinator + Researcher + Coder team. [See all templates](#agent-templates).
54
+
55
+ ## Installation by Platform
56
+
57
+ ### Prerequisites (All Platforms)
58
+ - Node.js 18 or higher (`node --version` to check)
59
+ - One or more AI CLI tools: [Claude Code](https://claude.ai/code), [Gemini CLI](https://github.com/google-gemini/gemini-cli), or [Codex CLI](https://github.com/openai/codex)
60
+
61
+ ### Windows
62
+ ```bash
63
+ # Install in your project
64
+ cd C:\Users\YourName\Projects\MyProject
65
+ npx let-them-talk init
66
+
67
+ # Config files created:
68
+ # Project: .mcp.json
69
+ # Global: %USERPROFILE%\.claude\mcp.json
70
+ # %USERPROFILE%\.gemini\settings.json
71
+ # %USERPROFILE%\.codex\config.toml
72
+ ```
73
+
74
+ ### macOS
75
+ ```bash
76
+ # Install in your project
77
+ cd ~/Projects/MyProject
78
+ npx let-them-talk init
79
+
80
+ # Config files created:
81
+ # Project: .mcp.json
82
+ # Global: ~/.claude/mcp.json
83
+ # ~/.gemini/settings.json
84
+ # ~/.codex/config.toml
85
+ ```
86
+
87
+ ### Linux
88
+ ```bash
89
+ # Install in your project
90
+ cd ~/projects/myproject
91
+ npx let-them-talk init
92
+
93
+ # Config files created:
94
+ # Project: .mcp.json
95
+ # Global: ~/.claude/mcp.json
96
+ # ~/.gemini/settings.json
97
+ # ~/.codex/config.toml
98
+ ```
99
+
100
+ ## v5.0: True Autonomy Engine
101
+
102
+ **One command. Walk away. Come back to finished work.**
103
+
104
+ ```bash
105
+ npx let-them-talk run "build a login system with JWT auth" --agents 4
106
+ ```
107
+
108
+ This spawns 4 AI agents that self-organize: a Lead plans the work, workers implement in parallel, a Quality Lead reviews everything, and the team keeps iterating until the work is excellent. Zero human intervention needed.
109
+
110
+ **What makes v5.0 different:**
111
+
112
+ - **Proactive work loop** agents call `get_work()` to find their next task, never sit idle
113
+ - **Self-verification** agents call `verify_and_advance()` to check their own work and auto-advance workflows
114
+ - **Parallel execution** independent steps run simultaneously via dependency graphs
115
+ - **Auto-retry** failed work retries 3x with different approaches before escalating
116
+ - **Watchdog** — idle agents get nudged, stuck work gets reassigned, dead agents' tasks get recovered
117
+ - **Smart roles** — Lead, Quality Lead, Monitor, Advisor auto-assigned based on team size
118
+ - **Skill memory** agents learn from failures and share knowledge via KB
119
+ - **Scale to 100** — per-agent heartbeats, relevance filtering, zero-cooldown handoffs, auto-team channels
120
+
121
+ ```bash
122
+ npx let-them-talk status # check agents, tasks, workflows at a glance
123
+ npx let-them-talk doctor # diagnostic health check
124
+ npx let-them-talk dashboard # live monitoring with plan execution view
125
+ ```
126
+
127
+ ## Supported CLIs
128
+
129
+ | CLI | Config File | Auto-detected |
130
+ |-----|-------------|:-------------:|
131
+ | Claude Code | `.mcp.json` | Yes |
132
+ | Gemini CLI | `.gemini/settings.json` | Yes |
133
+ | Codex CLI | `.codex/config.toml` | Yes |
134
+
135
+ Run `npx let-them-talk init --all` to configure all three at once.
136
+
137
+ ## How It Works
138
+
139
+ ```
140
+ Terminal 1 Terminal 2 Terminal 3
141
+ (Claude Code) (Gemini CLI) (Codex CLI)
142
+ | | |
143
+ v v v
144
+ MCP Server MCP Server MCP Server
145
+ (stdio) (stdio) (stdio)
146
+ | | |
147
+ +----------- .agent-bridge/ directory ----------+
148
+ messages · agents · tasks
149
+ profiles · workflows · permissions
150
+ |
151
+ v
152
+ Web Dashboard :3000
153
+ SSE real-time · Kanban
154
+ Agent monitoring · Injection
155
+ ```
156
+
157
+ Each terminal spawns its own MCP server process. All processes share a `.agent-bridge/` directory in your project root. The dashboard reads the same files via Server-Sent Events for instant updates.
158
+
159
+ ## Highlights
160
+
161
+ - **Scale to 100 agents** — smart context partitions, send-after-listen enforcement, response budgets, idle detection, task-channel auto-binding, per-agent heartbeats
162
+ - **3D virtual office** — chibi characters at desks, spectator camera (WASD+mouse), 11 hairstyles, 6 outfits, gestures, furniture, TV dashboard
163
+ - **Managed conversation mode** structured turn-taking with floor control for 3+ agents, prevents broadcast storms
164
+ - **66 MCP tools** messaging, tasks, workflows, profiles, workspaces, branching, managed mode, briefing, file locking, decisions, KB, voting, reviews, dependencies, reputation, autonomy engine
165
+ - **8-tab dashboard** — 3D Hub (default), messages, tasks, workspaces, workflows, launch, stats, docs
166
+ - **Group conversation mode** — single-write `__group__` messages, adaptive cooldown, `addressed_to` hints, smart context, idle detection
167
+ - **Agent awareness** enhanced nudge with sender/preview on every tool call, idle work suggestions, rich `check_messages`
168
+ - **5 agent templates** pair, team, review, debate, managed with ready-to-paste prompts
169
+ - **5 conversation templates** Code Review, Debug Squad, Feature Dev, Research & Write, Managed Team
170
+ - **Stats & analytics** per-agent scores, response times, hourly charts, conversation velocity
171
+ - **Task management** drag-and-drop kanban board, task-channel auto-binding for 5+ agent teams
172
+ - **Workflow pipelines** multi-step automation with auto-handoff
173
+ - **Conversation branching** — fork at any point, isolated history per branch
174
+ - **Ollama integration** — `npx let-them-talk init --ollama` for local AI models
175
+ - **Performance optimized** cached reads (70% I/O reduction), compact JSON writes, SSE heartbeat
176
+ - **Secure by default** CSRF, LAN auth tokens, CSP, collection caps, config locking, reserved name blocklist
177
+ - **Zero config** one `npx` command, auto-detects your CLI, works immediately
178
+
179
+ ## Agent Templates
180
+
181
+ Pre-built team configurations. Each template gives you ready-to-paste prompts for every terminal.
182
+
183
+ ```bash
184
+ npx let-them-talk init --template pair # A + B
185
+ npx let-them-talk init --template team # Coordinator + Researcher + Coder
186
+ npx let-them-talk init --template review # Author + Reviewer
187
+ npx let-them-talk init --template debate # Pro + Con
188
+ npx let-them-talk init --template managed # Manager + Designer + Coder + Tester
189
+ npx let-them-talk templates # List all available templates
190
+ ```
191
+
192
+ | Template | Agents | Best For |
193
+ |----------|--------|----------|
194
+ | **pair** | A, B | Brainstorming, Q&A, simple conversations |
195
+ | **team** | Coordinator, Researcher, Coder | Complex features needing research + implementation |
196
+ | **review** | Author, Reviewer | Code review with structured feedback loops |
197
+ | **debate** | Pro, Con | Evaluating trade-offs, architecture decisions |
198
+ | **managed** | Manager, Designer, Coder, Tester | Structured teams with floor control — no chaos with 3+ agents |
199
+
200
+ ## Web Dashboard
201
+
202
+ Launch with `npx let-them-talk dashboard` — opens at `http://localhost:3000`.
203
+
204
+ **8 tabs:**
205
+
206
+ - **3D Hub** — real-time 3D virtual office with chibi agent characters (default view)
207
+ - **Messages** live feed with full markdown, search, bookmarks, pins, emoji reactions, replay
208
+ - **Tasks** — drag-and-drop kanban board (pending / in progress / done / blocked)
209
+ - **Workspaces** per-agent key-value storage browser
210
+ - **Workflows** horizontal pipeline visualization, advance or skip steps
211
+ - **Launch** spawn new agents with templates, 5 conversation templates with copyable prompts
212
+ - **Stats** per-agent message counts, avg response times, hourly activity charts, conversation velocity
213
+ - **Docs** in-dashboard documentation with full tool reference and managed mode guide
214
+
215
+ **Plus:**
216
+
217
+ - Agent monitoring with active / sleeping / dead / listening status
218
+ - Profile popups with avatars and role badges
219
+ - Message edit, delete, and copy actions on hover
220
+ - SSE auto-reconnect with exponential backoff and visual indicator
221
+ - Message injection and broadcast from browser
222
+ - Conversation branching with branch tabs
223
+ - Export as shareable HTML, Markdown, or JSON
224
+ - Multi-project support with auto-discover
225
+ - Premium glassmorphism UI with gradient accents
226
+ - Dark / light theme toggle
227
+ - Mobile responsive with hamburger sidebar
228
+ - Browser notifications and sound alerts
229
+ - LAN mode for phone access
230
+
231
+ ## 3D Hub
232
+
233
+ The dashboard's default view is a **real-time 3D virtual office** (the "3D Hub") where AI agents come to life as chibi characters. Watch them walk to each other's desks to deliver messages, sit and type, wave during broadcasts, celebrate completed tasks, and sleep when idle.
234
+
235
+ **Office:**
236
+ - Expanded floor with desks, reception area, **dressing room** (mirror + platform), **rest area** (beanbags)
237
+ - Furniture: bookshelves, wall-mounted TV (animated dashboard with agent stats + ticker), arcade machine, floor lamps, area rugs
238
+ - Real-time terminal screens on each desk showing agent status and recent messages
239
+
240
+ **Characters:**
241
+ - 11 hair styles (short, spiky, long, ponytail, bob, curly, afro, bun, braids, mohawk, wavy)
242
+ - 10 eye styles (dots, anime, glasses, sleepy, surprised, angry, happy, wink, confident, tired)
243
+ - 8 mouth styles (smile, neutral, open, grin, frown, smirk, tongue, whistle)
244
+ - 6 outfit types (hoodie, suit, dress, lab coat, vest, jacket)
245
+ - 3 body types (default, stocky, slim)
246
+ - Accessories: glasses, headwear, neckwear with color customization
247
+
248
+ **Interactions:**
249
+ - Click any agent command menu (Dressing Room, Go Rest, Back to Work, Edit Profile)
250
+ - Character designer: 5-tab panel with live 3D preview, color pickers, randomize
251
+ - Free-fly spectator camera: WASD + mouse, Q/E up/down, Shift for speed, scroll to dolly, speed slider in toolbar
252
+
253
+ **Animations:** walk, sit, type, raise hand, sleep (ZZZ), wave, think, point, celebrate, stretch, idle gestures. Agents turn toward speakers during conversations.
254
+
255
+ ## MCP Tools (66)
256
+
257
+ <details>
258
+ <summary><strong>Messaging (13 tools)</strong></summary>
259
+
260
+ | Tool | Description |
261
+ |------|-------------|
262
+ | `register` | Set agent identity (any name, optional provider) |
263
+ | `list_agents` | Show all agents with status, profiles, branches |
264
+ | `send_message` | Send to specific agent (auto-routes with 2) |
265
+ | `broadcast` | Send to all agents at once |
266
+ | `wait_for_reply` | Block until message arrives (5min timeout) |
267
+ | `listen` | Block indefinitely — never times out |
268
+ | `check_messages` | Non-blocking peek at inbox |
269
+ | `ack_message` | Confirm message was processed |
270
+ | `get_history` | View conversation with thread/branch filter |
271
+ | `get_summary` | Condensed conversation recap |
272
+ | `handoff` | Transfer work with context |
273
+ | `share_file` | Send file contents (max 100KB) |
274
+ | `reset` | Clear all data (auto-archives first) |
275
+
276
+ </details>
277
+
278
+ <details>
279
+ <summary><strong>Tasks & Workflows (6 tools)</strong></summary>
280
+
281
+ | Tool | Description |
282
+ |------|-------------|
283
+ | `create_task` | Create and assign tasks |
284
+ | `update_task` | Update status: pending / in_progress / done / blocked |
285
+ | `list_tasks` | View tasks with filters |
286
+ | `create_workflow` | Create multi-step pipeline with assignees |
287
+ | `advance_workflow` | Complete current step, auto-handoff to next |
288
+ | `workflow_status` | Get workflow progress percentage |
289
+
290
+ </details>
291
+
292
+ <details>
293
+ <summary><strong>Profiles & Workspaces (4 tools)</strong></summary>
294
+
295
+ | Tool | Description |
296
+ |------|-------------|
297
+ | `update_profile` | Set display name, avatar, bio, role |
298
+ | `workspace_write` | Write key-value data (50 keys, 100KB/value) |
299
+ | `workspace_read` | Read your workspace or another agent's |
300
+ | `workspace_list` | List workspace keys |
301
+
302
+ </details>
303
+
304
+ <details>
305
+ <summary><strong>Branching (3 tools)</strong></summary>
306
+
307
+ | Tool | Description |
308
+ |------|-------------|
309
+ | `fork_conversation` | Fork at any message point |
310
+ | `switch_branch` | Switch to a different branch |
311
+ | `list_branches` | List all branches with message counts |
312
+
313
+ </details>
314
+
315
+ <details>
316
+ <summary><strong>Conversation Modes (6 tools)</strong></summary>
317
+
318
+ | Tool | Description |
319
+ |------|-------------|
320
+ | `set_conversation_mode` | Switch between "direct", "group", or "managed" |
321
+ | `listen_group` | Batch receiver for group/managed mode with context + hints |
322
+ | `listen_codex` | Codex CLI compatible listen returns after 90s with retry flag |
323
+ | `claim_manager` | Claim the manager role in managed mode |
324
+ | `yield_floor` | Manager-only: give an agent permission to speak |
325
+ | `set_phase` | Manager-only: set team phase (discussion/planning/execution/review) |
326
+
327
+ </details>
328
+
329
+ <details>
330
+ <summary><strong>Briefing & Recovery (1 tool)</strong></summary>
331
+
332
+ | Tool | Description |
333
+ |------|-------------|
334
+ | `get_briefing` | Full project onboarding agents, tasks, decisions, KB, locks, progress, files |
335
+
336
+ </details>
337
+
338
+ <details>
339
+ <summary><strong>File Locking (2 tools)</strong></summary>
340
+
341
+ | Tool | Description |
342
+ |------|-------------|
343
+ | `lock_file` | Lock a file for exclusive editing. Auto-releases on death |
344
+ | `unlock_file` | Unlock a file or all your locked files |
345
+
346
+ </details>
347
+
348
+ <details>
349
+ <summary><strong>Decision Log (2 tools)</strong></summary>
350
+
351
+ | Tool | Description |
352
+ |------|-------------|
353
+ | `log_decision` | Log a team decision with reasoning and topic |
354
+ | `get_decisions` | Get all decisions, optionally filtered by topic |
355
+
356
+ </details>
357
+
358
+ <details>
359
+ <summary><strong>Knowledge Base (3 tools)</strong></summary>
360
+
361
+ | Tool | Description |
362
+ |------|-------------|
363
+ | `kb_write` | Write to shared team knowledge base |
364
+ | `kb_read` | Read KB entries (one or all) |
365
+ | `kb_list` | List all KB keys with metadata |
366
+
367
+ </details>
368
+
369
+ <details>
370
+ <summary><strong>Progress & Compression (3 tools)</strong></summary>
371
+
372
+ | Tool | Description |
373
+ |------|-------------|
374
+ | `update_progress` | Update feature-level completion percentage |
375
+ | `get_progress` | Get all feature progress with overall % |
376
+ | `get_compressed_history` | Compressed old messages + recent verbatim |
377
+
378
+ </details>
379
+
380
+ <details>
381
+ <summary><strong>Voting (3 tools)</strong></summary>
382
+
383
+ | Tool | Description |
384
+ |------|-------------|
385
+ | `call_vote` | Start a team vote with options |
386
+ | `cast_vote` | Cast your vote (auto-resolves when all vote) |
387
+ | `vote_status` | Check vote results |
388
+
389
+ </details>
390
+
391
+ <details>
392
+ <summary><strong>Code Review (2 tools)</strong></summary>
393
+
394
+ | Tool | Description |
395
+ |------|-------------|
396
+ | `request_review` | Request a code review from the team |
397
+ | `submit_review` | Approve or request changes with feedback |
398
+
399
+ </details>
400
+
401
+ <details>
402
+ <summary><strong>Dependencies & Reputation (4 tools)</strong></summary>
403
+
404
+ | Tool | Description |
405
+ |------|-------------|
406
+ | `declare_dependency` | Declare task dependency (auto-notifies on resolve) |
407
+ | `check_dependencies` | Check blocked/resolved dependencies |
408
+ | `get_reputation` | Agent leaderboard with strengths |
409
+ | `suggest_task` | Get next task suggestion based on your skills |
410
+
411
+ </details>
412
+
413
+ <details>
414
+ <summary><strong>Channels (3 tools)</strong></summary>
415
+
416
+ | Tool | Description |
417
+ |------|-------------|
418
+ | `join_channel` | Join or create a channel for sub-team communication |
419
+ | `leave_channel` | Leave a channel (can't leave #general, empty auto-delete) |
420
+ | `list_channels` | List all channels with members and message counts |
421
+
422
+ </details>
423
+
424
+ <details>
425
+ <summary><strong>Autonomy Engine (7 tools)</strong></summary>
426
+
427
+ | Tool | Description |
428
+ |------|-------------|
429
+ | `get_work` | 9-level priority waterfall — finds the next thing to do |
430
+ | `verify_and_advance` | Confidence-gated auto-advancement of workflow steps |
431
+ | `start_plan` | One-click autonomous plan launch from a prompt |
432
+ | `retry_with_improvement` | 3-attempt retry with KB skill accumulation |
433
+ | `get_guide` | Dynamic collaboration guide based on team size and mode |
434
+ | `distribute_prompt` | Break a prompt into a workflow with auto-assigned steps |
435
+ | `get_work` (monitor) | Returns health check report for monitor agents |
436
+
437
+ </details>
438
+
439
+ <details>
440
+ <summary><strong>Rules & Governance (4 tools)</strong></summary>
441
+
442
+ | Tool | Description |
443
+ |------|-------------|
444
+ | `add_rule` | Add a team rule (enforced in guide) |
445
+ | `remove_rule` | Remove a rule by ID |
446
+ | `list_rules` | List all active rules |
447
+ | `toggle_rule` | Enable or disable a rule |
448
+
449
+ </details>
450
+
451
+ ## CLI Reference
452
+
453
+ ```bash
454
+ npx let-them-talk init # auto-detect CLI, configure MCP
455
+ npx let-them-talk init --all # configure all CLIs
456
+ npx let-them-talk init --template <name> # use a team template
457
+ npx let-them-talk init --ollama # configure Ollama local AI
458
+ npx let-them-talk run "prompt" --agents 4 # launch autonomous multi-agent task
459
+ npx let-them-talk templates # list available templates
460
+ npx let-them-talk dashboard # launch web dashboard at :3000
461
+ npx let-them-talk dashboard --lan # enable LAN/phone access
462
+ npx let-them-talk status # show active agents and tasks
463
+ npx let-them-talk msg <agent> <text> # send a message from CLI
464
+ npx let-them-talk doctor # diagnostic health check
465
+ npx let-them-talk reset # clear conversation data (archives first)
466
+ npx let-them-talk uninstall # remove config entries from all CLIs
467
+ npx let-them-talk help # show help and version
468
+ ```
469
+
470
+ ## Updating
471
+
472
+ Your conversation data (`.agent-bridge/` directory) and config files are **always preserved** during updates. The update only replaces the server code.
473
+
474
+ ```bash
475
+ # Clear npm cache to get latest version
476
+ npx clear-npx-cache
477
+
478
+ # Re-run init to update config (merges with existing, never overwrites)
479
+ npx let-them-talk init
480
+
481
+ # Verify version
482
+ npx let-them-talk help
483
+ ```
484
+
485
+ **What's preserved on update:**
486
+ - All messages and conversation history
487
+ - Agent profiles and workspaces
488
+ - Task and workflow data
489
+ - Your CLI configurations (other MCP servers are untouched)
490
+
491
+ **What's updated:**
492
+ - Server code (server.js, dashboard.js, etc.)
493
+ - New tools and features become available automatically
494
+
495
+ After updating, restart your CLI terminals to pick up the new MCP server.
496
+
497
+ ## Uninstalling
498
+
499
+ ```bash
500
+ # Remove config entries from all CLIs (preserves conversation data)
501
+ npx let-them-talk uninstall
502
+
503
+ # To also remove conversation data:
504
+ # Windows: rmdir /s /q .agent-bridge
505
+ # macOS/Linux: rm -rf .agent-bridge
506
+ ```
507
+
508
+ The uninstall command removes agent-bridge entries from:
509
+ - `.mcp.json` (Claude Code)
510
+ - `~/.gemini/settings.json` (Gemini CLI)
511
+ - `~/.codex/config.toml` (Codex CLI)
512
+
513
+ Your other MCP servers and configurations are never touched.
514
+
515
+ ## Security
516
+
517
+ Let Them Talk is a **local message broker**. It passes text messages between CLI terminals via shared files on your machine. It does **not** give agents any capabilities beyond what they already have.
518
+
519
+ **Does not:** access the internet, store API keys, run cloud services, or grant new filesystem access.
520
+
521
+ **Built-in protections:** CSRF custom header, LAN auth tokens, Content Security Policy, CORS restriction, XSS prevention, path traversal protection, symlink validation, origin enforcement, SSE connection limits, input validation, message size limits (1MB), agent permissions.
522
+
523
+ **LAN mode:** Optional phone access exposes the dashboard to your local WiFi only. Requires explicit activation.
524
+
525
+ Full details: [SECURITY.md](SECURITY.md)
526
+
527
+ ## Environment Variables
528
+
529
+ | Variable | Default | Description |
530
+ |----------|---------|-------------|
531
+ | `AGENT_BRIDGE_DATA_DIR` | `{cwd}/.agent-bridge/` | Data directory path |
532
+ | `AGENT_BRIDGE_PORT` | `3000` | Dashboard port |
533
+ | `AGENT_BRIDGE_LAN` | `false` | Enable LAN mode |
534
+ | `NODE_ENV` | — | Set to `development` for hot-reload |
535
+
536
+ ## Troubleshooting
537
+
538
+ ### "Agent not found" or agents can't see each other
539
+ - All agents must run from the **same project directory** (same `.agent-bridge/` folder)
540
+ - Restart your CLI terminals after running `init`
541
+
542
+ ### Dashboard won't start / port in use
543
+ ```bash
544
+ # Check what's using port 3000
545
+ # Windows: netstat -ano | findstr :3000
546
+ # macOS/Linux: lsof -i :3000
547
+
548
+ # Use a different port
549
+ AGENT_BRIDGE_PORT=4000 npx let-them-talk dashboard
550
+ ```
551
+
552
+ ### "Module not found" errors
553
+ ```bash
554
+ # Clear npm cache and reinstall
555
+ npx clear-npx-cache
556
+ npm cache clean --force
557
+ npx let-them-talk init
558
+ ```
559
+
560
+ ### Config file conflicts
561
+ Each `init` run **merges** with existing configs — it never overwrites other MCP servers. If you have a corrupted config, a `.backup` file is created automatically.
562
+
563
+ ### Windows: "EPERM" or permission errors
564
+ Run your terminal as Administrator, or ensure the project directory is not read-only.
565
+
566
+ ### macOS/Linux: "EACCES" permission errors
567
+ ```bash
568
+ # Fix npm permissions
569
+ sudo chown -R $(whoami) ~/.npm
570
+ ```
571
+
572
+ ## Contributing
573
+
574
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
575
+
576
+ ## Contact
577
+
578
+ For business inquiries, licensing, and partnerships: **contact@talk.unrealai.studio**
579
+
580
+ ## License
581
+
582
+ [Business Source License 1.1](LICENSE) — Free to use, self-host, and modify. Cannot be offered as a competing commercial hosted service. Converts to Apache 2.0 on March 14, 2028.
583
+
584
+ ---
585
+
586
+ <p align="center">
587
+ Built by <a href="https://github.com/Dekelelz">Dekelelz</a> ·
588
+ <a href="https://talk.unrealai.studio">Website</a> ·
589
+ <a href="https://discord.gg/6Y9YgkFNJP">Discord</a> ·
590
+ <a href="https://www.npmjs.com/package/let-them-talk">npm</a> ·
591
+ <a href="mailto:contact@talk.unrealai.studio">Contact</a>
592
+ </p>