I Built a Private Multi-Agent Meeting Assistant on a Single Cloud TPU: Here Is What Actually Happened
How I ran four AI agents on open-weight Gemma 3 inside my own Google Cloud infrastructure, cut redundant compute with prefix caching, and processed over 8,600 meetings an hour on one TPU chip.
The Problem That Started This Project
Every company has meetings that cannot leave the room: a merger discussion, a hospital compliance review, a security outage postmortem, or a board pricing meeting.
After every one of those calls, teams still want the same four things: a short summary, the decisions made, the risks raised, and a clean list of action items with owners and deadlines. AI tools are great at this — except most legal and security teams will immediately block you from pasting confidential transcripts into a public, third-party AI API.
So if you want meeting intelligence without leaking sensitive data, you have to run an open-weight model inside your own cloud infrastructure.
That led me to a second problem. Good meeting analysis is not a single prompt. In practice, you split the job across specialized AI agents — one for insights, one for decisions, one for risks, and one for action items. If all four agents read the same long meeting transcript from scratch, your hardware repeats the exact same heavy reading work four times.
During a Cloud TPU sprint, I set out to solve both problems end-to-end on real hardware (Cloud TPU v6e) and answer three simple questions:
- How hard is it to go from a blank Cloud TPU VM to a private, live open-weight model endpoint?
- Can four agents share the same meeting transcript in TPU memory instead of starting from scratch every time?
- When you compare a single self-hosted TPU chip against a hosted cloud API, who wins on speed, quality, and cost?
All code, synthetic meeting transcripts, and benchmark files are open on GitHub: github.com/geeta-gwalior/tpu-meeting-intelligence
What Makes This Project Special
Most AI demos either call a public API or run one simple prompt on a server. This project focuses on four things that matter in real enterprise systems:
- 100% Data Privacy: The open-weight Gemma 3 model runs on my own Cloud TPU and listens only on localhost (127.0.0.1). My app talks to it through a private SSH tunnel (or internal VPC in production). In TPU mode, no meeting text goes to an outside API.
- Four Specialized Agents, One Shared Memory: Using Google ADK, four separate agents analyze the meeting and output strict, validated JSON — ready to plug into tools like Jira, Slack, or an internal dashboard.
- Less Wasted Reading (Prefix Caching): By changing how the prompts are ordered and when the agents start, the TPU can reuse most of the transcript it has already read for the other three agents.
- Real Hardware Numbers, Including What Broke: Everything in this post was measured on a real Cloud TPU v6e-1 chip, including the bugs, setup traps, and a Spot VM preemption that happened mid-test.
How the System Works (Step by Step)

Instead of throwing all four agents at the TPU at the exact same moment, the pipeline works in four simple steps.
Step 1: Host Gemma 3 Privately on Cloud TPU v6e
I spun up a single Cloud TPU v6e-1 chip (32 GB of high-bandwidth memory) in Google Cloud and installed vLLM-TorchTPU. vLLM gives you a standard OpenAI-compatible endpoint right on the TPU, so any agent framework can talk to it without custom TPU code. I locked the server to localhost and forwarded port 8000 privately to my machine.
Step 2: Connect Four Google ADK Agents
I built four focused agents using Google ADK:
- InsightsAgent writes the executive summary and key takeaways.
- DecisionsAgent extracts what was approved, rejected, or deferred, along with the owner.
- RisksAgent pulls out security, legal, financial, or operational risks with severity levels.
- ActionsAgent lists follow-up tasks with owners and deadlines.
Each agent is tied to a strict JSON schema, so the model always responds with clean, structured data rather than messy paragraphs.
Step 3: The Prompt-Order Trick That Unlocks Prefix Caching
When a model reads a prompt, vLLM saves its internal memory (called the KV cache) on the TPU. If the next request starts with the exact same words, vLLM skips recomputing those words and reuses the saved memory.
Here is the mistake I made at first: I put each agent’s unique instructions at the top of its prompt, followed by the meeting transcript. Because the very first sentence was different for every agent, cache reuse was 0%.
The fix was tiny: flip the order so every agent starts with the exact same transcript, and only the last line changes:
Every agent's prompt: [Shared Meeting Transcript] → [Agent's Short Task]
Step 4: Warm First, Then Run in Parallel
There was one more subtle catch. If you launch all four agents at the exact same millisecond on an empty cache, all four start reading the transcript before any of them finishes caching it.
So I split execution into two stages:
- Stage 1: InsightsAgent runs alone first. It produces the summary and warms the TPU cache with the transcript.
- Stage 2: DecisionsAgent, RisksAgent, and ActionsAgent launch together in parallel and immediately reuse the warm cache.
Build It Yourself
You need a Google Cloud project with Cloud TPU v6e quota, the gcloud CLI, a Hugging Face account that has accepted the Gemma license, and basic Python.
Cost warning: a v6e-1 costs about $2.70 an hour on-demand and keeps charging while idle. Delete it when you finish.
1. Create the TPU and open the tunnel (on your laptop)
export PROJECT_ID=your-gcp-project-id
export ZONE=europe-west4-a
gcloud compute tpus tpu-vm create meeting-tpu
--project=$PROJECT_ID --zone=$ZONE
--accelerator-type=v6e-1 --version=v2-alpha-tpuv6e
gcloud compute tpus tpu-vm ssh meeting-tpu
--project=$PROJECT_ID --zone=$ZONE
-- -L 8000:127.0.0.1:8000
2. Install and serve Gemma (inside the TPU VM)
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
uv venv --python 3.12 ~/vllm-env
uv pip install --python ~/vllm-env/bin/python
--extra-index-url https://download.pytorch.org/whl/cpu
vllm-torchtpu huggingface_hub
export HF_TOKEN="hf_..."
~/vllm-env/bin/huggingface-cli login --token "$HF_TOKEN"
export VLLM_TORCHTPU_BACKEND=tpu
~/vllm-env/bin/vllm serve google/gemma-3-4b-it
--host 127.0.0.1 --port 8000
--tensor-parallel-size 1 --dtype bfloat16
--max-model-len 8192 --max-num-seqs 16
--enable-prefix-caching
Startup takes 2 to 3 minutes.
3. Run the four agents (on your laptop, in a second terminal)
git clone https://github.com/geeta-gwalior/tpu-meeting-intelligence.git
cd tpu-meeting-intelligence
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
cp .env.example .env
.venv/bin/python step2_adk_pipeline.py
The script reads sample_meeting.txt, prints the structured JSON and saves it to meeting_output.json.
The core idea in code
This is a shortened excerpt from step2_adk_pipeline.py, showing one of the three parallel agents:
def build_instruction(task_text):
# Transcript first, task last: every agent shares the same prefix
return f"{shared_transcript}nnYOUR TASK: {task_text}"
decisions_agent = LlmAgent(
name="DecisionsAgent",
model=model,
instruction=build_instruction(
"Extract all explicit decisions with status and owner."),
include_contents="none",
output_schema=DecisionsOutput,
output_key="decisions",
)
# Warm the cache first, then fan out
parallel_stage = ParallelAgent(
name="ParallelSpecialists",
sub_agents=[decisions_agent, risks_agent, actions_agent],
)
workflow = SequentialAgent(
name="MeetingIntelligencePipeline",
sub_agents=[insights_agent, parallel_stage],
)
4. Delete the TPU
gcloud compute tpus tpu-vm delete meeting-tpu
--project=$PROJECT_ID --zone=$ZONE --quiet
What Happened When I Tested It on Real TPU Hardware
I ran three experiments on a single Cloud TPU v6e-1 using synthetic confidential meetings (M&A due diligence, a security postmortem, a board pricing review, a legal vendor review, and an APAC data-residency sync).
Result 1: Prompt Order Took Cache Reuse from 0% to 69%
I tested the same meeting at four lengths — from a quick 10-minute standup (~1,000 tokens) up to a full 1-hour board meeting (~6,000 tokens) — and read the live cache hit counters straight from vLLM.

- With the naive layout (task first), cache reuse was 0% at every length.
- With the transcript-first layout, overall cache reuse grew steadily with meeting length: 45% at ~1k tokens, 61% at ~2k, 67% at ~4k, and 69% at ~6k tokens.
- On the three parallel agents alone, that works out to roughly ~92% estimated reuse on a 1-hour meeting, making the full 4-agent pipeline up to 1.29× faster (the gain varied by length, and was only about 2% at ~2k tokens).
Why did longer meetings benefit so much more? Checking vLLM’s metrics revealed a neat hardware detail: on Cloud TPU v6e, vLLM caches memory in 256-token blocks (compared to 16-token blocks on GPUs). Short transcripts leave a larger uncached tail at the end, while longer meetings fill dozens of complete 256-token blocks cleanly.
Result 2: Small Model vs. Bigger Model vs. Hosted Cloud API
Next, I ran five different confidential meetings — containing 55 total decisions, risks, and action items — across three setups: Gemma 3 4B on TPU, Gemma 3 12B on the same single TPU chip, and Gemini 3.5 Flash via a hosted cloud API.

The cost panel shows Spot prices for the TPU. Per 1,000 meetings: Gemma 3 4B is $0.94 Spot or $2.99 on-demand, Gemma 3 12B is $2.81 Spot or $8.93 on-demand, and hosted Gemini is about $3.20.
- Gemma 3 4B on TPU v6e-1 finished a full 4-agent meeting in 3.99 seconds — about 4× faster than Gemini’s median time of 16.2 seconds — and caught 54 out of 55 items. It also left room for over 213,000 tokens of KV cache on one chip.
- Gemma 3 12B on the exact same 32 GB chip caught 55 out of 55 items (matching Gemini) in 11.91 seconds, while keeping every word private. It fit comfortably on one chip because vllm-torchtpu automatically turned on FP8 KV cache compression.
- Hosted Gemini 3.5 Flash also found 55 out of 55 items, but averaged 29.9 seconds due to one slow 85-second tail-latency spike. I did not see a spike like that in the TPU runs, but five meetings are too few to draw a conclusion.
Result 3: The Real Reason to Use a TPU — Batch Throughput
Running one meeting at a time barely scratches the surface of what a TPU can do. TPUs are built to crunch many requests together in one batch.
To see the real advantage, I sent 32 meetings at a time with 1, 4, 8, and 16 meetings running simultaneously on that single v6e-1 chip (giving each meeting a unique ID so separate meetings could not cheat by sharing caches).

This was the biggest eye-opener of the project:
- At 1 meeting at a time, one TPU chip handled 915 meetings/hour (~$2.95 per 1,000 meetings on-demand).
- At 16 meetings at once, the exact same chip handled 8,686 meetings/hour — a ~9.5× jump in throughput — while each meeting only slowed down from 3.9 seconds to 6.3 seconds.
- That dropped the estimated on-demand TPU cost to $0.31 per 1,000 meetings (or $0.10 on Spot pricing) — roughly ten times cheaper than my ~$3.20 hosted API estimate. This holds only when the TPU is kept busy: an idle TPU still bills, and one meeting at a time on-demand ($2.95) saves very little.
Seeing It in Action: The Interactive Demo
To make the pipeline easy for anyone to try without touching a terminal, I built a clean single-file Streamlit app (demo_ui.py). Without the TPU tunnel, the demo uses hosted Gemini, so do not paste confidential notes in that mode. You can paste sample notes, upload a text file, click Run 4 Google ADK Agents Live, and watch Stage 1 and Stage 2 execute in real time – rendering color-coded decision badges, risk severity tags, and a clean action table instead of raw JSON.

What Broke Along the Way (Real Cloud TPU Lessons)
Building on real hardware is never as smooth as a slide deck. Here are the real snags I hit — and how I fixed them:
- Python Version Mismatch: The default Cloud TPU v6e image ships with Python 3.10, while vllm-torchtpu requires Python 3.12. Installing an isolated Python 3.12 environment with uv solved it in under a minute.
- Hidden TPU Device Lock: When I switched from Gemma 4B to Gemma 12B, the server crashed saying the TPU was still in use. vLLM’s worker renames itself to VLLM::EngineCore, so standard pkill missed it – freeing /dev/vfio/0 directly with fuser fixed it.
- Cold Startup Takes Patience: First-time XLA compilation takes 2 to 3 minutes. Capping –max-num-seqs to match your actual concurrency skips compiling unused batch sizes and speeds up boot time.
- Spot TPUs Really Do Get Preempted: My first discounted Spot v6e-1 was reclaimed by Google Cloud right in the middle of benchmarking. For production workloads, keep at least one on-demand TPU node and use Spot only for burst traffic.
- Don’t Run Production Traffic Over an SSH Tunnel: Idle connections dropped over SSH (Server disconnected) and spoiled my first throughput run. I added a retry and reran it, and 2 of 32 meetings still failed at the one-at-a-time level. In a real deployment, your agent service should sit inside the same VPC as the TPU.
Being Honest About the Limitations
Every benchmark has boundaries, and it is important to state them clearly:
- Synthetic Data: All six meetings were created for this sprint, and several explicitly label decisions and risks. Real human meetings are messier, so testing on real transcripts is the natural next step.
- Item Counts vs. Deep Fact-Checking: The 54/55 and 55/55 numbers measure whether all expected items were extracted, not an automated fact-check of every word.
- Estimated Costs: Costs are calculated from published hourly TPU rates and token estimates rather than a monthly cloud invoice.
- No GPU Benchmark: I compared Cloud TPU v6e against a hosted API, not against self-hosted GPUs.
Wrapping Up
A year or two ago, serving an open-weight model on a Cloud TPU and wiring it into a multi-agent framework felt like a massive infrastructure project. Today, with vLLM-TorchTPU and Google ADK, you can go from a fresh TPU VM to a private, structured multi-agent pipeline in an afternoon.
The real magic is in two simple architectural habits: putting shared context first so your agents reuse the TPU’s 256-token KV cache blocks, and letting the TPU batch concurrent requests so cost per meeting drops to pennies.
If you want to inspect the scripts, try the Streamlit demo, or reproduce the benchmarks yourself, everything is open on GitHub:
https://github.com/geeta-gwalior/tpu-meeting-intelligence
If this helped, follow me for the next hands-on build in GenAI, AI agents and open models. #TorchTPUSprint
https://medium.com/media/1fe022f965ae651d3b863ec24c07d72f/href
I Built a Private Multi-Agent Meeting Assistant on a Single Cloud TPU: Here Is What Actually… was originally published in Google Developer Experts on Medium, where people are continuing the conversation by highlighting and responding to this story.