Skip to content

Installation

Install the EvalHub server and a client to interact with it.

  • Python 3.11+ (client SDK and CLI)
  • Go 1.22+ (building the server from source)
  • Kubernetes/OpenShift cluster (for production deployment)
  • kubectl or oc CLI configured for your cluster
Terminal window
pip install "eval-hub-sdk[cli]"

Verify:

Terminal window
evalhub version

Install the TrustyAI Operator and deploy EvalHub with SQLite. No external database needed — suitable for development and testing. Data is lost when the pod restarts.

Terminal window
kubectl apply -f https://github.com/trustyai-explainability/trustyai-service-operator/releases/latest/download/trustyai-operator.yaml
kubectl apply -f - <<EOF
apiVersion: trustyai.opendatahub.io/v1alpha1
kind: EvalHub
metadata:
name: evalhub
namespace: evalhub
spec:
replicas: 1
database:
type: sqlite
providers:
- lm-evaluation-harness
- garak
- garak-kfp
- guidellm
- lighteval
- ibm-clear
collections:
- leaderboard-v2
- safety-and-fairness-v1
- toxicity-and-ethical-principles
EOF

For local development servers, first point the CLI at your server:

Terminal window
evalhub config set base_url http://localhost:8080
Terminal window
evalhub health
evalhub providers list