Open-source CLI that connects a local Ollama instance to your Entity Enricher organization.
A tunnel lets the multi-tenant production platform call your laptop's local Ollama as if it were a regular LLM provider — useful for using models you already have downloaded, for offline-first workflows, or for keeping certain data on your machine.
- Source: https://github.com/TOT-Concept/ee-tunnel (this directory is maintained as a subtree of the main monorepo and synced here)
- License: MIT
- Docs: see
docs/ARCHITECTURE.md(Self-Service Ollama Tunnel section) in the main monorepo.
┌────────── Entity Enricher (production) ──────────┐
│ enrichment job → custom httpx transport │
│ hostname ollama.<your-org>.tunnel │
│ ↓ │
│ in-process WebSocket bridge ───────────┐ │
└─────────────────────────────────────────┼────────┘
│ WSS over :443
│
┌───────┴────────┐
│ ee-tunnel CLI │
│ (this binary) │
│ → localhost:11434
└────────────────┘
No new public ports. Everything goes through the existing HTTPS endpoint. Authentication is per-tunnel JWT (refresh + 15-min access tokens), bound to your organization. Revoke instantly from the Entity Enricher UI.
curl -fsSL https://entityenricher.ai/install.sh | sh(Windows: iwr -useb https://entityenricher.ai/install.ps1 | iex. Both URLs
are 302 aliases of install.sh / install.ps1
at the root of this repo.)
The installer prints what it's about to do (download URL, signature method,
install path), pauses 5 seconds, and verifies the binary's Sigstore keyless
signature before making it executable: releases are signed in CI by this
repo's release.yml GitHub OIDC identity and logged in the public
Rekor transparency log — there is no long-lived
signing key anywhere. Source https://entityenricher.ai/install.sh in less
(or read install.sh here) to audit it before running.
# 1. Create a tunnel in the Entity Enricher UI (Models → Tunnels → + New tunnel).
# Copy the refresh token from the modal.
# 2. Pair this device:
ee-tunnel pair --server https://entityenricher.ai <refresh-token>
# 3. Connect:
ee-tunnel
# ✓ Tunnel ready. Press Ctrl+C to stop.
# Other commands:
ee-tunnel status # show pairing state
ee-tunnel disconnect # forget local credentials (does NOT revoke server-side)
ee-tunnel version # print version| Variable | Effect |
|---|---|
EE_TUNNEL_OLLAMA_URL |
Override the local Ollama URL at connect time. |
Requires Go 1.23+.
go build -o ee-tunnel .
./ee-tunnel versionFor an editable install while hacking on the CLI, symlink the build output
onto your PATH so every rebuild is instantly live:
mkdir -p ~/.local/bin
go build -o tmp/ee-tunnel .
ln -sfn "$PWD/tmp/ee-tunnel" ~/.local/bin/ee-tunnel # ensure ~/.local/bin is on PATH