Open-source, context-aware security proxy that prevents leaking sensitive data to AI services โ with first-class detectors for African regulated domains.
Ekล sits between your application and an AI provider, detects sensitive data in prompts, and either redacts or tokenizes it before it leaves your environment.
๐ฎ Try the live playground โโ ย ยทย ๐ฆ Source & full docs on GitHub โโ
docker run --rm -p 8080:8080 openray/eko:main-latest
Verify it is up:
curl http://localhost:8080/health
curl http://localhost:8080/ready
Sanitize a prompt:
curl -X POST http://localhost:8080/v1/sanitize \
-H "Content-Type: application/json" \
-d '{"prompt":"My BVN is 12345678901 and email is [email protected]"}'
| Tag | Description |
|---|---|
main-latest | Latest build from the main branch |
latest | Same image as main-latest |
sha-<commit> | Immutable build pinned to a specific commit |
Architectures: multi-arch manifest โ linux/amd64 and linux/arm64 (runs natively on Apple Silicon / ARM servers and x86).
Point the OpenAI SDK at Ekล โ only the base URL changes:
export OPENAI_BASE_URL="http://localhost:8080/v1"
Routes: POST /v1/chat/completions, POST /v1/responses, plus the core POST /v1/sanitize. Ekล forwards the sanitized request to the configured upstream.
docker run -d \
-p 8080:8080 \
-v $(pwd)/configs/config.yaml:/app/configs/config.yaml:ro \
-v $(pwd)/patterns:/app/patterns \
openray/eko:main-latest
Start from configs/config.example.yaml in the repo. For a Redis-backed token vault and the optional contextual SLM sidecar, use Docker Compose โ see the GitHub READMEโ .
Secrets: never bake
local_master_key, Vault tokens, or provider API keys into the image โ inject them at deploy time via your secrets manager.
API_KEY=, PASSWORD=)patterns/customOptional contextual detection of person names and addresses via an opt-in Small Language Model sidecar.
Prometheus-compatible metrics at GET /metrics; liveness and readiness at /health and /ready. A container HEALTHCHECK is built in.
Ekล (Yoruba): "to guard, to protect" โ built with โค๏ธ in Africa, for the world.
Content type
Image
Digest
sha256:7fe7fbd2dโฆ
Size
12.2 MB
Last updated
4 months ago
docker pull openray/eko