Skip to content

About

Local-first AI meeting copilot — real-time transcription, LLM suggestions, Outlook-aware per-meeting transcripts, and OneNote export. All offline.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

MeetingAgent — Local Real-Time Meeting Co-Pilot

A fully-local Teams / Zoom / Meet copilot that listens, transcribes, suggests, extracts insights, and answers SME questions. No cloud, no API keys, no IT involvement. Inspired by patterns from Granola, Otter, Cluely, Tactiq, Glass, whisper-streaming, and WhisperLive — adapted to run entirely on your laptop on top of faster-whisper + Ollama.

![panels: live | insights | transcript | notes]

What it does

  • 🎤 Listens to system audio via WASAPI loopback (any meeting app).
  • 📝 Transcribes in real time on GPU with faster-whisper (~50 ms/chunk on RTX 4050).
  • 💡 Suggests "smart things to say" every ~25 s — token-streamed live.
  • 🧠 Extracts insights (decisions, action items, open questions, risks) every ~90 s.
  • ❓ Answers typed questions grounded in your context docs (RAG-lite).
  • 🎙 Push-to-talk Ask — Ctrl+M, speak the question, agent transcribes
    • answers.
  • 📌 Quick notes + autosave transcripts as Markdown.
  • 📓 Send to OneNote — one click to create a new page (with LLM-written exec summary + decisions/actions/questions/risks + transcript) under a notebook → section per project. No Microsoft Graph or Azure app reg — uses the local OneNote desktop app via COM.
  • 🎭 Modes — different persona+context per meeting type (engineering / sales / 1on1, plus your own).
  • ⚙ Settings dialog — every knob on a UI, hot-applies most, "Save & Restart" for whisper/audio changes.
  • 📁 System tray + global hotkeys — runs in the background, works while Teams has focus.

Nothing leaves your laptop. Ever.


Quick start (Windows)

# 1. Real Python
winget install --id Python.Python.3.11 -e

# 2. Ollama
winget install --id Ollama.Ollama -e

# 3. Models (one-time)
ollama pull llama3.1:8b-instruct-q4_K_M       # for the "Ask" panel
ollama pull qwen2.5:3b-instruct-q4_K_M        # for fast suggestions/insights

# 4. App
cd C:\path\to\MeetingAgent
.\run.bat       # creates venv, installs deps, launches

Drop any .md / .txt reference docs into context\ (or drag-and-drop onto the running window) and they become SME ground truth for the Ask panel.


Hotkeys

Window-local (when Meeting Agent is focused)

Keys Action
Ctrl+Q Focus the Ask box
Ctrl+Space Force a suggestion now
Ctrl+I Force an insight extraction
Ctrl+M Push-to-talk Ask (records 6 s, transcribes, asks)
Ctrl+N Add a timestamped quick note
Ctrl+F Search the transcript
Ctrl+S Save the transcript as Markdown
Ctrl+E 📓 Send to OneNote (exec summary + decisions/actions/questions/risks + transcript)
Ctrl+H Hide / show the window

Global (work even when Teams has focus)

Keys Action
Ctrl+Shift+Space Suggest now
Ctrl+Shift+I Extract insights
Ctrl+Shift+M Push-to-talk Ask
Ctrl+Shift+N Quick note
Ctrl+Shift+H Hide / show

Disable global hotkeys in Settings → General if they conflict with anything.


Settings (⚙ button or in Settings tab)

Six tabs, all backed by config.yaml:

Tab What you can change
General Window title, always-on-top, opacity, global hotkeys, system tray behavior
LLM Ollama host, suggest model, answer model, keep-alive, num_ctx, temperatures, RAG context budget
Audio / Whisper Whisper model (tiny.en … distil-medium.en … large-v3), device (auto/cuda/cpu), compute_type, chunk size, VAD filter — needs Save & Restart
Behavior Suggest cadence + min-new-words trigger, max suggestion length, transcript retention, insight cadence (0=off), autosave cadence (0=off), PTT length
Appearance Window size, font size
Modes / Persona Pick one of the auto-discovered modes from modes\<name>\
OneNote Notebook name, default section/project name, "use mode as section", default title, navigate-after-export, include-transcript, and a Test Connection button

Most settings hot-apply. Whisper-side changes use the Save & Restart button to relaunch the app cleanly.


OneNote integration

After (or during) a meeting, hit Ctrl+E (or click 📓 Send to OneNote). A small dialog confirms three fields:

  • Title — page title (e.g. "RMU FAT prep call"). Date/time is appended automatically.
  • Section — the project. Auto-created if it doesn't exist. Default = the active Mode's name (e.g. LBB01, engineering).
  • Notebook — leave blank to use your default notebook, or name an existing one (e.g. Work).

What gets written to the page:

<h1>Title — 2026-05-21 11:30</h1>
Date/Mode header

<h2>Executive Summary</h2>
   Overview / Highlights / Discussion (LLM-written, ~400 words)

<h2>Decisions</h2>             ← parsed from the live Insights tab
<h2>Action Items</h2>          ← who/what/by-when
<h2>Open Questions</h2>
<h2>Risks / Blockers</h2>

<h2>Notes</h2>                 ← anything you typed in the Notes tab
<h2>Transcript</h2>            ← optional, toggle in the dialog

Requirements: OneNote for Microsoft 365 (the desktop app — not the "OneNote for Windows 10" Store app, which has no COM surface). No internet, no Graph API, no Azure app registration. The agent talks to the local OneNote.Application COM object via pywin32.

Verify it works: Settings → OneNote → "Test connection / list notebooks". You should see the notebooks you have open in OneNote.


Modes / Persona

Each subfolder of modes\ is a self-contained persona:

modes\
├── engineering\
│   ├── system_prompt.md
│   └── context\         (optional — defaults to top-level context\)
├── sales\
│   └── system_prompt.md
└── 1on1\
    └── system_prompt.md

Restart picks up new modes automatically. Switch modes from the Settings dialog without restarting; the agent rebuilds its prompt + context on the fly and warms the model in the background.


Performance notes (RTX 4050 6 GB / 8 GB RAM)

Operation Latency
Whisper small.en GPU FP16, 3 s chunk ~50 ms
Suggest first token (qwen2.5:3b) ~2 s
Suggest full ~4–6 s
Insight extraction (~30 s of transcript) ~6–10 s
Ask first token (llama3.1:8b, prompt cached) ~2 s
Ask first token (cold prompt, full SOO) ~10–15 s
Ask full (250 words) ~10–20 s

To squeeze more:

  • Smaller suggest model: qwen2.5:1.5b-instruct-q4_K_M halves latency.
  • whisper_model: distil-small.en is ~5× faster than small.en.
  • Lower answer_context_chars if your context docs are huge.

Files

MeetingAgent\
├── README.md
├── requirements.txt
├── config.yaml                  # all runtime settings
├── run.bat                      # robust launcher (auto py-3.11, venv, deps)
├── main.py                      # Qt app + workers + tray + hotkeys
├── audio_capture.py             # WASAPI loopback + record_seconds() for PTT
├── transcriber.py               # faster-whisper wrapper, GPU DLL injector
├── assistant.py                 # Ollama streaming: suggest / insight / answer + RAG-lite
├── settings_dialog.py           # 7-tab settings UI (incl. OneNote)
├── onenote_export.py            # OneNote COM integration (notebook → section → page)
├── prompts\system_prompt.md     # default persona
├── modes\<name>\                # per-meeting personas
├── context\*.md                 # SME ground-truth docs
└── transcripts\                 # auto-saved transcripts (.md)

Privacy

  • All audio, transcripts, and LLM calls stay on the machine.
  • Saved transcripts go to transcripts\YYYYMMDD-HHMMSS.md only when you press Ctrl+S or autosave fires.
  • Recording without consent may violate your employer's policy or local consent law. Verify before using on real meetings.

About

Local-first AI meeting copilot — real-time transcription, LLM suggestions, Outlook-aware per-meeting transcripts, and OneNote export. All offline.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages