A general-purpose toolkit for constrained decisions, statistics, and learning from outcomes. Use Combo for resource allocation, service configuration, personalization, or tuning expensive experiments.
- Solve decisions: find feasible configurations or optimize a known objective.
- Track measurements: maintain streaming statistics and use them in decisions.
- Learn online: adapt decisions with contextual bandits.
- Optimize experiments: use forest or Gaussian-process Bayesian optimization, with support for noisy outcomes and parallel trials.
Available as a Kotlin Multiplatform library and an HTTP API. The library targets JVM, Linux x64, Linux ARM64, and macOS ARM64.
Start the HTTP server:
./gradlew :server:runCreate a model that minimizes worker count while meeting the current load:
curl -sS http://127.0.0.1:8080/v1/models \
-H 'Content-Type: application/json' \
-d '{
"space": {
"variables": {"workers": {"int": [1, 8]}},
"context": {"load": {"int": [1, 8]}},
"constraints": {
"capacity": {"ge": [{"ref": "workers"}, {"ref": "load"}]}
}
},
"objective": {"minimize": "workers"}
}'Use the returned id to request a decision:
curl -sS 'http://127.0.0.1:8080/v1/models/<id>/recommend' \
-H 'Content-Type: application/json' \
-d '{"given": {"load": 3}}'The result is workers: 3. For measured objectives, propose configurations and
report their outcomes to learn better decisions over time.
- HTTP API guide — statistics, decisions, and observed outcomes.
- Kotlin library guide — decision spaces, bandits, and Bayesian optimization.
- Benchmarks — Kotlin workloads and eignex-lab integration.
Built on Klause for constraints and Kumulant for streaming statistics and models.