Real-Time Collaborative Generation of Meeting Documents and Action Items: A Technical Architecture

    This article explores an architecture in which AI participates in meetings as a visible attendee and continuously converts live discussion into structured artifacts such as documents, tables, and whiteboards. It contrasts traditional post-meeting transcription tools with a “digital colleague” model, then covers streaming and session-state management, intent detection, retries, confidence filtering, latency budgets, schema-constrained multimodal output, and the permissions and acceptance considerations involved in enterprise deployment.

    Introduction

    Meetings are often considered one of the most inefficient parts of enterprise work. Teams meet frequently to align on goals, but meeting notes, action items, and documents often require someone to spend hours organizing them afterward. Most recent meeting AI tools can transcribe speech, but they struggle to make the outputs take shape during the meeting itself.

    This article discusses an architecture that lets AI work as a meeting participant. During the meeting, the AI synchronously generates documents, whiteboards, and tables, and the team can discuss while editing the same output. The article explains the engineering problems this approach must solve and how enterprises should validate it when deploying it.

    1. Differences Between Traditional Meeting AI and the “Digital Colleague” Model

    Most meeting AI tools exist as video-conferencing plugins or standalone services. Their core capabilities are automatic speech recognition (ASR) and post-meeting summaries. Their workflow is asynchronous with the team collaboration process. While the meeting is in progress, participants cannot see the AI’s output or modify it during the meeting. After the meeting, manual review and supplementation are still required.

    The “digital colleague” model places AI inside the meeting’s collaboration channel. The AI joins as a visible virtual participant and continuously converts discussion into structured output. Participants can accept, modify, or delete this content during the meeting. The main differences between the two models are as follows.

    Dimension Traditional meeting transcription tool Digital colleague model
    Participation Observes and records from the backend Joins as a visible participant and works in the collaboration panel
    Output form Mainly plain-text meeting notes Structured content such as document blocks, table rows, and whiteboard nodes
    Feedback latency Results are visible only after the meeting Drafts are visible during discussion, with a target latency of seconds
    Human intervention Post-meeting editing and organization Accept, modify, or undo during the meeting
    Post-meeting cleanup cost Still relatively high Drafts are ready, and the main task is review
    Main risks Missing notes and incorrect speaker attribution Drafts mistaken for final output and collaboration conflicts

    AI joining a meeting requires explicit permissions. We recommend that the host or administrator approve the AI node’s participation and inform all participants at the start of the meeting about recording and AI processing.

    2. Core Technical Architecture

    The system must simultaneously meet three requirements: low latency, multiple output types, and concurrent multi-user editing. The following three sections explain the architecture.

    2.1 Streaming Processing and Session State Management

    ASR outputs partial results, and a sentence may change multiple times before it is complete. A large language model (LLM) needs to perform intent recognition based on a recent text window—for example, determining whether a sentence contains an action item or describes an architecture. The window keeps only the most recent several sentences, which preserves context while avoiding placing the entire meeting into the prompt.

    When a participant says, “We need to design a user authentication module,” the system should identify this as a technical decision and generate an action item with an owner and deadline. The following is a simplified workflow example showing context initialization, intent structure, retries, and confidence filtering.

    1. import asyncio
    2. from collections import deque
    3. from dataclasses import dataclass, field
    4. from typing import Literal
    5. IntentType = Literal["CREATE_ACTION_ITEM", "DRAW_DIAGRAM", "NONE"]
    6. @dataclass
    7. class Intent:
    8. type: IntentType
    9. payload: dict = field(default_factory=dict)
    10. confidence: float = 0.0
    11. class MeetingPipeline:
    12. def __init__(self, asr_engine, llm_engine, collab_client,
    13. window_size=20, max_retries=3, min_confidence=0.7):
    14. self.asr = asr_engine
    15. self.llm = llm_engine
    16. self.collab = collab_client
    17. self.context = deque(maxlen=window_size) # Sliding window of recent text
    18. self.max_retries = max_retries
    19. self.min_confidence = min_confidence
    20. async def _with_retry(self, fn, *args, **kwargs):
    21. last_error = None
    22. for attempt in range(1, self.max_retries + 1):
    23. try:
    24. return await asyncio.wait_for(fn(*args, **kwargs), timeout=3.0)
    25. except (asyncio.TimeoutError, ConnectionError) as e:
    26. last_error = e
    27. await asyncio.sleep(0.2 * 2 ** (attempt - 1))
    28. raise RuntimeError(f"Call failed after {self.max_retries} retries") from last_error
    29. async def process_stream(self, audio_stream):
    30. async for chunk in audio_stream:
    31. text = await self._with_retry(self.asr.transcribe, chunk)
    32. if not text:
    33. continue
    34. self.context.append(text)
    35. intent: Intent = await self._with_retry(
    36. self.llm.analyze_intent, text, context=list(self.context)
    37. )
    38. if intent.confidence < self.min_confidence:
    39. continue # Do not write low-confidence results to the panel; wait for more context
    40. if intent.type == "CREATE_ACTION_ITEM":
    41. item = await self._with_retry(self.llm.generate_action_item, intent)
    42. # Writes must carry an idempotent ID so timeout retries do not create duplicate entries
    43. await self._with_retry(self.collab.insert_block, "action_items", item)
    44. elif intent.type == "DRAW_DIAGRAM":
    45. nodes = await self._with_retry(self.llm.extract_nodes, intent)
    46. await self._with_retry(self.collab.draw_whiteboard, nodes)

    Several points in the example require attention. The context window is created during initialization to avoid accessing an undefined attribute on the first call. Intent results must include a confidence score, and results below the threshold are not written to the panel. Every external call has a timeout, and failures are retried with exponential backoff. Write operations carry an idempotent ID; otherwise, a retry after a timeout may cause duplicate insertion.

    The latency budget can serve as a design starting point. The values in the table below are design targets and should be adjusted after load testing with real meeting audio.

    Stage Design target Notes
    Audio chunking 200 ms Larger chunks increase waiting time
    ASR partial result 500 ms Depends on model size and network conditions
    Intent recognition 1 s A smaller model can be used for initial filtering
    Generation and write 1.5 s Includes confirmation time from the collaboration service
    End-to-end Within 3 s From the end of an utterance to the draft appearing in the panel

    2.2 Multimodal Output and Structured Formats

    Documents, tables, and whiteboards have very different data structures. A document is an ordered sequence of blocks, a table is row-and-column data, and a whiteboard consists of nodes and edges. Model output must conform to predefined structures, and the frontend then renders them accordingly. For action items, for example, the schema example defines an ActionItem object whose required fields include id, task, and source_quote, with id used as an idempotent identifier. This structure keeps model output machine-checkable and allows the frontend to render document blocks, table rows, and whiteboard nodes consistently.