[4.3.0] - November 20, 2025
Contextual Multi-Armed Bandit (CMAB) Support
This release introduces production-ready support for Contextual Multi-Armed Bandit (CMAB), enabling AI-powered experimentation that learns and adapts in real-time based on user context.
Key Features
CMAB Support - First stable Agent release with full CMAB capabilities:
- Full CMAB decision API integration using go-sdk v2.1.1
- In-memory LRU cache (default: 10,000 entries, 30m TTL)
- Redis cache for multi-instance deployments with shared decision caching
- Configurable prediction endpoint for testing/staging environments
- Flexible Redis authentication (auth_token, redis_secret, password fields)
Redis Streams with Auto-Detection - Intelligent notification sync:
- Automatic Redis version detection at startup
- Redis >= 5.0: Uses Redis Streams (persistent, acknowledged delivery with batching)
- Redis < 5.0: Falls back to Redis Pub/Sub
- Configurable batching, flush intervals, and retry logic
Enhanced Redis Authentication - Security scanner friendly:
- Supports multiple auth field names across all Redis services (ODP, UPS, CMAB, synchronization)
- Environment variable fallbacks: REDIS_PASSWORD, REDIS_ODP_PASSWORD, REDIS_UPS_PASSWORD, REDIS_CMAB_PASSWORD, REDIS_PUBSUB_PASSWORD
Related Pull Requests
- #446 - CMAB Config API Update
- #447 - CMAB Redis Cache Support
- #448 - Redis Streams Integration with Auto-Detection
Full Changelog:
v4.2.2...v4.3.0