let-them-talk 5.3.0 → 5.4.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/CHANGELOG.md +3 -1
- package/README.md +158 -592
- package/SECURITY.md +3 -3
- package/USAGE.md +151 -0
- package/agent-contracts.js +447 -0
- package/api-agents.js +760 -0
- package/autonomy/decision-v2.js +380 -0
- package/autonomy/watchdog-policy.js +572 -0
- package/cli.js +454 -298
- package/conversation-templates/autonomous-feature.json +83 -22
- package/conversation-templates/code-review.json +69 -21
- package/conversation-templates/debug-squad.json +69 -21
- package/conversation-templates/feature-build.json +69 -21
- package/conversation-templates/research-write.json +69 -21
- package/dashboard.html +3148 -174
- package/dashboard.js +823 -786
- package/data-dir.js +58 -0
- package/docs/architecture/branch-semantics.md +157 -0
- package/docs/architecture/canonical-event-schema.md +88 -0
- package/docs/architecture/markdown-workspace.md +183 -0
- package/docs/architecture/runtime-contract.md +459 -0
- package/docs/architecture/runtime-migration-hardening.md +64 -0
- package/events/hooks.js +154 -0
- package/events/log.js +457 -0
- package/events/replay.js +33 -0
- package/events/schema.js +432 -0
- package/managed-team-integration.js +261 -0
- package/office/agents.js +704 -597
- package/office/animation.js +1 -1
- package/office/assets/arcade-cabinet.js +141 -0
- package/office/assets/archway.js +77 -0
- package/office/assets/bar-counter.js +91 -0
- package/office/assets/bar-stool.js +71 -0
- package/office/assets/beanbag.js +64 -0
- package/office/assets/bench.js +99 -0
- package/office/assets/bollard.js +87 -0
- package/office/assets/cactus.js +100 -0
- package/office/assets/carpet-tile.js +46 -0
- package/office/assets/chair.js +123 -0
- package/office/assets/chandelier.js +107 -0
- package/office/assets/coffee-machine.js +95 -0
- package/office/assets/coffee-table.js +81 -0
- package/office/assets/column.js +95 -0
- package/office/assets/desk-lamp.js +102 -0
- package/office/assets/desk.js +76 -0
- package/office/assets/dining-table.js +105 -0
- package/office/assets/door.js +70 -0
- package/office/assets/dual-monitor.js +72 -0
- package/office/assets/fence.js +76 -0
- package/office/assets/filing-cabinet.js +111 -0
- package/office/assets/floor-lamp.js +69 -0
- package/office/assets/floor-tile.js +54 -0
- package/office/assets/flower-pot.js +76 -0
- package/office/assets/foosball.js +95 -0
- package/office/assets/fridge.js +99 -0
- package/office/assets/gaming-chair.js +154 -0
- package/office/assets/gaming-desk.js +105 -0
- package/office/assets/glass-door.js +72 -0
- package/office/assets/glass-wall.js +64 -0
- package/office/assets/half-wall.js +49 -0
- package/office/assets/hanging-plant.js +112 -0
- package/office/assets/index.js +151 -0
- package/office/assets/indoor-tree.js +90 -0
- package/office/assets/l-sofa.js +153 -0
- package/office/assets/marble-floor.js +64 -0
- package/office/assets/materials.js +40 -0
- package/office/assets/meeting-table.js +88 -0
- package/office/assets/microwave.js +94 -0
- package/office/assets/monitor.js +67 -0
- package/office/assets/neon-strip.js +73 -0
- package/office/assets/painting.js +84 -0
- package/office/assets/palm-tree.js +108 -0
- package/office/assets/pc-tower.js +91 -0
- package/office/assets/pendant-light.js +67 -0
- package/office/assets/ping-pong.js +114 -0
- package/office/assets/plant.js +72 -0
- package/office/assets/planter-box.js +95 -0
- package/office/assets/pool-table.js +94 -0
- package/office/assets/printer.js +113 -0
- package/office/assets/reception-desk.js +133 -0
- package/office/assets/rug.js +78 -0
- package/office/assets/sculpture.js +85 -0
- package/office/assets/server-rack.js +98 -0
- package/office/assets/sink.js +109 -0
- package/office/assets/sofa.js +106 -0
- package/office/assets/speaker.js +83 -0
- package/office/assets/spotlight.js +83 -0
- package/office/assets/street-lamp.js +97 -0
- package/office/assets/trash-can.js +83 -0
- package/office/assets/treadmill.js +126 -0
- package/office/assets/trophy.js +89 -0
- package/office/assets/tv-screen.js +79 -0
- package/office/assets/vase.js +84 -0
- package/office/assets/wall-clock.js +84 -0
- package/office/assets/wall.js +53 -0
- package/office/assets/water-cooler.js +146 -0
- package/office/assets/whiteboard.js +115 -0
- package/office/assets.js +3 -431
- package/office/builder.js +791 -355
- package/office/campus-env.js +1012 -1119
- package/office/environment.js +2 -0
- package/office/gallery.js +997 -0
- package/office/index.js +165 -61
- package/office/navigation.js +173 -152
- package/office/player.js +178 -68
- package/office/robot-character.js +272 -0
- package/office/spectator-camera.js +33 -10
- package/office/state.js +2 -0
- package/office/world-save.js +35 -4
- package/package.json +57 -3
- package/providers/comfyui.js +383 -0
- package/providers/dalle.js +79 -0
- package/providers/gemini.js +181 -0
- package/providers/ollama.js +184 -0
- package/providers/replicate.js +115 -0
- package/providers/zai.js +183 -0
- package/runtime-descriptor.js +270 -0
- package/scripts/check-agent-contract-advisory.js +132 -0
- package/scripts/check-api-agent-parity.js +277 -0
- package/scripts/check-autonomy-v2-decision.js +207 -0
- package/scripts/check-autonomy-v2-execution.js +588 -0
- package/scripts/check-autonomy-v2-watchdog.js +224 -0
- package/scripts/check-branch-fork-snapshot.js +337 -0
- package/scripts/check-branch-isolation.js +787 -0
- package/scripts/check-branch-semantics.js +139 -0
- package/scripts/check-dashboard-control-plane.js +1304 -0
- package/scripts/check-docs-onboarding.js +490 -0
- package/scripts/check-event-schema.js +276 -0
- package/scripts/check-evidence-completion.js +239 -0
- package/scripts/check-invariants.js +992 -0
- package/scripts/check-lifecycle-hooks.js +525 -0
- package/scripts/check-managed-team-integration.js +166 -0
- package/scripts/check-markdown-workspace-export.js +548 -0
- package/scripts/check-markdown-workspace-safety.js +347 -0
- package/scripts/check-markdown-workspace.js +136 -0
- package/scripts/check-message-replay.js +429 -0
- package/scripts/check-migration-hardening.js +300 -0
- package/scripts/check-performance-indexing.js +272 -0
- package/scripts/check-provider-capabilities.js +316 -0
- package/scripts/check-runtime-contract.js +109 -0
- package/scripts/check-session-aware-context.js +172 -0
- package/scripts/check-session-lifecycle.js +210 -0
- package/scripts/export-markdown-workspace.js +84 -0
- package/scripts/fixtures/message-replay/clean.jsonl +2 -0
- package/scripts/fixtures/message-replay/corrupt-correction-payload.jsonl +1 -0
- package/scripts/fixtures/message-replay/corrupt-jsonl.jsonl +1 -0
- package/scripts/fixtures/message-replay/corrupt-payload.jsonl +1 -0
- package/scripts/fixtures/message-replay/out-of-order.jsonl +2 -0
- package/scripts/migrate-legacy-to-canonical.js +201 -0
- package/scripts/run-verification-suite.js +242 -0
- package/scripts/sync-packaged-docs.js +69 -0
- package/server.js +9546 -7216
- package/state/agents.js +161 -0
- package/state/canonical.js +3068 -0
- package/state/dashboard-queries.js +441 -0
- package/state/evidence.js +56 -0
- package/state/io.js +69 -0
- package/state/markdown-workspace.js +951 -0
- package/state/messages.js +669 -0
- package/state/sessions.js +683 -0
- package/state/tasks-workflows.js +92 -0
- package/templates/debate.json +2 -2
- package/templates/managed.json +4 -4
- package/templates/pair.json +2 -2
- package/templates/review.json +2 -2
- package/templates/team.json +3 -3
package/README.md
CHANGED
|
@@ -1,592 +1,158 @@
|
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
##
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
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>
|
|
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
|
+
Local multi-agent collaboration for AI CLI terminals and API adapters.
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
Let Them Talk is a local MCP broker and operator dashboard. Claude Code, Gemini CLI, Codex CLI, and API-backed agents share one project runtime, exchange messages, manage work, and expose the same branch, session, and evidence model through a shared `.agent-bridge/` directory.
|
|
12
|
+
|
|
13
|
+
## Quick start
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx let-them-talk init
|
|
17
|
+
node .agent-bridge/launch.js
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
In each agent terminal:
|
|
21
|
+
|
|
22
|
+
1. Register an agent name.
|
|
23
|
+
2. Call `get_briefing()` if you are joining existing work.
|
|
24
|
+
3. Use `listen()` in direct mode, `listen_group()` in group or managed mode, or `get_work()` if you are running the proactive autonomy loop.
|
|
25
|
+
|
|
26
|
+
## Current runtime model
|
|
27
|
+
|
|
28
|
+
- Canonical runtime state is broker-owned and event-backed under `.agent-bridge/runtime/`.
|
|
29
|
+
- Legacy JSON and JSONL files remain compatibility projections during migration. They are not the authority model.
|
|
30
|
+
- The runtime contract treats branches as full-context namespaces. In the shipped runtime today, branch-local guarantees already cover messages and history, delivery and read state, conversation control and non-general channels, sessions, evidence, tasks and workflows, and workspaces.
|
|
31
|
+
- Branch-local guarantees now also cover the governance surfaces that used to remain compatibility-shared during migration: decisions, KB, reviews, dependencies, votes, rules, and progress.
|
|
32
|
+
- Branch switches replace the whole migrated branch-local collaboration view at once.
|
|
33
|
+
- Sessions are tied to one agent on one branch. Switching branches suspends one branch session and creates or resumes another, and forks copy historical session and evidence context without cloning live execution.
|
|
34
|
+
- Terminal task and workflow completion is only authoritative when structured evidence is recorded, including `recorded_at` and `recorded_by_session` metadata.
|
|
35
|
+
- Markdown workspace export writes to `.agent-bridge-markdown/` and stays non-authoritative. Editing exported markdown does not change runtime state.
|
|
36
|
+
|
|
37
|
+
Packaged docs and architecture references:
|
|
38
|
+
|
|
39
|
+
- `USAGE.md`
|
|
40
|
+
- `docs/architecture/runtime-contract.md`
|
|
41
|
+
- `docs/architecture/branch-semantics.md`
|
|
42
|
+
- `docs/architecture/canonical-event-schema.md`
|
|
43
|
+
- `docs/architecture/markdown-workspace.md`
|
|
44
|
+
- `docs/architecture/runtime-migration-hardening.md`
|
|
45
|
+
|
|
46
|
+
## Command surface
|
|
47
|
+
|
|
48
|
+
Setup:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
npx let-them-talk init
|
|
52
|
+
npx let-them-talk init --claude
|
|
53
|
+
npx let-them-talk init --gemini
|
|
54
|
+
npx let-them-talk init --codex
|
|
55
|
+
npx let-them-talk init --all
|
|
56
|
+
npx let-them-talk init --ollama
|
|
57
|
+
npx let-them-talk init --template <name>
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
After init, prefer the local launcher that was written into the project:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
node .agent-bridge/launch.js
|
|
64
|
+
node .agent-bridge/launch.js --lan
|
|
65
|
+
node .agent-bridge/launch.js status
|
|
66
|
+
node .agent-bridge/launch.js msg <agent> <text>
|
|
67
|
+
node .agent-bridge/launch.js reset
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Other packaged CLI helpers:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npx let-them-talk dashboard
|
|
74
|
+
npx let-them-talk status
|
|
75
|
+
npx let-them-talk templates
|
|
76
|
+
npx let-them-talk uninstall
|
|
77
|
+
npx let-them-talk help
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Template inventory
|
|
81
|
+
|
|
82
|
+
Agent templates shipped today:
|
|
83
|
+
|
|
84
|
+
- `pair`
|
|
85
|
+
- `team`
|
|
86
|
+
- `review`
|
|
87
|
+
- `debate`
|
|
88
|
+
- `managed`
|
|
89
|
+
|
|
90
|
+
Conversation templates shipped today:
|
|
91
|
+
|
|
92
|
+
- `autonomous-feature`
|
|
93
|
+
- `code-review`
|
|
94
|
+
- `debug-squad`
|
|
95
|
+
- `feature-build`
|
|
96
|
+
- `research-write`
|
|
97
|
+
|
|
98
|
+
## Runtime descriptors and provider capabilities
|
|
99
|
+
|
|
100
|
+
API-backed agents persist an explicit runtime descriptor with these fields:
|
|
101
|
+
|
|
102
|
+
- `runtime_type`
|
|
103
|
+
- `provider_id`
|
|
104
|
+
- `model_id`
|
|
105
|
+
- `capabilities`
|
|
106
|
+
|
|
107
|
+
Supported capability tokens today:
|
|
108
|
+
|
|
109
|
+
- `chat`
|
|
110
|
+
- `vision`
|
|
111
|
+
- `image_generation`
|
|
112
|
+
- `video_generation`
|
|
113
|
+
- `texture_generation`
|
|
114
|
+
|
|
115
|
+
Legacy `provider`, `provider_color`, and `bot_capability` fields remain compatibility projections over that descriptor.
|
|
116
|
+
|
|
117
|
+
## Markdown workspace export
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
npm run export:markdown-workspace
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Default export root is `<project>/.agent-bridge-markdown/`. Exported files declare `authoritative: false` in frontmatter. The export is one-way only. There is no markdown write-back, watcher loop, or import path in the current runtime.
|
|
124
|
+
|
|
125
|
+
When a source surface is still compatibility-shared or main-only, export stays truthful by emitting it only for `main` or omitting it. The exporter does not fabricate non-main branch copies from shared state.
|
|
126
|
+
|
|
127
|
+
## Verification
|
|
128
|
+
|
|
129
|
+
From this package directory:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
npm test
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Grouped package commands:
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
npm run verify
|
|
139
|
+
npm run verify:contracts
|
|
140
|
+
npm run verify:replay
|
|
141
|
+
npm run verify:invariants
|
|
142
|
+
npm run verify:smoke
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
Current grouped coverage:
|
|
146
|
+
|
|
147
|
+
- `verify:contracts` checks the runtime contract, canonical event schema, branch semantics, and markdown workspace contract.
|
|
148
|
+
- `verify:replay` checks healthy and clean replay plus expected-failure negative replay scenarios.
|
|
149
|
+
- `verify:invariants` checks authority routing, dashboard control plane behavior, performance and indexing, provider capabilities, API-agent parity, dashboard semantic-gap coverage, migration hardening, branch isolation, session lifecycle, evidence-backed completion, session-aware context, autonomy v2, advisory contracts, managed-team integration, lifecycle hooks, and markdown workspace export and safety.
|
|
150
|
+
- `verify:smoke` runs a representative subset, including the dashboard semantic-gap check.
|
|
151
|
+
|
|
152
|
+
Coverage is still partial. The suite does not claim a full provider or runtime matrix, and it does not include browser automation.
|
|
153
|
+
|
|
154
|
+
## Security and license
|
|
155
|
+
|
|
156
|
+
Security notes live in `SECURITY.md`.
|
|
157
|
+
|
|
158
|
+
License: [Business Source License 1.1](LICENSE)
|