John WalpoleAI systems engineering & reliability

project

Operational Intelligence Platform

Engineering and operations teams often lose time searching across scattered knowledge sources when troubleshooting systems, reviewing changes, responding to incidents, or answering operational questions.

Type
Project
Last updated
2026-06-04
ai-systemsragretrievalobservabilitysredevsecopsautomationoperations

Problem

Engineering and operations teams often lose time searching across scattered knowledge sources when troubleshooting systems, reviewing changes, responding to incidents, or answering operational questions.

Relevant context may exist in runbooks, architecture notes, Slack conversations, Jira tickets, Confluence pages, monitoring systems, or previous incident summaries, but that knowledge is often fragmented and difficult to retrieve at the moment it is needed.

The Operational Intelligence Platform explores how a retrieval-grounded assistant can help engineers locate relevant operational knowledge, summarize context, and recommend next steps without relying on unsupported model guesses.

Context / Constraints

This project is a personal engineering lab case study focused on practical AI-assisted operations.

The system is intended to demonstrate how AI can support operational decision-making when it is constrained by trusted source material, clear retrieval boundaries, citations, and human review.

It is not intended to replace engineers, make autonomous production changes, or act as an unrestricted chatbot.

The case study is intentionally independent. It does not describe an employer environment, customer system, private deployment, or production implementation.

Architecture

At a high level, the Operational Intelligence Platform uses a retrieval-first architecture.

User questions flow through an API layer, which retrieves relevant content from a governed knowledge library before generating an answer. The model response is grounded in retrieved context and includes source references where applicable.

Conceptual flow:

1. User asks a question. 2. The system applies persona and intent context. 3. Relevant knowledge chunks are retrieved from the vector database. 4. Retrieved chunks are ranked and filtered. 5. A prompt is assembled using only trusted context. 6. The local language model generates a structured answer. 7. The response includes sources, related projects, and suggested follow-up questions.

The core design principle is simple:

The assistant should retrieve before it reasons.

Stack

The implementation uses:

  • FastAPI for the backend API layer
  • Ollama for local language model inference
  • Weaviate for vector retrieval
  • LangChain for loaders, retrievers, prompt templates, and model adapters
  • LangGraph for bounded multi-step workflows
  • Markdown as the version-controlled content source
  • Docker Compose for local service orchestration
  • Caddy for public web routing
  • Next.js for the frontend experience

This stack is intentionally selected to demonstrate portable AI systems engineering, retrieval-grounded responses, local inference, and explainable workflow orchestration.

Tradeoffs

Local models vs hosted models

Using Ollama keeps the system low-cost and private, but local inference may be slower than hosted APIs. Hosted providers may offer stronger models and lower latency, but introduce usage cost and external dependency risk.

The architecture keeps model providers abstracted so the system can change providers without rewriting the application.

Weaviate vs simpler storage

Weaviate introduces more operational complexity than basic keyword search or file-based retrieval, but it provides a stronger basis for semantic retrieval, metadata filtering, hybrid search, and citation-aware workflows.

For this project, Weaviate is intentionally used because retrieval quality is central to the demonstration.

AI assistance vs automation

The system is designed to assist with investigation, explanation, and summarization. It does not automatically modify infrastructure, close incidents, approve changes, or publish generated content.

Human review remains part of the workflow.

Operational Concerns

Key operational concerns include:

  • preventing prompt injection from overriding system rules
  • avoiding unsupported claims in generated responses
  • keeping Ollama and Weaviate internal-only
  • avoiding employer, customer, or private operational data
  • preserving source citations for trust
  • logging enough telemetry to improve retrieval quality without invasive visitor tracking
  • ensuring low-confidence answers fail safely

The assistant should be allowed to say:

“I do not have enough grounded context to answer that confidently.”

That behavior is considered a feature, not a failure.

Lessons Learned

The most important lesson behind this project is that useful operational AI depends less on flashy model behavior and more on the quality of the surrounding system.

Important design lessons:

  • Retrieval quality matters more than model confidence.
  • Citations improve trust.
  • Metadata improves routing and recommendations.
  • Prompt design is part of system design.
  • AI workflows should be observable and bounded.
  • Human review is required before publishing AI-generated changes.
  • A smaller, grounded assistant is more useful than a broad assistant that guesses.

Extension Points

Areas for further development include:

  • hybrid search using semantic and keyword retrieval
  • retrieval quality scoring
  • source coverage analysis
  • knowledge gap detection
  • AI-generated draft improvements for human review
  • workflow visualizations using LangGraph traces
  • richer citation previews
  • knowledge graph style navigation
  • optional hosted model fallback
  • synthetic incident scenario expansion

Data Boundary

This document contains only generalized and personal lab content.

It does not include:

  • confidential data
  • customer data
  • real production logs
  • internal diagrams
  • proprietary code
  • private tickets
  • internal metrics
  • non-public architecture details

All examples connected to this project should remain synthetic, sanitized, generalized, or personally authored.

Sources

  • Operational Intelligence Platform

    Public project document. Last updated: 2026-06-04.