Install
openclaw skills install banditdbBanditDB is an in-memory decision database for AI agents — real-time learning from outcomes. Use it to auto-tune notification timing, model routing, or prompt selection.
openclaw skills install banditdbBanditDB is a self-hosted decision database. It learns which choice works best for which context through contextual multi-armed bandits — no ML pipeline required.
Install BanditDB from GitHub releases or run the Docker image (see references/api.md for details).
Default port: 8080. Verify by requesting GET /campaigns.
Three-step loop — create once, then predict and reward repeatedly:
For full API details, request/response examples, and MCP tool registration, see references/api.md.
The context vector is the most important design decision. Each float encodes something about the current situation. Normalize values to roughly 0–1 range.
Examples:
[hour_of_day/24, day_of_week/7, messages_today/10, last_response_delay_mins/60][query_length/500, has_code_mention, has_url, specificity_score][task_complexity, domain_familiarity, output_length_needed, structured_output]