1. Executive Summary
MeetMaxxing is a meeting copilot for Google Meet. A Chrome and Firefox extension captures captions or audio, a FastAPI backend runs a set of Python "agents" over Gemini and other providers, and a Next.js dashboard shows meetings, summaries and a memory search. Memory across meetings is one Qdrant collection. When a meeting ends, a background pipeline embeds the transcript in chunks and the summary's decisions; uploaded documents land in the same collection. A memory agent answers questions from the nearest points and the eight newest meeting summaries.
Notable: every vector read carries the caller's org as a must-match condition, taken from the verified token, added inside the one function that queries Qdrant, and applied to both arms of a dense-plus-sparse hybrid query. Deleting a meeting deletes its points by meeting and org.
Weak: the store is write-once and unaudited. If the remote Qdrant fails on the process's first call, the client falls back to an in-process store for the life of the process. Reprocessing a meeting adds a second copy of its points, write failures are swallowed, and a point's date is the day it was processed. Neither Google ADK, Lyzr nor an A2A protocol is a Python dependency, though the README is built around them.
One mark is present and six are withheld (section 9).
Licence. No licence is granted. The tree has no
LICENSE, COPYING or NOTICE file.
The root, frontend/ and extension/sidebar-app/
package.json files declare no license field
and mark themselves private,
backend/pyproject.toml declares none, the README has no
licence section, and GitHub reports no licence for the repository. The
code is therefore all rights reserved by default: it may be read, and
nothing in the tree permits copying, modifying or redistributing it.
There is no SECURITY.md. The dashboard's Terms of Service
concern users' meeting data, not the source
(frontend/src/app/terms/page.tsx:41-43).
2. Mental Model
A memory is a point in Qdrant: text, a 768-dimension Gemini
embedding, a sparse vector of hashed word counts, and a payload naming
the org, user, meeting, memory type and date
(backend/memory/schemas.py:14-49,
backend/memory/qdrant_client.py:139-188). Nothing on a
point says whether it is believed. There is no status, no confidence the
read path consults, and no provenance beyond a meeting id and a speaker
name.
Two paths produce points. The meeting-end pipeline writes
transcript_chunk and decision points
(backend/services/meeting_pipeline.py:357-405). The upload
route writes each document chunk as key_topic with the
topic uploaded_context
(backend/api/routes_context.py:84-101). The enum's
transcript, relationship and
action_item values have no producer
(backend/memory/schemas.py:5-11), and the summary's key
topics are never stored as points.
A point stops being memory only when it is deleted: with its meeting, with its file, or with the account. There is no update of content and no supersession. A summary edited in the dashboard changes the Supabase row, and the decision points written from the original summary stay as they were.
Diagram source
%% caption: a meeting becomes memory once, at its end, as points keyed by org; every read filters on that key, and a remote store that fails on first use sends every later write to process memory
flowchart TD
E["Meeting end or<br/>reprocess route"] --> P["Background pipeline<br/>errors swallowed"]
P --> G{"groundedness<br/>score below 0.5?"}
G -- "yes" --> HD["keep high-confidence<br/>decisions only"]
G -- "no" --> AD["keep all decisions"]
HD --> EM["Gemini embeddings<br/>chunks + decisions"]
AD --> EM
U["Document upload"] --> EM
EM --> Q{"remote Qdrant up<br/>at first call?"}
Q -- "yes" --> R["Qdrant collection<br/>random point ids"]
Q -- "no" --> M["in-process store<br/>lost on restart"]
R --> S["search: org from JWT<br/>dense + sparse, RRF"]
M --> S
S --> W["type weights<br/>top 6 of 15"]
W --> A["Memory agent prompt<br/>Gemini answer"]
DB["8 newest summaries<br/>from Supabase"] --> A
D["Delete meeting"] --> X["delete points<br/>by meeting + org"]
X --> R3. Architecture
backend/main.py mounts routers for auth, transcripts,
meetings, memory, calendar, dashboard, context documents, API keys and
settings, most of them twice, with and without an /api
prefix (backend/main.py:121-137).
backend/agents/ holds eight async functions and a
dispatcher that selects one by enum
(backend/agents/orchestrator.py:17-100); the memory and
document routes call their agents directly. backend/memory/
is the vector layer. Supabase PostgreSQL holds users, meetings with
their transcript, summary and decisions, and action items
(backend/supabase_migrations.sql:8-66). Redis holds the
live transcript for eight hours under an org prefix
(backend/core/redis_client.py:14, :96-98).
The README describes Google ADK, Lyzr and Agent-to-Agent
communication. The backend calls google.genai through a
provider fallback chain; Lyzr is a config key, a try-import in the
diagnostics route and docstrings; and no Python file names A2A (Recorded searches). The product
requirements document calls for "Qdrant collection partitioning for
multi-tenant isolation"
(docs/Product Requirement Document/Product Requirement Document.md:39);
the code has one collection and a payload filter.
The backend's Supabase client uses the service-role key, which
bypasses the row-level security policies in the schema
(backend/core/database.py:27-32,
backend/supabase_migrations.sql:81-98). Tenant isolation in
PostgreSQL rests on the org_id equality each route
adds.
Deployment and ergonomics
An operator stands up Supabase, Qdrant, Redis and a Gemini key, with
optional keys for other model providers; render.yaml
targets a free Render web service and frontend/vercel.json
targets Vercel. QDRANT_URL accepts :memory:
and local as well as a URL
(backend/memory/qdrant_client.py:41-55), and
REDIS_URL accepts memory
(backend/core/redis_client.py:77-78). Without a Gemini key
every embedding call raises
(backend/memory/embeddings.py:20-21, :50-56),
so the memory layer has no offline mode.
4. Essential Implementation Paths
- Authenticate.
get_user_from_tokenverifies an HS256 or JWKS-signed Supabase token and takes the org fromapp_metadata.org_id, defaulting to the user id (backend/core/auth.py:50-112)./auth/provisionwrites the user id as the org (backend/api/routes_auth.py:102-120). - End a meeting.
POST /meeting/{id}/endchecks the meeting's scope and queuesrun_end_pipeline;/reprocessqueues the same pipeline for an existing meeting (backend/api/routes_meeting.py:40-79,:82-109). - Process. Transcript from Redis or the meeting row,
merged and persisted
(
backend/services/meeting_pipeline.py:63-101); the summary agent (:167-180); the summary guardrail (:186-189); then memory storage beside scheduling, email and Slack in onegather(:357-405,:575-581). - Upload a document.
POST /context/upload(backend/api/routes_context.py:61-113). - Ask.
POST /memory/query→run_memory_agent(backend/api/routes_memory.py:27-79,backend/agents/memory_agent.py:86-266);POST /context/chat→ the document agent when files are selected, the memory agent otherwise (backend/api/routes_context.py:122-163). - Suggest live. The realtime agent adds three
uploaded chunks to each tick's prompt
(
backend/agents/realtime_agent.py:145-174). - Delete. A meeting
(
backend/api/routes_dashboard.py:170-209), a file (backend/api/routes_context.py:312-341), an account (backend/api/routes_auth.py:55-99).
5. Memory Data Model
- Payload:
text,org_id,user_id,meeting_id,memory_type,meeting_date,speaker_id,speaker_name,topic,priority,timestamp_ms(backend/memory/schemas.py:36-49), with payload indexes on nine of them (backend/memory/qdrant_client.py:106-119). - Vectors: a named
densevector of 768 dimensions under cosine distance, and a namedsparsevector (backend/memory/qdrant_client.py:90-102,backend/core/config.py:34-35). - Ids: a fresh
uuid4per point on every write (backend/services/meeting_pipeline.py:372,:391,backend/api/routes_context.py:86). - Dates:
meeting_dateis the UTC day the pipeline ran (backend/services/meeting_pipeline.py:193,:379,:398), or the upload day for a document (backend/api/routes_context.py:77), not the meeting'sstart_at. - Reused fields: an uploaded chunk keeps the filename
in
speaker_nameand its index inpriorityandtimestamp_ms(backend/api/routes_context.py:94-97); the file routes group and order by them (:250-256,:440-447). A decision'spriorityis 2 when the model called it high confidence (backend/services/meeting_pipeline.py:400), and no read path reads it. - Supabase:
meetingsholdstranscript_data,summary,decisionsandaction_itemsas JSONB beside the title, attendees and status (backend/supabase_migrations.sql:19-43).
6. Retrieval Mechanics
search_memories builds its conditions in a fixed order:
the org always, then an optional user, meeting or list of meetings,
speaker, memory type, topic and a date range on
meeting_date
(backend/memory/qdrant_client.py:203-287). The sparse query
is the lowercased, whitespace-split question, each word hashed with MD5
modulo 1,000,000 and weighted by its count, with no IDF
(:289-301); the collection's sparse parameters set no
modifier (:98). Two prefetches of limit hits
each run under the filter, Qdrant fuses them by reciprocal rank, and the
filter is applied again to the fused query (:303-327).
The memory agent embeds the question as a retrieval query, asks for
15 points, drops non-positive scores, multiplies by a type weight —
decision 1.5, action item 1.3, key topic 1.2, transcript 1.0 — and keeps
six (backend/agents/memory_agent.py:62-83,
:115-120). Uploaded documents are stored as
key_topic, so a document chunk outranks a transcript chunk
at equal fused score. Fused scores come from ranks, so the weight
reorders rank positions rather than similarities.
Beside the vector arm, the agent reads the org's eight newest
completed meetings from Supabase — title, summary, decisions, attendees
— whatever the question and filters
(backend/agents/memory_agent.py:122-141). With
current_meeting_id it adds each listed meeting's live
transcript from Redis (:176-199). The model returns the
indexes of the points it used, and only points are citable; the
summaries reach the prompt uncited (:38-59,
:239-246).
The document agent filters on uploaded_context, the
meeting id and the chosen filenames, asks for six and does not rerank
(backend/agents/docs_qa_agent.py:59-70). The realtime agent
takes the three chunks nearest the fixed phrase "meeting context
overview", embedded as a document rather than a query, for the current
meeting (backend/agents/realtime_agent.py:152-165). The
live transcript never shapes which document chunks a suggestion sees. A
document uploaded from the dashboard is stored under the meeting id
global
(frontend/src/app/context/_hooks/useContextManager.ts:205),
so both document reads, which filter on a live meeting's id, never see
it.
No retrieval-quality evaluation was found.
7. Write Mechanics
The end route returns at once and the pipeline runs as a FastAPI
background task (backend/api/routes_meeting.py:69-79).
After the summary call, the guardrail checks each decision's owner
against the transcript's speakers and asks a model for a groundedness
score; below 0.5 only decisions the summariser marked high confidence
are kept (backend/services/guardrails.py:79-138). A failed
evaluation returns 1.0 (:75-76), so an unavailable
evaluator admits every decision.
chunk_transcript merges consecutive turns by one
speaker, cuts chunks at about 500 words with the last turn carried over,
and splits a longer turn into sub-chunks
(backend/memory/embeddings.py:200-297). Embedding runs in
batches of 20; a failed batch leaves its slots empty, and
upsert_memories drops every point without a vector
(backend/memory/embeddings.py:162-196,
backend/memory/qdrant_client.py:141-145). Points are
written 64 at a time with wait=True
(:180-188).
Failures leave no trace. The storage task runs in a
gather with return_exceptions=True whose
results are discarded
(backend/services/meeting_pipeline.py:575-581), and nothing
in the pipeline logs a failed embedding batch or upsert. A meeting can
show a summary and have no memory.
Decisions can take a neighbour's vector. Decision
texts are filtered for a non-empty text before embedding,
and the unfiltered list is then zipped with the vectors
(backend/services/meeting_pipeline.py:361,
:386). One decision without text shifts every later
decision onto the next one's vector, and the last is dropped.
Reprocessing duplicates. Every write uses fresh ids,
and no path deletes a meeting's points before writing them;
delete_meeting_memories has one caller, the dashboard
delete (backend/api/routes_dashboard.py:205). Each run of
/reprocess, or a second end call, adds a full copy of the
transcript chunks and decisions, dated the day of that run.
A memory is retrievable once the summary call, the groundedness call
and the embedding calls finish. No background pass rewrites the store.
The upload route is synchronous: 1,000-character chunks with no overlap,
under a meeting id the route does not check against any meeting
(backend/api/routes_context.py:61-101).
Operational cost
Each meeting end costs one summary call, one groundedness call and
one embedding call per 20 chunks and decisions. Each question costs one
query embedding, one Qdrant query, one Supabase read and one answer
call. The realtime agent's fixed phrase is held in a 1,000-entry
in-process LRU cache after its first embedding
(backend/memory/embeddings.py:24-41).
8. Agent Integration
No model writes memory. Points come from the pipeline and the upload
route, and code reads them before a model is called; there is no memory
tool and no MCP server (Recorded
searches). People reach memory through the dashboard's memory page
(frontend/src/lib/api.ts:116-130) and the extension's
context tab, which uploads files and chats against the live meeting
(extension/sidebar-app/src/components/organisms/ContextAgent.tsx:160-205).
An answer carries its cited sources with meeting id, date, speaker, a
200-character excerpt and the score
(backend/agents/memory_agent.py:47-57). The answer
guardrail compares the answer's longer words with those excerpts and
returns valid=True with a score in every case; its
model-evaluation branch runs only with eval_with_llm=True,
which no caller passes
(backend/services/guardrails.py:141-195).
9. Reliability, Safety, and Trust
The in-process fallback latches
get_qdrant creates the remote client with a three-second
timeout and ensures the collection on first use. If that fails, it logs
a warning, creates an in-process Qdrant, marks the collection ensured
and returns that client for as long as the event loop lives
(backend/memory/qdrant_client.py:28-79). Every meeting
processed afterwards is remembered until the next restart, and every
delete reaches only the in-process copy. The Redis client in the same
backend retries a real connection 30 seconds after a failure
(backend/core/redis_client.py:15-17, :79-94);
the Qdrant client has no such retry. The diagnostics route reports the
configured URL beside the in-process point count
(backend/main.py:191-196).
Scope
The org comes from the verified token on every route
(backend/core/auth.py:96-103), and
search_memories puts it first in every query. Provisioning
sets the org to the user id
(backend/api/routes_auth.py:110-118), and no other write of
the org claim is in the tree (Recorded
searches), so in practice the key is per user.
Two reads would cross users if an org were shared. The user filter
takes filters["user_id"] from the request body before the
authenticated user (backend/agents/memory_agent.py:97,
backend/agents/docs_qa_agent.py:61,
backend/api/routes_memory.py:41). The summary arm reads the
whole org (backend/agents/memory_agent.py:127-136). A
request naming another org's meeting as current_meeting_id
is refused before retrieval
(backend/api/routes_memory.py:42-55).
Deletion and correction
Deleting a meeting deletes its action items, its row and its points;
a failed vector delete is logged and the route answers
deleted
(backend/api/routes_dashboard.py:182-209). Deleting an
account deletes the user's points by user id
(backend/api/routes_auth.py:74-94). The data export reads
Supabase only, so uploaded documents, which exist only as Qdrant points,
are not in it
(backend/services/settings_service.py:590-685). The meeting
PATCH accepts title and summary
(backend/api/routes_dashboard.py:154); nothing edits a
decision in either store.
Marks
scope_enforced— present. The verified org is a must-match condition on every vector query; it equals the user id after provisioning, and the user filter takes a caller-supplied value.negative_eval— withheld. The cross-org test asserts a 403 before any retrieval runs (backend/tests/test_security_fixes.py:67-81). The Redis test is populated and real — the victim's view holds the chunk, the attacker's is empty (:102-113) — but it guards the eight-hour live transcript buffer, not the memory store. No test queries Qdrant.trust_state— withheld. No status on a point; decision confidence becomes an unreadpriority.bitemporal— withheld. One date per point, the processing day.audit_log— withheld. No record of a write or a delete.human_review— withheld. Memory is written without a gate; a person can edit a summary or delete a meeting after the fact.tombstone— withheld. Deletion removes points and leaves nothing that stops the same text from being stored again.
10. Tests, Evals, and Benchmarks
The backend has 61 pytest functions in 10 files, most of them on API
keys, calendar, settings and dashboard routes with a mock Supabase
client (backend/tests/mock_db.py). CI runs only
tests/test_api_keys.py
(.github/workflows/ci.yml:57), and the root
test:backend script adds the calendar routes
(package.json:15). The frontend job lints and builds.
Two files touch memory. test_suite.py's
test_03_multi_meeting_memory_query upserts one decision and
asserts only that the answer has answer and
confidence keys; it needs live Supabase, Qdrant and Gemini
(backend/tests/test_suite.py:159-193).
test_security_fixes.py holds the two scope tests named
under Marks. No test calls
search_memories or
delete_meeting_memories.
Cases to want first: points for two orgs and a query from one, asserting the other's are absent while its own are present; a meeting processed twice, asserting one copy; a deleted meeting followed by a query; a first-call Qdrant failure, asserting the write fails rather than landing in process memory.
No paper describes MeetMaxxing: CITATION.cff is absent
and the search for arXiv, DOI and BibTeX references returns nothing. I
ran none of the tests.
11. For Your Own Build
Steal
- Put the tenant key in the query function.
search_memoriesadds the org before any optional condition and applies the filter to both prefetch arms and the fused query, so no caller can forget it. - Delete by the key you scope by. A meeting's points go by meeting and org in one filter delete.
- Return citations by index. Asking the model for the indexes it used, then mapping them to stored excerpts, gives a source list the model cannot invent.
Avoid
- Do not fall back from a durable store to process memory silently. Fail the write, or retry the remote store as the Redis client here does.
- Do not give derived points random ids. An id from meeting and chunk index makes reprocessing replace rather than add.
- Do not date a memory by when it was processed. Date filters then answer a different question from the one asked.
- Do not let a request field replace the authenticated user in a filter, even where provisioning makes it harmless.
- Do not zip two lists filtered differently. Pair each text with its vector before the filter.
Fit
Fits someone building a meeting product who wants the smallest cross-meeting recall over transcripts and decisions, one user per account, and reads it for the query function and the citation mapping.
Walk away if memory must survive a store outage without loss, if a decision must be corrected or retracted, if a team must share an org, or if you need to know why the system believes something. Each of those needs code this tree does not have.
12. Open Questions
- Whether the in-process Qdrant fallback is meant for production or only for tests and local runs, given the three-second timeout and a free Render plan.
- Whether shared orgs are planned; the org predicate is per user only because provisioning makes it so.
- Whether
/reprocessis meant to replace a meeting's points. - Whether
meeting_dateis meant to hold the meeting's start date.
Appendix: File Index
- Vector layer:
backend/memory/qdrant_client.py,backend/memory/schemas.py,backend/memory/embeddings.py - Agents:
backend/agents/memory_agent.py,backend/agents/docs_qa_agent.py,backend/agents/realtime_agent.py,backend/agents/orchestrator.py,backend/agents/summary_agent.py - Pipeline and guardrails:
backend/services/meeting_pipeline.py,backend/services/guardrails.py - Routes:
backend/api/routes_memory.py,backend/api/routes_context.py,backend/api/routes_meeting.py,backend/api/routes_dashboard.py,backend/api/routes_auth.py,backend/api/routes_transcript.py - Auth, storage clients, config:
backend/core/auth.py,backend/core/database.py,backend/core/redis_client.py,backend/core/config.py,backend/main.py - Schema:
backend/supabase_migrations.sql,supabase/migrations/ - Clients:
frontend/src/lib/api.ts,frontend/src/app/context/_hooks/useContextManager.ts,extension/sidebar-app/src/components/organisms/ContextAgent.tsx - Tests:
backend/tests/test_security_fixes.py,backend/tests/test_suite.py
Recorded searches
Run from the repository root at the pinned commit with
/usr/bin/git grep.
- Three memory types have no producer.
git grep -n -E 'MemoryType\.[A-Z_]+' -- backendreturns the rerank weights atbackend/agents/memory_agent.py:65-69, a filter onKEY_TOPICatbackend/agents/realtime_agent.py:159, and writers ofKEY_TOPIC(backend/api/routes_context.py:92),TRANSCRIPT_CHUNK(backend/services/meeting_pipeline.py:378) andDECISION(:397, and the test atbackend/tests/test_suite.py:178). - Only the dashboard delete removes a meeting's
points.
git grep -n -E 'delete_meeting_memories' -- .returns the definition atbackend/memory/qdrant_client.py:344andbackend/api/routes_dashboard.py:12,:205. - No point's text is edited.
git grep -n -E 'set_payload|overwrite_payload|update_vectors|delete_payload' -- backendreturns only the filename rename atbackend/api/routes_context.py:387. - The org claim has one writer.
git grep -n -i 'app_metadata' -- backendreturns the two reads inbackend/core/auth.py:98,:137, the provisioning write atbackend/api/routes_auth.py:118with its docstring and comment, and a test fixture. - No lifecycle or audit field.
git grep -n -i -E 'audit|tombstone|supersed|valid_from|valid_until|quarantin|pending_review|approved' -- backend supabasereturns nothing. - The answer guardrail's model branch has no caller.
git grep -n 'eval_with_llm' -- backendreturns the parameter and the branch inbackend/services/guardrails.py:144,:167. - No test reaches the vector query or delete.
git grep -n -E 'search_memories|delete_meeting_memories|upsert_memories|qdrant' -- backend/testsreturnsensure_collectionandupsert_memoriesinbackend/tests/test_suite.py:26,:166,:182. - The export does not read Qdrant.
git grep -n -i -E 'qdrant' -- backend/services/settings_service.pyreturns nothing. - No Lyzr or ADK dependency, no A2A.
git grep -n -i -E 'lyzr|google-adk|a2a' -- backend/pyproject.toml backend/requirements.txtreturns nothing;git grep -n -i -E 'a2a' -- '*.py'returns nothing;git grep -n -i -E 'google-adk|google\.adk' -- . ':!*.lock' ':!*package-lock.json'returns nothing. As a control,git grep -n -i lyzr -- backend/core/config.pyreturns:64-65. - No MCP surface.
git grep -n -i -E 'mcp' -- backend extension frontend/src ':!*package-lock.json' ':!*.lock'returns nothing;frontend/package.json:14names@m3e/mcp, a Material 3 component package. - No licence.
git ls-files | grep -i -E '(^|/)(licen[sc]e|copying|notice)'returns nothing;git grep -n -i -E 'licen[sc]e|copyright|all rights reserved' -- . ':!*package-lock.json' ':!*uv.lock'returns nothing. - No paper.
CITATION.cffis absent;git grep -n -i -E 'arxiv|doi\.org|bibtex' -- .returns nothing.
History
2026-12-04 — 583212dc….
First reading, from the 2026-12-04 triage shortlist, at the head of
main reached on 2026-12-04; the shortlist assessed
260f9c7f104d, which the depth-1 clone does not hold.
Screened: no auto-run surface; two build-time execution points
(backend/tests/conftest.py and the root
package.json postinstall script); nine
dependency surfaces inside the cooldown, a count the depth-1 clone
inflates; four floating surfaces (backend/requirements.txt,
and package.json in the root, frontend/ and
extension/sidebar-app/). Nothing was installed, built or
run, and none of the 61 test functions was run. One mark (section 9).