MeetingBaasMeeting Baas

Command line usage

Complete command-line interface options for launching Speaking Bots

Basic Usage

poetry run python scripts/batch.py [options]

Core Options

OptionDescriptionRequiredDefaultExample
-c, --countNumber of bot instancesYes--c 2
--meeting-urlVideo meeting URL to joinYes---meeting-url https://meet.google.com/xxx-yyyy-zzz
--personasSpace-separated list of personasNoRandom--personas baas_onboarder arctic_prospector
-s, --start-portStarting port for servicesNo8765--start-port 8765
--add-recorderAdd recording-only botNoFalse--add-recorder

Example Commands

Basic Bot Launch

poetry run python scripts/batch.py -c 1 --meeting-url LINK

Multiple Bots with Specific Personas

poetry run python scripts/batch.py -c 2 --meeting-url LINK --personas baas_onboarder arctic_prospector

Additional "passive" bot with recording

poetry run python scripts/batch.py -c 1 --meeting-url LINK --add-recorder

Technical Details

Port Allocation

  • Each bot requires 2 consecutive ports:
    • Bot process: port N
    • Proxy process: port N+1
  • Default starting port: 8765
  • Example with 2 bots:
    • Bot 1: 8765 (bot), 8766 (proxy)
    • Bot 2: 8767 (bot), 8768 (proxy)

Persona Selection

  • If specific personas provided: uses them in order
  • If not enough personas specified: fills with random selections
  • Validates persona existence before launch
  • Avoids duplicate personas when possible
  • Logs selected persona names and prompts

Interactive Controls

  • Press Enter: Add more bots with same configuration. You might be blocked by the default deduplication key settings.
  • Ctrl+C: Graceful shutdown of all processes

Error Handling

  • URL validation (must start with https://)
  • Port availability checking
  • Process monitoring and auto-recovery
  • Ngrok tunnel management
  • Graceful resource cleanup

Process Management

  • Automatic ngrok tunnel creation
  • Process output logging
  • Auto-cleanup on shutdown
  • Graceful termination of all components

On this page