Skip to content
EignexPublic

About

General-purpose toolkit for constrained decisions, streaming statistics, contextual bandits, and Bayesian optimization. Kotlin Multiplatform library and HTTP API.

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Repository files navigation

Eignex

COMBO

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.

Quick start

Start the HTTP server:

./gradlew :server:run

Create 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.

Documentation

Built on Klause for constraints and Kumulant for streaming statistics and models.

About

General-purpose toolkit for constrained decisions, streaming statistics, contextual bandits, and Bayesian optimization. Kotlin Multiplatform library and HTTP API.

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages