SRE Whisperer is a full-stack demo system for autonomous IT operations. A FastAPI backend simulates faults, performs causal inference with networkx, emits live SSE updates, and drives an SRE agent. A Next.js 14 frontend renders the war-room dashboard, live metric charts, a causal dependency graph, agent reasoning, and the human approval flow.
backend/FastAPI app, causal engine, agent loop, mock services, and Chroma helpersfrontend/Next.js 14 App Router dashboard and hidden control panelscripts/seeding and scenario validation scriptsPLANS.mdmilestone plan derived from the blueprint
- Create a virtual environment and install the backend requirements:
python -m venv .venv .\.venv\Scripts\Activate.ps1 pip install -r backend/requirements.txt
- Optional LLM setup for the LangChain path:
ollama pull mistral:instruct
- Start the backend:
uvicorn backend.main:app --reload --port 8000
- Install dependencies:
Set-Location frontend npm.cmd install
- Start the dashboard:
npm.cmd run dev - Open
http://localhost:3000.
python -m pytest backend/tests -q
python scripts/test_scenarios.pySet-Location frontend
npm.cmd run testsentence-transformersis intentionally configured withdevice='cpu'to avoid RTX 4050 VRAM pressure and match the blueprint guidance.- If
langchain_ollamaor Ollama is unavailable, the agent falls back to a deterministic local reasoning path so the demo remains runnable.