Send AI bots into Zoom, Google Meet and Microsoft Teams. Record, transcribe, summarize and stream meetings, and run voice agents that talk back.
pip install meetstream-sdkPython 3.8+. Sync and async. Ships type information.
Pick a track before you write code. Guide: Integration paths.
| Track | What it is | Price per meeting hour |
|---|---|---|
| 1. Recording bot | The bot joins Zoom, Google Meet or Microsoft Teams, records and transcribes. 1a. Non-realtime (post-call): wait for the bot to finish, then get the transcript, recordings and participants; webhooks tell you when. 1b. Real-time (live): live transcription webhook, real-time audio WebSocket, meeting control socket, chat, raise or lower hand. Start here unless you want an agent in the meeting. | Bot price |
| 2. Bridge server (your own stack, local) | The bot connects out to your server over two WebSockets: meeting audio in, and audio, chat and images out. You run your own speech-to-text, LLM and text-to-speech, free local models included. | Bot price only |
| 3. Agents API infra (hosted by MeetStream) | MeetStream hosts the voice agent (API name: MIA). 3a. MeetStream's own, default keys. 3b. Bring your own agent infra (LiveKit): coming soon. 3c. Bring your own keys. 3d. Local agent (your own agent CLI): coming soon. | Bot price + $0.25 agent infrastructure + the models you pick |
Bot price: $0.35 per recording hour ($0.25 at volume). The MeetStream transcription add-on is $0.10 per hour; it is waived when you use your own provider key. See pricing.
Want an agent but not sure which track? Run your own stack (track 2, any models, local ones included), or let MeetStream host it (track 3a or 3c, no infrastructure work).
First decide: do you need the transcript after the call (1a), or something during the call (1b)?
1a. Non-realtime transcription (post-call): create a bot, wait for webhooks, then read the transcript, recordings and participants.
from meetstream import MeetStream
meetstream = MeetStream() # reads MEETSTREAM_API_KEY
# 1. Send the bot. Only meeting_link is required.
bot = meetstream.bots.create({
"meeting_link": "https://meet.google.com/abc-defg-hij",
"bot_name": "Notetaker",
"video_required": False, # audio only (the API default); send True only when video is needed
"callback_url": "https://you.example.com/webhook", # 2. lifecycle webhooks
"recording_config": {
"transcript": {"provider": {"meetstream": {"language": "auto"}}} # no provider key needed
# Recording video? Add "video_layout": "speaker_view" (the API defaults to grid_view).
},
})
# 3. Bounded wait for the transcript (also stops at once if it failed).
transcript = meetstream.transcripts.wait_for(bot["transcript_id"])
audio = meetstream.bots.audio(bot["bot_id"])
people = meetstream.bots.participants(bot["bot_id"])1b. Real-time transcription (live): use the live transcription webhook (live_transcription_required with a *_streaming provider), the real-time audio WebSocket (live_audio_required), the meeting control socket (socket_connection_url), chat (bots.send_message) and raise or lower hand (bots.raise_hand / bots.lower_hand, which is POST /api/v1/bots/{bot_id}/send_command with {"command": "raise_hand"}).
meetstream.bots.create({
"meeting_link": "https://zoom.us/j/123456789",
"recording_config": {"transcript": {"provider": {"meetstream_streaming": {"transcription_mode": "sentence"}}}},
"live_transcription_required": {"webhook_url": "https://you.example.com/live"},
})
meetstream.bots.raise_hand(bot_id) # the bot must be in the meeting (409 otherwise)Get a key at app.meetstream.ai/api-key.
The bot opens two WebSockets to your server: live meeting audio comes in on live_audio_required.websocket_url, and the meeting control socket (socket_connection_url.websocket_url) carries the audio, chat, images and interrupts that you send back. Your server runs the speech-to-text, LLM and text-to-speech. MeetStream charges the bot price only: no agent infrastructure and no model tokens. To run the bridge on a laptop, expose it with a local tunnel (for example ngrok or cloudflared) and use the tunnel's wss:// URL.
meetstream.bots.create({
"meeting_link": "https://meet.google.com/abc-defg-hij",
"bot_name": "Assistant",
"live_audio_required": {"websocket_url": "wss://your-tunnel.example.com/bridge/audio"}, # audio in
"socket_connection_url": {"websocket_url": "wss://your-tunnel.example.com/bridge"}, # audio, chat, images out
})Models you can use (free to run locally; check each model's license before commercial use):
- Speech-to-text: whisper.cpp or faster-whisper (Whisper models), NVIDIA Parakeet (parakeet-mlx on Apple silicon), Vosk, Moonshine.
- LLM: a local model through Ollama, LM Studio or llama.cpp (Llama, Qwen, Gemma, Mistral), or the model of the harness you already use.
- Text-to-speech: Piper, Kokoro, Chatterbox, macOS
say.
Starter: MeetStream Bridge (FastAPI, OpenAI Realtime by default; swap in local models). Guides: Bridge server architecture, Real-time audio streaming, Meeting control patterns.
MeetStream hosts the voice agent (API name: MIA). 1. Save an agent config. 2. Send a bot with its agent_config_id. Nothing else is needed on the bot.
agent = meetstream.mia.create({
"agent_name": "Meeting assistant",
"mode": "pipeline",
"transcriber": {"provider": "deepgram", "model": "nova-3", "key_source": "meetstream"},
"model": {"provider": "openai", "model": "gpt-4.1", "key_source": "meetstream",
"system_prompt": "You are a helpful meeting assistant. Keep answers short.",
"first_message": "Hi, I'm an AI assistant on this call."},
"voice": {"provider": "openai", "voice_id": "coral", "key_source": "meetstream"},
})
meetstream.bots.create({"meeting_link": meeting_link, "agent_config_id": agent["agent_config_id"]})- 3a. MeetStream's own, default keys. Set
"key_source": "meetstream"on each pipeline section (transcriber,model,voice), with noapi_key. Inbuilt keys work in pipeline mode only: Deepgram (speech-to-text) and OpenAI (LLM and voice). Realtime mode runs on OpenAI and needs your own OpenAI key. Any other provider: bring your own key (3c). The easiest choice if you want MeetStream to host everything. - 3b. Bring your own agent infra (LiveKit). Coming soon. Not available yet.
- 3c. Bring your own keys. Add your provider keys (OpenAI, Anthropic, Deepgram, ElevenLabs and others in the docs) under Integrations, and pick any supported model. Use
"key_source": "user"or leave it out. Your provider bills you for model usage. - 3d. Local agent (your own agent CLI). Coming soon. Not available in production yet. Your own agent (for example Claude Code, Codex or Hermes) will write what the voice agent says, through
meetstream setupandmeetstream agent serveover the MeetStream relay (no tunnel) andmodel.provider: "local_agent". When it ships, meeting speech will reach an agent that has access to your computer and terminal, so a participant can try prompt injection: use the lowest access level. - Price: bot price + $0.25 agent infrastructure + the per-hour price of each model you pick (with 3c, your provider bills the models). The dashboard agent editor shows the rate before the bot runs. See Voice agent pricing and keys and the MIA API guide.
If inbuilt keys are not on for your account yet, the API answers 400 with MeetStream-managed keys are not available for <section>. Use your own key. Check with is_inbuilt_keys_unavailable(e), then use your own key for that section (3c). Do not retry the same request.
A hosted agent bot takes only agent_config_id. Never add live_audio_required or socket_connection_url to it: that is the usual cause of a silent agent. A bridge server (track 2) is a separate bot.
from meetstream import AsyncMeetStream
async with AsyncMeetStream() as meetstream:
bot = await meetstream.bots.create({"meeting_link": "https://zoom.us/j/123"})
status = await meetstream.bots.status(bot["bot_id"])The MeetStream API has a handful of behaviours that look like bugs until you know them. This SDK encodes all of them so you do not rediscover them in production.
| The trap | What the SDK does |
|---|---|
202 sits inside the 2xx range and means "not ready yet", not success |
Raises NotReadyError instead of handing you an empty body |
507 looks like a failure but is an idempotent replay |
Returns the original resource as success |
Streaming-only providers return 202 forever - no post-call transcript ever exists |
wait_for() is always bounded and tells you exactly why it gave up |
Transcripts are keyed by transcript_id, not bot_id |
transcripts.get() takes the right id |
Segments use transcript, not text |
Documented at every call site |
remove_bot is a GET, and 202 there means "stop in progress" |
bots.remove() handles both and returns the stop state |
| Large speaker timelines come back as a download link | bots.speaker_timeline(bot_id, download=True) always returns the timeline |
REST uses Token, the MCP server uses Bearer |
Correct scheme sent automatically |
MIA takes only agent_config_id |
Extra bridge fields are the usual cause of a silent agent |
Bots - lifecycle, media, live interaction
meetstream.bots.create(params, idempotency_key=uuid)
meetstream.bots.list()
meetstream.bots.get(bot_id) # same record as detail()
meetstream.bots.status(bot_id)
meetstream.bots.detail(bot_id) # includes transcript_id
meetstream.bots.remove(bot_id) # leave, keep the data; returns the stop state
meetstream.bots.stop_status(bot_id) # progress of the stop, without stopping again
meetstream.bots.delete_data(bot_id) # irreversible
meetstream.bots.audio(bot_id)
meetstream.bots.video(bot_id)
meetstream.bots.audio_streams(bot_id) # per-participant audio
meetstream.bots.recording_streams(bot_id) # per-participant video
meetstream.bots.screenshots(bot_id, limit=25, continuation_token=None)
meetstream.bots.screenshot(bot_id, screenshot_id)
meetstream.bots.wait_for_audio(bot_id) # bounded
meetstream.bots.participants(bot_id)
meetstream.bots.chats(bot_id)
meetstream.bots.speaker_timeline(bot_id, download=True) # follows the download link for large timelines
meetstream.bots.send_message(bot_id, "Recording has started.")
meetstream.bots.send_image(bot_id, "https://…/slide.png", display_duration=5)
meetstream.bots.pause_recording(bot_id) # privacy window
meetstream.bots.resume_recording(bot_id)
meetstream.bots.raise_hand(bot_id) # Google Meet, Zoom, Teams; response has hand_raised
meetstream.bots.lower_hand(bot_id)
meetstream.bots.send_command(bot_id, "raise_hand") # the generic form
meetstream.bots.update_mia(bot_id, {"system_prompt": "..."}, wait_for_ack=True) # live MIA agentbots.summary() is deprecated: the API has no summary endpoint. Build summaries from the transcript.
New create options, all optional:
meetstream.bots.create({
"meeting_link": "https://zoom.us/j/123",
"zoom": {"obf_url": "https://you.example.com/zoom/obf"}, # Zoom: join through your Zoom app with an OBF token
"storage_id": "eu-archive", # a storage destination saved in the dashboard
"bot_camera_stream": {"websocket_url": "wss://you.example.com/signal"}, # your video on the bot's camera
"automatic_leave": {"recording_permission_denied_timeout": 600}, # Zoom, 60-600
"recording_config": {
"transcript": {"provider": {"smallest": {"model": "pulse", "language": "en"}}}, # or smallest_streaming
"realtime_endpoints": [{
"type": "webhook", "url": "https://you.example.com/rt",
"events": ["participant_events.raise_hand", "participant_events.lower_hand"],
}],
},
})Zoom bots join through the customer's Zoom app (Meeting SDK) with an OBF token (on behalf of a user who is in the meeting, zoom.obf_url) or a ZAK token (a signed-in bot, zoom.zak_url), the way Zoom asks Meeting SDK apps to join since 2 March 2026. Setup: Zoom Marketplace app setup · Zoom authenticated bots (ZAK and OBF). On Google Meet and Teams, video_layout also accepts "speaker_view_default" and "grid_view_default" (the platform's own view).
Transcripts
meetstream.transcripts.get(transcript_id)
meetstream.transcripts.get_by_bot(bot_id) # no transcript_id lookup needed
meetstream.transcripts.wait_for(transcript_id, timeout=900)
meetstream.transcripts.list_for_bot(bot_id)
meetstream.transcripts.transcribe_bot_audio(bot_id) # rescue a streaming-only botEach segment names the speaker in participant.name and holds the text in words[].text:
from meetstream import segment_speaker, segment_text
for segment in meetstream.transcripts.get(transcript_id):
print(f"{segment_speaker(segment)}: {segment_text(segment)}")Calendar - auto-join and scheduling
meetstream.calendar.connect_google({
"google_client_id": ..., "google_client_secret": ..., "google_refresh_token": ...,
})
meetstream.calendar.connect_outlook({...})
meetstream.calendar.list() # calendars on every connected account
meetstream.calendar.list_connections() # connected Google / Outlook accounts
meetstream.calendar.delete_connection("google", "me@acme.com", purge_events=False)
meetstream.calendar.disconnect({"provider": "google", "account_id": "me@acme.com"})
meetstream.calendar.events()
meetstream.calendar.schedule_event(event_id)
meetstream.calendar.list_scheduled_bots()
meetstream.calendar.reschedule_bot(bot_id, "2026-09-01T10:00:00Z")
meetstream.calendar.enable_auto_schedule()Agents API (MIA voice agents)
meetstream.mia.create(config) # returns agent_config_id
meetstream.mia.get(agent_config_id)
meetstream.mia.list()
meetstream.mia.update(agent_config_id, {"agent": {"chat_input": True}}) # PUT: send whole blocks
meetstream.mia.delete(agent_config_id)
meetstream.mia.check_local_agent(agent_config_id) # track 3d (local agent), coming soon in production
# Attach it with ONE field. Adding socket_connection_url or
# live_audio_required alongside is the usual cause of a silent agent.
meetstream.bots.create({"meeting_link": meeting_link, "agent_config_id": agent_config_id,
"agent_config_params": {"customer": "Ana"}})
# Change a running agent. The saved config does not change.
meetstream.mia.update_live(bot_id, {"system_prompt": "..."}, wait_for_ack=True) # same as bots.update_miaAgent options from API v1.10.0:
meetstream.mia.create({
"agent_name": "Presenter",
"mode": "pipeline",
"transcriber": {"provider": "deepgram", "language": "es"}, # honoured; unset, "multi" or "auto" = detect
"model": {"provider": "openai", "model": "gpt-4.1"}, # a vision-capable model for "screen"
"voice": {"provider": "openai", "voice_id": "coral"},
"agent": {
"tools": ["screen"], # Google Meet: present and work a live web page
"chat_input": True, # chat messages that name the agent are requests
"quiet_actions": True, # act without talking through each step
"speak_only_when_asked": True, # speak only when addressed by name
},
})The local agent (track 3d, model.provider: "local_agent") is coming soon in production; see Track 3.
Claude works as the LLM in pipeline mode with your Anthropic key: "model": {"provider": "anthropic", "model": "claude-sonnet-5-5", "reasoning_effort": "low"}.
boostwords on the transcriber fixes most "it mishears our company name" complaints, and mcp_servers is what turns a talking bot into one that can do work mid-call. Secrets come back masked (**** plus the last four characters); sending a masked value back in mia.update() keeps the stored secret.
Billing
from meetstream import BalanceUnavailableError
try:
balance = meetstream.billing.balance() # GET /billing/balance, read only
print(balance["balance_usd"]) # decimal string such as "12.34", or None for invoice accounts
except BalanceUnavailableError as e:
print("See your balance at", e.billing_url)The balance endpoint is available when it is on for your account. Until then it answers 404, which the SDK raises as BalanceUnavailableError (not retried). Top up at app.meetstream.ai/billing. A create with low credits returns 403 Low credits please recharge; do not retry it in a loop.
Integrations - Google and Teams signed-in bots, authenticated Zoom joins, Zoom Meeting Direct Connect, your own storage
meetstream.google_logins.create_domain({...})
meetstream.google_logins.create({...})
# Teams signed-in bots: one concurrent bot per Microsoft account; bot_name is not applied
meetstream.teams_logins.create_domain({"domain": "bots.acme.com", "name": "Acme bots", "login_mode": "always"})
meetstream.teams_logins.create({
"domain": "bots.acme.com",
"email": "bot1@bots.acme.com",
"password": os.environ["TEAMS_BOT_PASSWORD"], # write-only, never returned
})
meetstream.bots.create({
"meeting_link": "https://teams.microsoft.com/l/meetup-join/...",
"bot_name": "Notetaker", # required, though the Microsoft account's own name is shown
"teams": {"login_required": True, "teams_login_domain": "bots.acme.com"},
})
# Authenticated Zoom joins: each URL is an HTTPS endpoint on your server that returns a fresh token
meetstream.bots.create({"meeting_link": link, "bot_name": "Notetaker", "zoom": {"zak_url": "https://you.example.com/zoom/zak"}})
meetstream.bots.create({"meeting_link": link, "bot_name": "Notetaker", "zoom": {"obf_url": "https://you.example.com/zoom/obf"}})
# Zoom Meeting Direct Connect: record a Zoom meeting with no bot in it, through your own Zoom app
session = meetstream.meeting_direct_connect.create({"zoom_rtms": {...}}) # from Zoom's meeting.rtms_started webhook
meetstream.meeting_direct_connect.get(session["bot_id"])
meetstream.meeting_direct_connect.leave(session["bot_id"])
# Your own storage: save destinations in the dashboard, then choose one per bot
meetstream.bots.create({"meeting_link": link, "storage_id": "eu-archive"})meetstream.storage is deprecated: the routes it calls are not served by the API. Use storage_id instead.
Teams setup (dedicated Microsoft 365 tenant, account requirements, errors): Teams signed-in bots guide.
Verify before you trust. Pass the raw body - re-serializing a parsed dict changes key order and the signature will never match.
from flask import Flask, request
from meetstream import parse_webhook, is_terminal, stop_reason, describe_stop
app = Flask(__name__)
@app.post("/webhook")
def webhook():
try:
event = parse_webhook(
request.get_data(), # raw bytes, not request.json
request.headers.get("X-MeetStream-Signature", ""),
os.environ["WEBHOOK_SECRET"],
)
except ValueError:
return "", 401
if is_terminal(event):
print(stop_reason(event), describe_stop(event))
return "", 200 # ack fast, process asyncRaised hands arrive as participant_events.raise_hand and participant_events.lower_hand, only on the realtime endpoints that list them in events (never on workspace webhooks). hand_event(event) returns "raise_hand", "lower_hand" or None.
Terminals are two-layer. Every ending arrives once as event: "bot.stopped", and bot_event says why: bot.stopped, bot.kicked, bot.notallowed, bot.denied or bot.failed. Not admitted, denied and failed carry status_code: 500. stop_reason(event) reads it for you (a kick and a clean exit both report bot_status: "Stopped", so don't branch on that). bot.error is not terminal; the bot keeps running. bot.done is the final event on every path, streaming-only bots included. Every event carries a timestamp.
from meetstream import NotReadyError, TranscriptFailedError, RateLimitError, BadRequestError, MeetStreamError
try:
meetstream.transcripts.get(transcript_id)
except NotReadyError:
... # 202 - poll again
except TranscriptFailedError as e:
print(e.status, e.transcript_status, e.reason) # 422: final; fix the cause, then transcribe_bot_audio()
except RateLimitError as e:
time.sleep(e.retry_after or 5) # from Retry-After; e.body has limit and window
except BadRequestError as e:
print(e.message, e.code) # the API's own message, and its code when sent
except MeetStreamError as e:
print(e.status, e.request_id)e.message reads the body's message, then error, then a bare string body. Prepaid accounts have a per-minute and per-hour limit on bot creates; over it the API answers 429 and creates no bot. A failed transcript answers 422 and raises TranscriptFailedError with status, transcript_status, transcript_id and reason (for example the provider rejected the API key, or a usage limit was reached). It is final and not retried: fix the cause, then call transcripts.transcribe_bot_audio(bot_id).
AuthenticationError (401) means the header never arrived. PermissionError (403) means the key itself was rejected. That distinction saves a lot of debugging.
meetstream = MeetStream(
api_key=os.environ["MEETSTREAM_API_KEY"],
base_url="https://api.meetstream.ai/api/v1",
timeout=60.0,
max_retries=2, # 408, 429, 5xx and a 409 that sends Retry-After; honours Retry-After up to 60 s
default_headers={},
http_client=my_httpx_client,
)| Variable | Purpose |
|---|---|
MEETSTREAM_API_KEY |
Your key. Required unless passed explicitly |
MEETSTREAM_API_URL |
Override the API base |
Anything not yet wrapped is reachable through the raw transport:
meetstream.http.get("/some/new/endpoint")The package ships py.typed, so mypy and pyright pick up its annotations with no stub package. meetstream.types has optional TypedDicts for request and response shapes (CreateBotParams, ZoomOptions, CreateMiaParams, MiaModelConfig, KeySource, MiaLocalAgentConfig, BillingBalance, SpeakerTimelineDownload and more). Methods still take and return plain dicts.
| What | Where | |
|---|---|---|
| 🔌 | MCP server - 19 tools for any MCP client, hosted: add the URL and sign in | https://mcp.meetstream.ai/mcp |
| 📦 | TypeScript SDK | @meetstream/sdk |
| ⌨️ | CLI - meetstream, one binary: npm install -g @meetstream/cli, pipx install meetstream-cli or brew install meetstream-ai/tap/meetstream; agents call meetstream <command> --json --no-input |
meetstream-ai/cli |
| 🧪 | Labs - runnable templates | labs |
- Agents API:
mia.get,mia.check_local_agent,mia.update_live(withwait_for_ack). - Keys:
key_source("meetstream"or"user") ontranscriber,modelandvoice, andis_inbuilt_keys_unavailable(e). - Local agent (track 3d, coming soon in production):
model.provider: "local_agent"withMiaLocalAgentConfig. - API v1.10.0 agent options:
agent.tools(screen),agent.chat_input,agent.quiet_actions,agent.speak_only_when_asked,agent.desktop, andtranscriber.language. - Failed transcripts: a
422fromget_transcriptraisesTranscriptFailedErrorwithstatus,transcript_statusandreason. - Billing:
billing.balance()forGET /billing/balance, available when the endpoint is on for your account; a404raisesBalanceUnavailableError, which points to the billing page.
Full history: CHANGELOG.md.
- Integration paths: recording bot, bridge server, Agents API infra
- Bridge server architecture · Real-time audio streaming · Meeting control patterns
- Create your first bot · Create Bot payload reference
- Webhooks and events · Errors
- MIA API guide · Voice agent pricing and keys · MIA screen sharing and custom agents
- SDKs · OpenAPI
For the latest details, fetch the page with .md appended, read https://docs.meetstream.ai/llms.txt, or connect the docs MCP server at https://docs.meetstream.ai/_mcp/server. If this README and the docs differ, the docs are correct.
Support: support@meetstream.ai. MIT licensed.