ninoxAI
The open-source, read-only AI SRE.
ninoxAI turns alert storms into incidents, investigates root cause over your live systems, and proposes human-approved fixes β without ever touching production.
Quickstart Β· AI SRE Β· Demo lab Β· Docs Β· Discord
Your monitoring tells you something broke. It pages you at 3am with fifty alerts for one outage and leaves the hard part to you:
What broke, why did it break, and what should we do next?
ninoxAI is a thin, local-first, monitoring-agnostic AI SRE layer that answers that question. It sits above Checkmk, Prometheus, Icinga2, Zabbix, webhooks, Docker, Kubernetes, AWS, Grafana, GitHub, Git and plain VMs, and:
- π Turns alert floods into incidents β one incident per outage, "confirmed by N tools", instead of one page per symptom.
- π Finds the noisy checks β flapping, over-sensitive, never-actioned β with evidence.
- π€ Investigates root cause β a tool-calling AI agent reads your live systems and forms a root-cause hypothesis.
- π§° Proposes classified fixes β copy-pasteable, ranked by risk and blast radius, for a human to gate.
π Read-only by design
ninoxAI observes, reasons, and recommends β it never executes anything. No commands run, no alerts acked, no thresholds changed, no write-back to production. Every fix is a copyable artifact a human approves. Gated, governed remediation is on the roadmap; unconditional auto-execute is not.
β‘ Quickstart
Try it in 60 seconds β no LLM, no API keys, fully offline:
cp .env.example .env # set NINOXAI_SECRET_KEY (one-liner is in the file)
docker compose up --build # β http://127.0.0.1:8765
docker compose exec ninoxai ninoxai generate-mocks
docker compose exec ninoxai ninoxai import data/mock_alerts.json
docker compose exec ninoxai ninoxai reprocess
# β /recommendations now shows reasoned threshold + flapping fixes
Local Python install (for development)
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\Activate.ps1
pip install -e ".[dev,embeddings]"
python -m ninoxai generate-mocks
python -m ninoxai import data/mock_alerts.json
python -m ninoxai reprocess
python -m ninoxai serve # β http://127.0.0.1:8765
Then light up the AI SRE: point ninoxAI at a tool-calling LLM (Anthropic / OpenAI / Mistral / a local Ollama) and connect your systems β either directly or via a ninox runner (below). The full end-to-end scenario β real monitoring tools and live investigator capabilities (Docker/Kubernetes/host/AWS/Grafana/GitHub) against a genuinely failing workload β lives in lab/.
π How it works
ingest β normalize β cluster β score noise β recommend β dashboard
β
agentic, read-only root-cause investigator
| Stage | What happens |
|---|---|
| ingest | Read-only adapters pull non-OK alerts from each source + JSON/CSV import. |
| normalize | Maps every source onto one schema + message fingerprint. |
| cluster | Groups by host / service / severity / time-window. Semantic embeddings optional. |
| noise | Frequency, ack-rate, ticket-rate, short-recovery, flapping β one 0β1 score. |
| recommend | Rule-based tuning recommendations with rationale + evidence. |
| investigate | A tool-calling LLM gathers live evidence β root-cause hypothesis + classified fixes. |
Cross-tool correlation: the same fault fires in every tool. The Incidents view groups clusters that share (host, severity, time-window) into one incident β "confirmed by N tools" β read-only, no merge.
π€ The AI SRE investigator
ninoxAI's standout capability. A tool-calling LLM drives a typed allowlist of read-only capabilities (a ReAct loop on native function-calling β reason β act β observe), builds a root-cause hypothesis from live evidence, and proposes classified fixes a human approves.
| Capability | Reads (all read-only) |
|---|---|
| π³ Docker | containers, logs, stats, inspect |
| βΈοΈ Kubernetes | pods, logs, events, deployments (in-cluster RBAC) |
| βοΈ AWS | CloudTrail change events, EC2, security groups, quotas (IAM read-role) |
| π Grafana | PromQL + LogQL over the datasource proxy |
| π GitHub | CI runs, releases, PRs β change-event RCA |
| πΏ Git | mirrored repos: commits, diffs, code & history search |
| π₯οΈ Host | CPU / mem / disk / processes / sockets / log tail (plain VMs) |
- Every action is classified
read_only Β· reversible Β· irreversible+ ascope(blast radius). Unknown coerces toirreversibleβ never silently auto. - Pre-grounded: the agent starts with a compact brief of your environment, so it diagnoses instead of rediscovering.
- Hardened: untrusted logs/diffs are injection-shielded, secrets are one-way scrubbed, and a grounding gate caps confidence when claims aren't backed by evidence.
Run it live-streaming in the agent console (/agent) or from the CLI. β Investigator internals
π¦ Distributed ninoxes β the agent's eyes, anywhere
The agent can investigate systems it can't reach directly. A ninox is a thin, outbound-only runner that lives inside one environment (cluster, VPC, on-prem segment), holds that environment's credentials locally, and dials home to the brain β no inbound firewall hole. It advertises a read-only capability surface the brain calls as if local.
ββββββββββββββββββββββ ββββββββββββββββββββββ
β ninoxAI brain β βββ outbound only βββ β ninox runner β
β dashboard Β· API β (the ninox dials β inside k8s/Docker/ β
β incidents Β· RCA β home; no inbound β AWS/on-prem/VM β
β AI SRE investigatorβ firewall hole) β credentials stay β
ββββββββββββββββββββββ βββ read-only evidence β local β
ββββββββββββββββββββββ
Capabilities self-select by environment β one binary, the right tools for the box it lands on. Connected ninoxes show up in the Parliament of Owls (/parliament). β Deployment & on-prem
π Connectors
All adapters are read-only β no ack, no downtime, no write-back. Configured in the UI (/connections), credentials Fernet-encrypted.
| Checkmk | Prometheus Alertmanager | Icinga2 | Zabbix | Generic Webhook | PRTG |
|---|---|---|---|---|---|
| β | β | β | β | β | β stub |
Want to teach the AI SRE to read your stack (Jira, Sentry, Postgresβ¦)? Point it at any MCP server, write a Python capability plugin, or expose tools via the runner protocol β every external tool runs through the same safety shell (namespaced, injection-scanned, classification-coerced). β Extending capabilities
π§ LLM providers
Default is template β fully offline: no LLM, no network, no API keys, no tracking. It works out of the box for summaries/recommendations but deliberately can't drive the agent (that needs tool-calling). Pick a remote per role β a cheap model for high-volume summaries, a strong one for the rare investigation:
| Provider | Notes |
|---|---|
| template | offline β no LLM, no network. Default. |
| mistral | cost-efficient, EU-hosted |
| anthropic | strong tool-calling β default for the investigator |
| openai | OpenAI, Azure, and local LLMs (vLLM / Ollama / LM Studio) via base URL |
Redaction + secret-scrubbing run before every remote call β hostnames, IPs, UUIDs, emails, paths become deterministic placeholders, restored only in proposed commands; credentials are one-way scrubbed and never returned. β Technical architecture
π οΈ Development
Full CLI reference, test setup, and lint rules live in docs/development.md.
π€ Contributing
Every contributor is an Owl. π¦ Pull requests, connector adapters, capability providers, and bug reports are all welcome β see CONTRIBUTING.md.
Community: Join the parliament on Discord.
π License
ninoxAI is fully open source under the Apache License 2.0 β free to use, self-host, fork, and build on, in open or closed projects alike.
The owl observes; the human decides. π¦
Comments