Skip to main content

ConversimpleAgent Configuration

Constructor Parameters

Required Parameters

api_key str
  • Your Conversimple API key
  • Format: cs_live_* (production) or cs_test_* (development)
  • Get from: Dashboard → Settings → API Keys
customer_id str
  • Your customer/organization ID
  • Format: cust_*
  • Get from: Dashboard → Settings → Account

Optional Parameters

platform_url str
  • WebSocket URL for the platform
  • Default: "ws://localhost:4000/sdk/websocket" (development)
  • Production: "wss://app.conversimple.com/sdk/websocket"
mode str connection_timeout int
  • Connection timeout in seconds
  • Default: 10
  • Increase for slow networks
log_level str
  • Logging level: "DEBUG", "INFO", "WARNING", "ERROR"
  • Default: "INFO"

Environment Variables

Standard Variables

Usage

Example Configurations

Development

Production