Kaiten
SDKs

OpenFeature Providers

Use OpenFeature SDKs with Kaiten as your flag provider.

OpenFeature Providers

Kaiten is OpenFeature-compatible via the OFREP (OpenFeature Remote Evaluation Protocol). This means you can use any OpenFeature SDK with a generic OFREP provider — no vendor-specific provider needed.

Supported Languages

LanguageOFREP Provider Package
Gogithub.com/open-feature/go-sdk-contrib/providers/ofrep
Pythonopenfeature-provider-ofrep
JavaScript/TypeScript@openfeature/ofrep-provider
Javadev.openfeature.contrib.providers.ofrep
.NETOpenFeature.Contrib.Providers.Ofrep

Configuration

All OFREP providers need two things:

  1. Base URL: Your Kaiten API URL (http://localhost:6000/api)
  2. Authorization Header: Bearer ksh_your_token_here

For language-specific examples, see Provider Configuration.

How It Works

Your Application

    │  OpenFeature SDK → getBooleanValue("my-flag", false, context)

    ├── OFREP Provider
    │   │
    │   └── POST /api/ofrep/v1/evaluate/flags/my-flag
    │       Authorization: Bearer ksh_xxx
    │       Body: {"context": {"tenantSlug": "..."}}

    └── Receives: {value: true, variant: "on", reason: "TARGETING_MATCH"}

Benefits

  • Standard API — no vendor lock-in; switch providers by changing config
  • Server-side evaluation — flags are evaluated on the Kaiten server, not in your app
  • Context-aware — pass any context variables for CEL targeting rules
  • Bulk evaluation — evaluate all flags in one request for efficiency

On this page