# amr-ai/meeting-agent architecture

> Architecture diagram of the GitHub repository amr-ai/meeting-agent, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/amr-ai/meeting-agent
- Repository: https://github.com/amr-ai/meeting-agent

## Overview

Meeting Voice Agent joins supported video meetings as a persona-driven voice teammate. Participants address it by name; it answers using live and stored meeting context, and can invoke requested tools such as research, chat, screen understanding, or approved-repository browsing. The graph preserves documented capabilities whose implementation excerpts were not available; those relationships are cited to the README rather than presented as inspected source. Optional integrations are shown separately.

Main entry points: [`app/agent/worker.py`](https://github.com/amr-ai/meeting-agent/blob/main/app/agent/worker.py) (Voice worker), [`app/meeting/chat/service.py`](https://github.com/amr-ai/meeting-agent/blob/main/app/meeting/chat/service.py) (Meeting chat service), [`app/memory/context.py`](https://github.com/amr-ai/meeting-agent/blob/main/app/memory/context.py) (Live meeting context), [`app/main.py`](https://github.com/amr-ai/meeting-agent/blob/main/app/main.py) (Dashboard and API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_meeting["Meeting lifecycle"]
  node_dashboard["Dashboard and API<br/>[main.py]"]
  node_platforms["Meet, Zoom, Teams"]
  node_recall["Recall meeting service<br/>[recall.py]"]
  node_livekit["LiveKit audio<br/>[livekit.py]"]
end

subgraph group_voice["Voice agent"]
  node_worker["Voice worker<br/>[worker.py]"]
  node_personas["Persona definitions<br/>[personas.py]"]
  node_gate["Addressing and turn gate<br/>[gating.py]"]
  node_voice_runtime["Voice runtime<br/>[runtime.py]"]
end

subgraph group_context["Context and storage"]
  node_memory["Live meeting context<br/>[context.py]"]
  node_live_memory["Live memory<br/>[live.py]"]
  node_archive["Meeting archive<br/>[archive.py]"]
  node_store[("SQLite meeting store<br/>[sqlite.py]")]
  node_history["Bounded history retrieval<br/>[history.py]"]
  node_postgres[("Optional Supabase catalog<br/>[postgres.py]")]
end

subgraph group_tools["Participant tools"]
  node_chat["Meeting chat service<br/>[service.py]"]
  node_chat_store[("Chat repository<br/>[chat_repository.py]")]
  node_research["Web research<br/>[search.py]"]
  node_research_chat["Research-to-chat workflow<br/>[research_chat.py]"]
  node_screen["Shared-screen understanding<br/>[workflow.py]"]
  node_catalog["Project catalog queries<br/>[catalog.py]"]
end

subgraph group_browser["Browser and sharing"]
  node_browser_voice["Voice browser tools<br/>[browser_tools.py]"]
  node_browser_service["Approved browser sessions<br/>[service.py]"]
  node_browser_session["Isolated browser session<br/>[session.py]"]
  node_browser_sandbox["Browser sandbox<br/>[sandbox.py]"]
  node_presentation["Presentation and screen share<br/>[recall_share.py]"]
end

node_participant(("Meeting participants"))

node_participant -->|"selects persona"| node_dashboard
node_dashboard -->|"joins meeting"| node_recall
node_recall -->|"supplies meeting media"| node_platforms
node_worker -->|"connects audio"| node_livekit
node_worker -->|"uses persona"| node_personas
node_participant -->|"addresses by name"| node_worker
node_worker -->|"checks addressed turns"| node_gate
node_worker -.->|"runs voice session"| node_voice_runtime
node_worker -.->|"uses meeting context"| node_memory
node_memory -->|"reads meeting state"| node_store
node_memory -->|"retrieves archived context"| node_archive
node_memory -->|"retrieves older discussion"| node_history
node_dashboard -->|"stores live state"| node_store
node_worker -->|"provides chat tools"| node_chat
node_chat -->|"persists messages"| node_chat_store
node_chat -->|"runs durable research jobs"| node_research_chat
node_research_chat -->|"searches public web"| node_research
node_research_chat -->|"sends result"| node_chat
node_worker -->|"offers screen reading"| node_screen
node_worker -->|"queries catalog"| node_catalog
node_catalog -->|"reads owner-scoped data"| node_postgres
node_worker -->|"offers browsing tools"| node_browser_voice
node_browser_voice -->|"controls sessions"| node_browser_service
node_browser_service -->|"creates sessions"| node_browser_session
node_browser_session -->|"fetches approved pages"| node_browser_sandbox
node_browser_session -.->|"provides viewport"| node_presentation
node_presentation -->|"shares Meet output"| node_recall
node_participant -->|"sends meeting messages"| node_chat

click node_dashboard "https://github.com/amr-ai/meeting-agent/blob/main/app/main.py"
click node_recall "https://github.com/amr-ai/meeting-agent/blob/main/app/integrations/recall.py"
click node_livekit "https://github.com/amr-ai/meeting-agent/blob/main/app/integrations/livekit.py"
click node_worker "https://github.com/amr-ai/meeting-agent/blob/main/app/agent/worker.py"
click node_personas "https://github.com/amr-ai/meeting-agent/blob/main/app/agent/personas.py"
click node_gate "https://github.com/amr-ai/meeting-agent/blob/main/app/agent/gating.py"
click node_voice_runtime "https://github.com/amr-ai/meeting-agent/blob/main/app/voice/runtime.py"
click node_memory "https://github.com/amr-ai/meeting-agent/blob/main/app/memory/context.py"
click node_live_memory "https://github.com/amr-ai/meeting-agent/blob/main/app/memory/live.py"
click node_archive "https://github.com/amr-ai/meeting-agent/blob/main/app/memory/archive.py"
click node_store "https://github.com/amr-ai/meeting-agent/blob/main/app/storage/sqlite.py"
click node_history "https://github.com/amr-ai/meeting-agent/blob/main/app/storage/history.py"
click node_chat "https://github.com/amr-ai/meeting-agent/blob/main/app/meeting/chat/service.py"
click node_chat_store "https://github.com/amr-ai/meeting-agent/blob/main/app/storage/chat_repository.py"
click node_research "https://github.com/amr-ai/meeting-agent/blob/main/app/workflows/search.py"
click node_research_chat "https://github.com/amr-ai/meeting-agent/blob/main/app/workflows/research_chat.py"
click node_screen "https://github.com/amr-ai/meeting-agent/blob/main/app/screen/workflow.py"
click node_catalog "https://github.com/amr-ai/meeting-agent/blob/main/app/agent/catalog.py"
click node_browser_voice "https://github.com/amr-ai/meeting-agent/blob/main/app/agent/browser_tools.py"
click node_browser_service "https://github.com/amr-ai/meeting-agent/blob/main/app/browser/service.py"
click node_browser_session "https://github.com/amr-ai/meeting-agent/blob/main/app/browser/session.py"
click node_browser_sandbox "https://github.com/amr-ai/meeting-agent/blob/main/app/browser/sandbox.py"
click node_presentation "https://github.com/amr-ai/meeting-agent/blob/main/app/browser/recall_share.py"
click node_postgres "https://github.com/amr-ai/meeting-agent/blob/main/app/storage/postgres.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dashboard,node_platforms,node_recall,node_livekit toneBlue
class node_worker,node_personas,node_gate,node_voice_runtime toneAmber
class node_memory,node_live_memory,node_archive,node_store,node_history,node_postgres toneMint
class node_chat,node_chat_store,node_research,node_research_chat,node_screen,node_catalog toneRose
class node_browser_voice,node_browser_service,node_browser_session,node_browser_sandbox,node_presentation,node_participant toneIndigo
```

## Components

### Meeting lifecycle

- [Dashboard and API](https://github.com/amr-ai/meeting-agent/blob/main/app/main.py): `app/main.py`
- **Meet, Zoom, Teams**
- [Recall meeting service](https://github.com/amr-ai/meeting-agent/blob/main/app/integrations/recall.py): `app/integrations/recall.py`
- [LiveKit audio](https://github.com/amr-ai/meeting-agent/blob/main/app/integrations/livekit.py): `app/integrations/livekit.py`

### Voice agent

- [Voice worker](https://github.com/amr-ai/meeting-agent/blob/main/app/agent/worker.py): `app/agent/worker.py`
- [Persona definitions](https://github.com/amr-ai/meeting-agent/blob/main/app/agent/personas.py): `app/agent/personas.py`
- [Addressing and turn gate](https://github.com/amr-ai/meeting-agent/blob/main/app/agent/gating.py): `app/agent/gating.py`
- [Voice runtime](https://github.com/amr-ai/meeting-agent/blob/main/app/voice/runtime.py): `app/voice/runtime.py`

### Context and storage

- [Live meeting context](https://github.com/amr-ai/meeting-agent/blob/main/app/memory/context.py): `app/memory/context.py`
- [Live memory](https://github.com/amr-ai/meeting-agent/blob/main/app/memory/live.py): `app/memory/live.py`
- [Meeting archive](https://github.com/amr-ai/meeting-agent/blob/main/app/memory/archive.py): `app/memory/archive.py`
- [SQLite meeting store](https://github.com/amr-ai/meeting-agent/blob/main/app/storage/sqlite.py): `app/storage/sqlite.py`
- [Bounded history retrieval](https://github.com/amr-ai/meeting-agent/blob/main/app/storage/history.py): `app/storage/history.py`
- [Optional Supabase catalog](https://github.com/amr-ai/meeting-agent/blob/main/app/storage/postgres.py): `app/storage/postgres.py`

### Participant tools

- [Meeting chat service](https://github.com/amr-ai/meeting-agent/blob/main/app/meeting/chat/service.py): `app/meeting/chat/service.py`
- [Chat repository](https://github.com/amr-ai/meeting-agent/blob/main/app/storage/chat_repository.py): `app/storage/chat_repository.py`
- [Web research](https://github.com/amr-ai/meeting-agent/blob/main/app/workflows/search.py): `app/workflows/search.py`
- [Research-to-chat workflow](https://github.com/amr-ai/meeting-agent/blob/main/app/workflows/research_chat.py): `app/workflows/research_chat.py`
- [Shared-screen understanding](https://github.com/amr-ai/meeting-agent/blob/main/app/screen/workflow.py): `app/screen/workflow.py`
- [Project catalog queries](https://github.com/amr-ai/meeting-agent/blob/main/app/agent/catalog.py): `app/agent/catalog.py`

### Browser and sharing

- [Voice browser tools](https://github.com/amr-ai/meeting-agent/blob/main/app/agent/browser_tools.py): `app/agent/browser_tools.py`
- [Approved browser sessions](https://github.com/amr-ai/meeting-agent/blob/main/app/browser/service.py): `app/browser/service.py`
- [Isolated browser session](https://github.com/amr-ai/meeting-agent/blob/main/app/browser/session.py): `app/browser/session.py`
- [Browser sandbox](https://github.com/amr-ai/meeting-agent/blob/main/app/browser/sandbox.py): `app/browser/sandbox.py`
- [Presentation and screen share](https://github.com/amr-ai/meeting-agent/blob/main/app/browser/recall_share.py): `app/browser/recall_share.py`

### Other components

- **Meeting participants**

## Connections

- Meeting participants → Dashboard and API: selects persona
- Dashboard and API → Recall meeting service: joins meeting (evidence: `app/main.py`)
- Recall meeting service → Meet, Zoom, Teams: supplies meeting media
- Voice worker → LiveKit audio: connects audio (evidence: `app/agent/worker.py`)
- Voice worker → Persona definitions: uses persona (evidence: `app/agent/worker.py`)
- Meeting participants → Voice worker: addresses by name
- Voice worker → Addressing and turn gate: checks addressed turns (evidence: `app/agent/worker.py`)
- Voice worker → Voice runtime: runs voice session (evidence: `app/agent/worker.py`)
- Voice worker → Live meeting context: uses meeting context
- Live meeting context → SQLite meeting store: reads meeting state (evidence: `app/memory/context.py`)
- Live meeting context → Meeting archive: retrieves archived context (evidence: `app/memory/context.py`)
- Live meeting context → Bounded history retrieval: retrieves older discussion
- Dashboard and API → SQLite meeting store: stores live state (evidence: `app/main.py`)
- Voice worker → Meeting chat service: provides chat tools (evidence: `app/agent/worker.py`)
- Meeting chat service → Chat repository: persists messages (evidence: `app/meeting/chat/service.py`)
- Meeting chat service → Research-to-chat workflow: runs durable research jobs (evidence: `app/meeting/chat/service.py`)
- Research-to-chat workflow → Web research: searches public web (evidence: `app/workflows/research_chat.py`)
- Research-to-chat workflow → Meeting chat service: sends result (evidence: `app/workflows/research_chat.py`)
- Voice worker → Shared-screen understanding: offers screen reading
- Voice worker → Project catalog queries: queries catalog (evidence: `app/agent/worker.py`)
- Project catalog queries → Optional Supabase catalog: reads owner-scoped data
- Voice worker → Voice browser tools: offers browsing tools (evidence: `app/agent/worker.py`)
- Voice browser tools → Approved browser sessions: controls sessions (evidence: `app/agent/browser_tools.py`)
- Approved browser sessions → Isolated browser session: creates sessions (evidence: `app/browser/service.py`)
- Isolated browser session → Browser sandbox: fetches approved pages (evidence: `app/browser/service.py`)
- Isolated browser session → Presentation and screen share: provides viewport
- Presentation and screen share → Recall meeting service: shares Meet output
- Meeting participants → Meeting chat service: sends meeting messages
