How to Build a Real-Time AI Meeting Assistant: Architecture, Transcription, and Automated Minutes

    This article breaks down the engineering behind a practical AI meeting assistant that joins calls as a participant, transcribes speech in real time, generates minutes and action items, and supports collaborative editing. It covers the full pipeline—real-time audio ingestion, speech recognition, speaker diarization, LLM-based generation, in-meeting collaboration, and post-meeting archiving—along with the key engineering trade-offs and a phased plan for teams building such a system from scratch.

    Introduction: The Scenario of AI “Entering” the Meeting Room

    Imagine you open an online meeting to join. Among the participants, there is an agent appearing as a virtual avatar. Once the host pulls it into the call, it visibly “takes a seat” like any ordinary member and proactively posts a message in the chat announcing that it has joined. As the meeting proceeds, it continuously “listens,” organizing key points, extracting action items, drafting documents in real time, and even mapping out the structure and timeline of the discussion on a shared whiteboard. More importantly, team members can directly edit its generated content during the call, so discussion and output move forward together. As soon as the meeting ends, all minutes, to-dos, and materials are automatically archived for later retrieval.

    Behind this is not the capability of a single model, but a composite system of real-time audio/video + speech understanding + LLM generation + collaborative editing. This article unpacks that “magic” from an engineering perspective, explaining how to build a truly usable and deployable intelligent meeting assistant. Whether you rely on general capabilities from a cloud platform like Baidu AI Cloud or build your own stack, the architectural approach and the key trade-offs are shared.

    1. Overall Architecture: From Audio Stream to Structured Output

    A usable meeting assistant is essentially a pipeline that turns “sound” into “structured knowledge.” The end-to-end flow can be abstracted into the following stages:

    1. Real-time audio ingestion: Join the call as a participant and capture multi-party audio streams.
    2. Speech recognition (ASR): Transcribe the audio stream into timestamped text in real time.
    3. Speaker diarization: Label who said each segment to reconstruct the structure of the conversation.
    4. Semantic understanding and generation: Use an LLM to distill key points, extract action items, and draft documents.
    5. In-meeting collaborative editing: Expose generated results as editable objects that support real-time modification and write-back.
    6. Post-meeting consolidation: Organize, deduplicate, categorize, and persist all artifacts.

    The difficulty of this pipeline lies in the word “real time”—it demands low enough end-to-end latency that the assistant feels like it is “writing as it listens,” rather than filling in notes afterward. At the same time, every step can introduce errors, and errors amplify as they travel down the chain, so dedicated fault-tolerance and correction mechanisms are required.

    2. Real-Time Audio Ingestion and Transmission

    The assistant must first enter the meeting as a legitimate participant. In practice, there are usually two ways to connect: one is to subscribe to the audio via a side-channel using the meeting platform’s bot/SDK interface; the other is to bridge the meeting audio to the assistant through a virtual audio/video device or gateway. Either way, the core goal is to stably obtain a continuous, low-latency, source-distinguishable audio stream.

    The first challenge here is track separation. A real online meeting mixes multiple audio tracks together. If you only get a mixed mono stream, speaker diarization becomes significantly harder. The ideal approach is to obtain each participant’s independent track, or at least preserve voiceprint cues. The ingestion layer usually needs a buffer queue to absorb network jitter:

    1. # Pseudocode: audio ingestion and buffering
    2. class AudioIngest:
    3. def __init__(self, chunk_ms=200):
    4. self.buffer = bytearray()
    5. self.chunk_ms = chunk_ms # cut a frame every 200ms for recognition
    6. def on_audio_frame(self, pcm_bytes, speaker_hint=None):
    7. self.buffer.extend(pcm_bytes)
    8. while len(self.buffer) >= self.frame_size:
    9. frame = self.buffer[:self.frame_size]
    10. del self.buffer[:self.frame_size]
    11. asr_client.push(frame, speaker_hint) # push into streaming recognition

    The size of the buffer window is a trade-off between latency and stability: too large a window increases latency, while too small a window is easily disrupted by jitter and causes recognition gaps. In practice, adaptive tuning is needed at both the client and gateway layers.

    3. Speech Recognition and Speaker Diarization

    Speech recognition is the cornerstone of the entire pipeline. Meeting minutes require more than just “transcription”—they require real-time performance, punctuation, accuracy on proper nouns, and timestamps. Domain vocabulary (product names, people’s names, industry terms) is often a hotspot for recognition errors, and accuracy is typically improved through a hotword list (a hot-updatable vocabulary) or domain fine-tuning.

    Speaker diarization determines whether the minutes can answer “who said what.” In a mixed-stream scenario, this step relies on voiceprint clustering: the system extracts a voiceprint feature from each voice segment, then groups segments with similar features under the same speaker. Overlapping speech, interruptions, and silence are all common difficulties. More mature solutions jointly model ASR and diarization to directly output a triple of “speaker + text + start/end time”:

    1. [00:12.3 - 00:18.7] Speaker A: This quarter's goal is to bring interface latency under 100 milliseconds.
    2. [00:18.9 - 00:24.1] Speaker B: Then we need to run a link stress test first to locate the bottleneck.

    This structured timeline text is the “raw material” for all subsequent intelligent generation. The higher the quality of the raw material, the more reliably it supports high-quality minutes.

    4. LLM-Driven Minutes and Action Item Generation

    Once you have structured conversational text, it is time for “intelligence” to take the stage. The LLM handles several types of tasks here:

    • Real-time summarization: Continuously updating meeting highlights rather than waiting until the end to summarize.
    • Action item extraction: Identifying to-do semantics such as “who, does what, by when.”
    • Document drafting: Organizing the discussion into structured minutes or proposal drafts.
    • Structure mapping: Presenting topic trees, timelines, and decision points in a whiteboard or outline.

    Action item extraction can constrain output with a structured prompt so downstream systems can consume it easily:

    1. You are a meeting minutes assistant. Extract all action items from the following conversation.
    2. Requirements:
    3. 1. Output only a JSON array, with no extra explanation;
    4. 2. Each item must contain owner, task, due (deadline, use null if unknown), and source (the original snippet);
    5. 3. Fill any uncertain field with null, and do not fabricate.
    6. Conversation:
    7. {transcript with speakers}

    Expected output:

    1. [
    2. {"owner": "Speaker B", "task": "Run the link stress test and locate the latency bottleneck", "due": null, "source": "we need to run a link stress test"}
    3. ]

    In engineering terms, watch out for the LLM’s hallucinations: it may generate to-dos or numbers that never appeared in the conversation. This is why traceability constraints are essential—every generated action item should link back to its original transcript snippet so users can verify and correct it. For long meetings, the transcript exceeds the context window, so a “segment summarization + hierarchical merging” strategy (a map-reduce style summarization) is typically used: first generate a local summary for each time slice, then produce a global summary from the local summaries.

    5. Real-Time Collaborative Editing During the Meeting

    An easily overlooked yet extremely important design in the original scenario is this: allow members to directly edit the assistant’s generated content during the call. This means the minutes, whiteboard, and documents the assistant produces are not read-only dead artifacts, but “living documents” that multiple people can edit collaboratively.

    This is essentially a real-time collaboration (CRDT/OT) problem. While the assistant writes new summaries, a user may also manually edit a certain section, and the system must guarantee that concurrent edits produce neither conflicts nor content loss. A common approach is to use conflict-free replicated data types (CRDT) or operational transformation (OT) algorithms to synchronize edit operations incrementally across multiple clients. The assistant itself should participate in the same synchronization mechanism as a “collaborator,” so that its automatic additions and the user’s real-time modifications can merge seamlessly.

    The value of collaborative editing lies in keeping humans and machines within one output loop. People no longer have to wait until the meeting ends to correct the machine’s misunderstandings, and the machine does not have to stubbornly insist on its own output—discussion and output are truly synchronized.

    6. Automatic Consolidation of Post-Meeting Materials

    The end of a meeting does not mean the end of the process. The assistant needs to unify, deduplicate, and categorize the artifacts scattered throughout the meeting—rolling summaries, action items, drafted documents, whiteboard snapshots—and persist them into storage that supports retrieval.

    Several general engineering capabilities come into play here:

    • Object storage: For unstructured artifacts such as audio, documents, and whiteboard snapshots.
    • Databases: For structured action items, attendance records, and timeline indexes.
    • Retrieval: Vector or full-text search, letting users quickly locate “that discussion about latency from last time” using natural language.
    • Message queues: To asynchronously decouple post-meeting processing (transcoding, summarization, notifications) and avoid blocking.

    A reliable approach is to design “post-meeting processing” as an asynchronous task flow: as soon as the meeting ends, an event is posted to a queue, and downstream consumers complete organization, archiving, and notification in sequence. Even if an individual step fails, it can be retried.

    7. Key Challenges and Engineering Trade-Offs

    To truly deploy this, you must confront the following tensions:

    • Latency vs. accuracy: Streaming recognition pursues low latency, often at the cost of some accuracy. A “two-stage” strategy helps: first use a fast model to produce real-time results, then apply a high-accuracy model for post-meeting re-correction.
    • Real time vs. stability: Network jitter interrupts the audio stream, so buffering, reconnection, and resumable transfer mechanisms are needed.
    • Automation vs. verifiability: LLMs hallucinate, so a traceability chain must be preserved to let key conclusions be traced back to the original words.
    • Convenience vs. security: Meeting content often involves business secrets. The entire pipeline should be encrypted in transit by default, sensitive data should be redacted, and data retention policies and access permissions should be clearly defined. Sensitive meetings should offer a “no recording / no retention” switch.

    8. Implementation Recommendations

    If building from scratch, advance along the following priorities:

    1. Establish the basic pipeline first: Stable audio ingestion + streaming ASR + speaker-attributed transcription, to form reliable “raw material.”
    2. Then layer on generation: Introduce an LLM for summarization and action item extraction, and enforce structured output with traceability.
    3. Add collaboration and post-meeting consolidation: Implement collaborative editing of output artifacts and an asynchronous archiving pipeline.
    4. Finally, polish experience and security: Optimize latency, handle overlapping speech, and improve permissions and compliance policies.

    By relying on the general capabilities offered by platforms like Baidu AI Cloud—speech recognition, LLMs, object storage, message queues, and monitoring/alerting—teams can significantly reduce the cost of reinventing the wheel from zero and focus their energy on business semantics and experience.

    Conclusion

    An AI entering a meeting as a visible participant may look like nothing more than a novel interaction, but it is in fact the convergence of three capabilities: real-time speech understanding + generative AI + human-machine collaboration. Its value lies not in replacing people in meetings, but in freeing people from the heavy burden of note-taking and organization, so that everyone can focus on the discussion itself. Understanding every link and trade-off in this pipeline is the prerequisite for building a solid, usable intelligent meeting assistant inside an enterprise.