On-cluster LLM orchestrator (Ollama/llama3.2:3b) SSE-streamed security analysis, zero data egress
1.0K
Part of the NetworkPolicy Intelligence System (NPI).
Orchestrates the intelligence layer: reads audit_findings and anomaly_events, builds
structured prompts, and calls a fully on-cluster LLM (llama3.2:3b via Ollama, CPU-only
inference, no data ever leaves the cluster) to generate:
Responses are streamed back via Server-Sent Events (SSE) for a live "typing" chat experience
in the dashboard. Includes a 168-hour deduplication window (keyed on
anomaly_type + src_namespace + dst_namespace + dst_port) to avoid re-analyzing the same
recurring issue.
Measured performance: 3.8s time-to-first-token, 11.3s full analysis.
Python 3.11 (stdlib http.server, not FastAPI) · Ollama client · psycopg2 · TimescaleDB
docker pull nassimsai/llm-service:v1.0-pfe2026
Requires: DATABASE_URL env var, network access to an Ollama endpoint serving llama3.2:3b.
Content type
Image
Digest
sha256:8def317db…
Size
51.6 MB
Last updated
3 months ago
docker pull nassimsai/llm-service