Files
elizaos--eliza/plugins/plugin-meetings/docs/DEPLOYMENT.md
T
wehub-resource-sync 426e9eeabd
Voice Workbench / headless workbench (mocked backends) (push) Has been cancelled
Voice Workbench / real acoustic lane (nightly, provisioned only) (push) Has been cancelled
ci / test (push) Has been cancelled
ci / lint-and-format (push) Has been cancelled
ci / build (push) Has been cancelled
ci / dev-startup (push) Has been cancelled
gitleaks / gitleaks (push) Has been cancelled
Markdown Links / Relative Markdown Links (push) Has been cancelled
Quality (Extended) / Homepage Build (PR smoke) (push) Has been cancelled
Quality (Extended) / Comment-only diff guard (push) Has been cancelled
Quality (Extended) / Format + Type Safety Ratchet (push) Has been cancelled
Quality (Extended) / Develop Gate (secret scan + UI determinism) (push) Has been cancelled
Quality (Extended) / Develop Gate (lint) (push) Has been cancelled
Chat shell gestures / Chat shell gesture + parity e2e (push) Has been cancelled
Cloud Gateway Discord / Test (push) Has been cancelled
Benchmark Bridge Tests / benchmark (bunx @biomejs/biome check packages/lifeops-bench/src, benchmark-lint) (push) Has been cancelled
Benchmark Bridge Tests / benchmark (bunx vitest run --config packages/lifeops-bench/vitest.config.ts --root packages/lifeops-bench --passWithNoTests, benchmark-tests) (push) Has been cancelled
Build Agent Image / build-and-push (push) Has been cancelled
Dev Smoke / bun run dev onboarding chat (push) Has been cancelled
Dev Smoke / Vite HMR dependency-level smoke (push) Has been cancelled
Electrobun Submodule Guard / electrobun gitlink is fetchable (push) Has been cancelled
Publish @elizaos/example-code / check_npm (push) Has been cancelled
Publish @elizaos/example-code / publish_npm (push) Has been cancelled
Publish @elizaos/plugin-elizacloud / verify_version (push) Has been cancelled
Publish @elizaos/plugin-elizacloud / publish_npm (push) Has been cancelled
Sandbox Live Smoke / Sandbox live smoke (push) Has been cancelled
Snap Build & Test / Build Snap (amd64) (push) Has been cancelled
Snap Build & Test / Build Snap (arm64) (push) Has been cancelled
Test Packaging / elizaos CLI global-install smoke (node + bun) (push) Has been cancelled
Cloud Gateway Webhook / Test (push) Has been cancelled
Cloud Tests / lint-and-types (push) Has been cancelled
Cloud Tests / unit-tests (push) Has been cancelled
Cloud Tests / integration-tests (push) Has been cancelled
Cloud Tests / e2e-tests (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Apps Worker (Product 2) / Determine environment (push) Has been cancelled
Deploy Apps Worker (Product 2) / Deploy apps worker to apps-control host (${{ needs.determine-env.outputs.environment }}) (push) Has been cancelled
Deploy Eliza Provisioning Worker / Determine environment (push) Has been cancelled
Deploy Eliza Provisioning Worker / Deploy worker to Hetzner host (${{ needs.determine-env.outputs.environment }} @ ${{ needs.determine-env.outputs.deployment_sha }}) (push) Has been cancelled
Dev Smoke / Classify changed paths (push) Has been cancelled
supply-chain / sbom (push) Has been cancelled
supply-chain / vulnerability-scan (push) Has been cancelled
Build, Push & Deploy to Phala Cloud / build-and-push (push) Has been cancelled
Test Packaging / Validate Packaging Configs (push) Has been cancelled
Test Packaging / Build & Test PyPI Package (push) Has been cancelled
Test Packaging / PyPI on Python ${{ matrix.python }} (push) Has been cancelled
Test Packaging / Pack & Test JS Tarballs (push) Has been cancelled
UI Fixture E2E / ui-fixture-e2e (push) Has been cancelled
UI Fixture E2E / fixture-e2e (push) Has been cancelled
UI Story Gate / story-gate (push) Has been cancelled
vault-ci / test (macos-latest) (push) Has been cancelled
vault-ci / test (ubuntu-latest) (push) Has been cancelled
vault-ci / test (windows-latest) (push) Has been cancelled
vault-ci / app-core wiring tests (push) Has been cancelled
verify-patches / verify patches/CHECKSUMS.sha256 (push) Has been cancelled
Voice Benchmark Smoke / voice-emotion fixture smoke (push) Has been cancelled
Voice Benchmark Smoke / voiceagentbench fixture smoke (push) Has been cancelled
Voice Benchmark Smoke / voicebench-quality unit smoke (push) Has been cancelled
Voice Benchmark Smoke / voicebench TypeScript unit (no audio) (push) Has been cancelled
Voice Benchmark Smoke / voice bench smoke summary (push) Has been cancelled
Windows CI / windows ([bun run --cwd packages/app-core test bun run --cwd packages/elizaos test bun run --cwd packages/cloud/shared test], app-and-cli) (push) Has been cancelled
Windows CI / windows ([bun run --cwd packages/scenario-runner test bun run --cwd packages/vault test bun run --cwd packages/security test bun run --cwd plugins/plugin-coding-tools test], framework-packages) (push) Has been cancelled
Windows CI / windows ([bun run --cwd plugins/plugin-elizacloud test bun run --cwd plugins/plugin-discord test bun run --cwd plugins/plugin-anthropic test bun run --cwd plugins/plugin-openai test bun run --cwd plugins/plugin-app-control test bun run --cwd plugins/pl… (push) Has been cancelled
Windows CI / windows ([node packages/scripts/run-turbo.mjs run build --filter=@elizaos/core --filter=@elizaos/shared --filter=@elizaos/agent --concurrency=4 node packages/scripts/run-bash-linux-only.mjs scripts/verify-riscv64-buildpaths.sh node packages/scripts/run… (push) Has been cancelled
Windows CI / windows ([node packages/scripts/run-turbo.mjs run typecheck --filter=@elizaos/core --filter=@elizaos/shared --filter=@elizaos/cloud-shared --concurrency=4 bun run --cwd packages/core test bun run --cwd packages/shared test], core-runtime, 75) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:43:05 +08:00

5.6 KiB

Deploying meeting bots

@elizaos/plugin-meetings joins Google Meet / Microsoft Teams / Zoom by driving a real Chromium via playwright-core. That has hard host requirements: a Chromium binary must be resolvable, and — because Meet's isTrusted-click bot-detection is defeated with humanized XTEST input — a real X server should be available even on a "headless" box. This doc is the deployment matrix.

How the plugin decides support & headless mode

Two typed resolvers own all of this (src/platform-support.ts):

  • resolveMeetingRuntimeSupport(runtime){ supported, reason?, headless, chromiumPath? }. Unsupported when the host is a mobile embedding (ELIZA_PLATFORM=android|ios) or when no Chromium is resolvable (no bundled playwright download, no ELIZA_MEETINGS_CHROMIUM_PATH, and no system Chrome/Edge channel).
  • resolveHeadlessMode(env, platform)boolean:
    1. explicit ELIZA_MEETINGS_HEADLESS (true/1/yes/on vs false/0/no/off) wins;
    2. else auto-detect — headed when a display exists (macOS/Windows always; Linux only when DISPLAY or WAYLAND_DISPLAY is set), headless otherwise.

Headless uses Chromium's modern "new" headless (headless: true--headless=new), which keeps getUserMedia / WebAudio working. The classic headless mode disabled them and is never used.

Chromium resolution precedence

  1. ELIZA_MEETINGS_CHROMIUM_PATH — explicit binary (must exist, else a hard error).
  2. Playwright's bundled Chromium (when the browser download is installed).
  3. System channel fallback — chrome (Meet/Zoom) or msedge (Teams).

Headed-under-Xvfb vs pure headless — the recommendation

Recommended: headed Chromium under Xvfb (ELIZA_MEETINGS_HEADLESS=false + DISPLAY=:99). Google Meet cross-checks that admission clicks are trusted user gestures; the humanized input path (XTEST) needs a real X display to synthesize those, which Xvfb provides without a physical monitor. Pure headless (--headless=new, no X server) is best-effort for Meet (it often trips the anti-abuse interstitial) but reliable for Teams and Zoom, which do not gate on XTEST-grade input. Pick pure headless only for a Teams/Zoom-only deployment.

(a) Local desktop — headed, system Chrome

macOS / Windows / a Linux desktop with a session. Turn on the meetings feature in your agent config (features.meetings) — no env flag needed. A display is always present, so the plugin auto-selects headed, and it drives the Chrome or Edge you already have installed — no separate Chromium download.

# optional: pin a specific browser binary (otherwise your system Chrome/Edge is used)
# export ELIZA_MEETINGS_CHROMIUM_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"

(b) Linux server / Eliza Cloud container — Xvfb + headed Chromium + PulseAudio

A headless VPS or an Eliza Cloud container has no display. Run headed Chromium under Xvfb, and run PulseAudio so Zoom's web client has an audio sink to capture from.

apt packages

RUN apt-get update && apt-get install -y --no-install-recommends \
      # Chromium runtime deps
      libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 \
      libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 \
      libpango-1.0-0 libcairo2 fonts-liberation \
      # virtual display + humanized-input + clipboard
      xvfb xdotool xclip \
      # audio sink for Zoom capture
      pulseaudio \
  && rm -rf /var/lib/apt/lists/*

env

Enable the meetings feature in the agent config baked into (or mounted onto) the image; the vars below are runtime tuning, not an enable switch.

ENV ELIZA_MEETINGS_HEADLESS=false \
    DISPLAY=:99
# Point at a Chromium binary if you don't ship playwright's bundled download:
# ENV ELIZA_MEETINGS_CHROMIUM_PATH=/usr/bin/chromium

launch under Xvfb

Wrap the agent process so it inherits the virtual :99 display and a running PulseAudio daemon:

pulseaudio --start --exit-idle-time=-1
xvfb-run --server-num=99 --server-args="-screen 0 1280x720x24" \
  bun run start

xvfb-run exports DISPLAY=:99; hasDisplay() then reports a display, so the auto-detect picks headed even inside the container. Setting ELIZA_MEETINGS_HEADLESS=false makes the mode explicit and logged regardless.

(c) iOS / Android on-device — NOT supported

Browser automation cannot run in a mobile app sandbox — there is no spawnable Chromium, no XTEST, no PulseAudio. The plugin refuses to auto-enable on ELIZA_PLATFORM=android|ios even when an env key is set, and resolveMeetingRuntimeSupport() returns supported: false with a mobile reason.

Mobile users still get meeting transcripts via one of:

  • Route to a cloud-hosted agent — run the bot in an Eliza Cloud container/sandbox (topology (b) above) and consume the transcript from the mobile client over the dashboard/API. This is the intended path.
  • The Discord / voice path — Discord "meetings" are voice channels owned by the Discord connector, which captures audio natively without a browser bot.

Anti-bot caveat (read before trusting Meet in production)

Google Meet actively detects datacenter egress + automation. The launcher already omits the detectable --ignore-certificate-errors / --disable-web-security flags, pins a Client-Hints-consistent User-Agent, and strips navigator.webdriver. Even so, Meet admission is only reliable with humanized XTEST input under a real X display (Xvfb). Treat pure-headless Meet joins as best-effort; Teams and Zoom are robust headless.