Skip to main content

Environment Variables

Set up your environment variables:
# API Configuration
RUNFLOW_API_URL=http://localhost:3001
RUNFLOW_API_KEY=your_api_key_here
RUNFLOW_TENANT_ID=your_tenant_id
RUNFLOW_AGENT_ID=your_agent_id

# Execution Context (optional - usually comes from engine)
RUNFLOW_EXECUTION_ID=exec_123
RUNFLOW_THREAD_ID=thread_456

# Development
RUNFLOW_ENV=development
RUNFLOW_LOCAL_TRACES=true
RUNFLOW_VERBOSE_TRACING=true  # Auto-sets observability mode to 'full'
NODE_ENV=development

Configuration Priority

  1. Explicit config in code
  2. .runflow/rf.json
  3. Environment variables
  4. Defaults

Next Steps