Docs › Operator Copilot

Operator Copilot

AI assistant grounded in your live IPAM / DNS / DHCP / Network data. Hosted-API or fully on-prem (Ollama). One provider config, hundreds of tools, real conversations about your network.

The README carries the short version; this page is the reference for how the Copilot behaves: provider failover, per-provider prompts and tool allowlists, the tool registry, the MCP endpoint, the chat surface, reliability guards and token caps. See also System Administration for the Admin → AI pages, and Architecture.

Provider + model

Tool registry (hundreds of tools — highlights below)

Each tool is gated by both the feature_module it belongs to (integrations.unifi off → UniFi tool disappears from the registry) and an admin-controlled per-tool allowlist at Admin → AI → Tools, so operators can trim what the model can see without touching code. Every tool can also be flipped per-provider via the AI Provider modal’s Tools tab — the right call for small Ollama models that struggle with hundreds of tool schemas.

The per-category bullets below are a representative tour, not an exhaustive enumeration — the canonical inventory is backend/app/services/ai/tools/ (one module per category, every @register_tool(...) decorator is a live entry) and the live /api/v1/ai/tools endpoint on a running install. Categories not surfaced here (multicast, host-config firewall / LLDP / syslog / SSH, …) round out the full registry.

MCP integration

Chat surface

Reliability + safety

Token / cost observability + per-user caps

Self-host with Ollama in five minutes

# On the Ollama host:
docker run -d --gpus all -p 11434:11434 \
  -e OLLAMA_CONTEXT_LENGTH=32768 \
  -e OLLAMA_KEEP_ALIVE=30m \
  -v ollama:/root/.ollama --name ollama ollama/ollama:latest

docker exec ollama ollama pull qwen3.5:latest

Then in SpatiumDDI: Admin → AI Providers → New → kind: openai_compat, base_url: http://<ollama-host>:11434/v1, default_model: qwen3.5:latest, save → click the floating “Ask AI” button. OLLAMA_CONTEXT_LENGTH is required — Ollama defaults to 2048 tokens which silently truncates the system prompt + tool schemas; the result is a model that hallucinates tool names. We recommend qwen3.5:latest for tool calling on the small open-weight class.