diff --git a/README.md b/README.md index e364fd0..06c00b1 100644 --- a/README.md +++ b/README.md @@ -107,41 +107,24 @@ flowchart LR Dev["Engineer browser
React PWA + screen share"] subgraph DO["DigitalOcean droplet — systemd-supervised"] - Caddy["Caddy
serves static frontend · proxies /api"] - API["API service
/api/token · /api/pods · /api/outcome"] - Agent["Vision agent worker
@livekit/rtc-node"] - Detector["Coordination detector
collisions + blockers"] - Hermes["Hermes action layer
cards · messages · urgent voice"] - PyAgent["Live conversation agent
LiveKit Agents (Python)"] + WebApi["Caddy + API service
static app · /api · LiveKit tokens"] + Agent["Vision agent worker"] + Coord["Hermes coordinator
detects clashes · intervenes"] + PyAgent["Live conversation agent
(Python)"] end - subgraph LK["LiveKit room — managed cloud"] - Tracks["Screen-share video tracks"] - DataCh["Data topic
podman.intervention"] - AudioCh["Audio tracks
TTS + Lyria music"] - end + LK["LiveKit room
managed cloud"] + Mongo[("MongoDB Atlas
team memory")] - Mongo[("MongoDB Atlas
observations · collisions
interventions · outcomes · vectors")] - - Dev -->|static assets| Caddy - Dev -->|"POST /api/*"| Caddy --> API - API -->|LiveKit JWT| Dev - Dev -->|publish screen| Tracks - - Agent -->|subscribe frames| Tracks - Agent --> Detector --> Hermes - Hermes -->|cards / messages| DataCh - Hermes -->|urgent voice| AudioCh - PyAgent <-->|join room · speak| AudioCh - DataCh --> Dev - AudioCh --> Dev - Dev -->|"POST /api/outcome"| Caddy - - API <--> Mongo - Agent -->|write observations| Mongo - Detector -->|read recall · write collisions| Mongo - Hermes -->|write interventions| Mongo - PyAgent -->|tool reads| Mongo + Dev -->|"open app · get token"| WebApi + Dev <-->|"live screens + voice"| LK + LK -->|"pre-commit work signal"| Agent --> Coord + Coord -->|"nudge before duplicate work / clash"| LK + LK -->|"cards + spoken alerts"| Dev + PyAgent <-->|"answer questions by voice"| LK + Coord -->|"learn from every outcome"| Mongo + PyAgent -->|"recall team context"| Mongo + WebApi <-->|"pods + outcomes"| Mongo ``` > Mongo connectivity is **required at boot** — the API and both agents ping Atlas