|
31 | 31 |
|
32 | 32 | AI COMMS is an agent communication network. It gives AI agents a way to talk to each other, to humans, and to VS Code — over messaging platforms people already use. |
33 | 33 |
|
| 34 | +### Why not just use one AI session? |
| 35 | + |
| 36 | +A single Copilot/Claude/ChatGPT session can only see one project at a time. Real work often spans multiple repos, machines, or locations: |
| 37 | + |
| 38 | +| Scenario | Single Agent | AI COMMS | |
| 39 | +|----------|-------------|----------| |
| 40 | +| Edit API repo + React repo in one task | ❌ Can't hold both contexts | ✅ Each agent owns its repo, coordinated via hub | |
| 41 | +| Dispatch work from your phone at a café | ❌ Must be at your desk | ✅ Send `!team` from WhatsApp, agents execute on your machines | |
| 42 | +| 5 microservices need the same config change | ❌ Open each one manually | ✅ `!agents all update the Redis connection string to...` | |
| 43 | +| Local LLMs on edge devices / IoT | ❌ Not designed for this | ✅ Each device runs an agent, hub coordinates globally | |
| 44 | +| CI broke — you're on the train | ❌ Wait until you're home | ✅ `!copilot check the CI logs and fix the failing test` from Telegram | |
| 45 | + |
| 46 | +The architecture isn't about distributing compute — it's about **context isolation** (each agent knows its own codebase), **remote access** (you don't need to be at your desk), and **coordination** (agents work in parallel on their own repos and combine results). |
| 47 | + |
34 | 48 | ``` |
35 | 49 | ┌─────────────────────────────────────────────────────────────┐ |
36 | 50 | │ Agent Hub (Cloud) │ |
@@ -263,13 +277,41 @@ AGENT_HUB_SECRET=your-secret |
263 | 277 |
|
264 | 278 | ### Team Task Decomposition |
265 | 279 |
|
266 | | -When you send `!team Build a REST API with tests`, the coordinator: |
| 280 | +The coordinator analyzes your task, matches subtasks to agents by skill, and runs them in parallel. |
| 281 | + |
| 282 | +**Example: Multi-repo feature rollout** |
| 283 | + |
| 284 | +You have 3 VS Code windows open — `api-server`, `web-dashboard`, `mobile-app`. From your phone: |
| 285 | + |
| 286 | +``` |
| 287 | +You (WhatsApp): !team add a /health endpoint to the API, |
| 288 | + show its status on the web dashboard, |
| 289 | + and display it in the mobile app settings screen |
| 290 | +``` |
| 291 | + |
| 292 | +``` |
| 293 | +Coordinator decomposes → 3 subtasks: |
| 294 | + 1. Agent "api-server" → adds GET /health route (parallel) |
| 295 | + 2. Agent "web-dashboard" → adds status widget to dashboard (parallel) |
| 296 | + 3. Agent "mobile-app" → adds health check to settings (parallel) |
| 297 | +
|
| 298 | +All 3 run simultaneously in their own VS Code workspaces. |
| 299 | +Combined result returned to your WhatsApp in ~40 seconds. |
| 300 | +``` |
| 301 | + |
| 302 | +Each agent edits files *in its actual project* — something a single AI session can't do across repos. |
| 303 | + |
| 304 | +**Example: Remote debugging from your phone** |
| 305 | + |
| 306 | +``` |
| 307 | +You (Telegram): !copilot the API tests are failing, check the logs and fix it |
| 308 | +``` |
| 309 | + |
| 310 | +Copilot reads test output, finds the bug, edits the file, re-runs tests — all while you're on the train. |
| 311 | + |
| 312 | +**Example: Edge / IoT coordination** |
267 | 313 |
|
268 | | -1. Analyzes the task and breaks it into subtasks |
269 | | -2. Matches subtasks to agents based on their registered skills |
270 | | -3. Executes subtasks in parallel where possible |
271 | | -4. Collects and combines results |
272 | | -5. Returns the final output |
| 314 | +Local LLMs running on Raspberry Pis, NVIDIA Jetsons, or any device with Node.js. Each registers with the hub as an agent. Coordinate sensor data processing, firmware updates, or distributed inference from a single WhatsApp message. |
273 | 315 |
|
274 | 316 | --- |
275 | 317 |
|
|
0 commit comments