Get Attach Gateway running in under 60 seconds. Add secure authentication and memory to any LLM engine.
Make sure you have these installed before starting
Get started with a simple pip install
pip install attach-dev
Launch Weaviate in Docker for context storage
docker run --rm -d -p 6666:8080 \
-e AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED=true \
semitechnologies/weaviate:1.30.5
Set up your authentication and memory settings
export JWT="<your-auth-token>"
export OIDC_ISSUER=https://your-domain.auth0.com
export OIDC_AUD=ollama-local
export MEM_BACKEND=weaviate
export WEAVIATE_URL=http://127.0.0.1:6666
Start the gateway and make your first authenticated request
attach-gateway --port 8080 &
curl -H "Authorization: Bearer $JWT" \
-d '{"model":"tinyllama","messages":[{"role":"user","content":"hello"}]}' \
http://localhost:8080/api/chat | jq .
Once running, Attach Gateway provides these capabilities out of the box