Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

2.7 KB
Raw Blame

SIE integration

SIE is opt-in. ./start-services.sh and default Compose start the server + dashboard only — they never start SIE.

Source of truth: docs/user-guide/sie-setup.md.

Happy path — remote gateway (recommended)

Finish Getting started first so :8001 is up.

In the project .env:

SIE_ENABLED=true
SIE_ENDPOINT=https://your-sie-gateway.example.com
SIE_API_KEY=your_gateway_token

Restart or reload the rag-params-finder server after changing .env.

Check the gateway, then the app health. Values in .env are not exported to the shell automatically:

set -a
source .env
set +a
curl -H "Authorization: Bearer $SIE_API_KEY" "$SIE_ENDPOINT/healthz"
curl -s http://localhost:8001/health
# → "sie":"reachable"

First success: "sie":"reachable", then one sweep:

# from the rag-params-finder repo root, with CLI installed (see project QUICKSTART)
rag-params-finder run --config configs/mongodb/example-sie.yaml

Config file: configs/mongodb/example-sie.yaml. On Postgres/Supabase use configs/supabase/example-sie.yaml instead.

Compare results in the dashboard at http://localhost:5374.

Alternate — self-hosted Docker

Use when you have no remote gateway. Needs Docker, disk for model weights, and usually HF_TOKEN on the SIE container (not for app routing).

Typical host endpoint:

SIE_ENABLED=true
SIE_ENDPOINT=http://localhost:8720
# SIE_API_KEY usually unset for local unauthenticated server

Full docker run flags, warm-up (wait for encode 200, not only /healthz), Apple Silicon notes, and Aim UI: Self-hosted Docker in sie-setup.md.

When the server runs in Docker and SIE on the host, use http://host.docker.internal:8720 as SIE_ENDPOINT.

Env vars (same for remote and local)

Variable Role
SIE_ENABLED Master on/off (default false)
SIE_ENDPOINT HTTP base URL of the SIE gateway or local server
SIE_API_KEY Bearer token when the gateway requires auth

Details and smoke tests (including POST /api/v1/sweep): sie-setup.md.

Next

Understand models and primitives: What SIE does here. Stuck? Troubleshooting.