AI engineering is more than choosing a model. Production systems need identity, data boundaries, controlled tools, resilient routing, observability, evaluation and evidence that can survive audits and incidents.
This page starts with the architecture and operating model I use, then keeps the broader tool ecosystem as a secondary reference rather than the product itself.
My AI platform architecture
A local-first platform structured as layers rather than a product catalogue. LiteLLM is the central control plane connecting interfaces, models, tools, workflows, and observability.
- Open WebUI
- OpenClaw
- OpenCode / Codex / Cursor
- LiteLLM
- Redis cache
- routing · budgets · fallbacks · telemetry
- Ollama · local
- OpenAI API · remote
- FastAPI MCP
- Open Terminal
- OpenRAG
- SearXNG
- Paperless
Local-first & privacy
Routine workloads prefer Ollama inside the homelab. Routing through LiteLLM keeps one shared routing and protection policy before any remote inference.
Cost & resilience
Redis caching, fallbacks, and centralized routing reduce unnecessary remote calls and avoid coupling clients to a single model.
Measurable
Langfuse, Opik, and Prometheus separate LLM observability, quality evaluation, and operational metrics while preserving a coherent platform view.
Workflow & orchestration
Three complementary roles: n8n for rapidly composing automations, Temporal for durable execution, and Langflow for experimenting with and assembling AI flows.
n8n
Visual automation layer for rapidly connecting APIs, data, agents, and homelab services.
n8n Temporal
Durable orchestration for stateful, long-running, critical workflows: retries, persistent state, timers, human-in-the-loop steps, and LLM activities.
Temporal Langflow
Visual workbench for prototyping LLM chains, agents, tools, and RAG before productionizing them in orchestration and service layers.
Langflow OpenCommit
OpenCommit complements the development workflow with consistent Conventional Commit messages; it intentionally remains outside the orchestration layer.
GitHub Models, frameworks & ecosystem reference
Secondary reference material for technologies that can fit behind the platform controls above. Product names are examples, not architectural requirements.
Selected models & developer resources
NVIDIA Nemotron
A compact open model family useful when evaluating smaller local or edge inference footprints.
Learn moreContext7
Context and documentation retrieval tooling for development assistants and agent workflows.
WebsiteAwesome MCP Servers
A curated directory of MCP servers and integrations for exploring standardized tool capabilities.
RepositoryLearning & understanding
A visual guide to reasoning LLMs that helps explain how modern models approach multi-step reasoning and where evaluation still matters.
Read articleEcosystem compass
Treat this list as replaceable implementation options. Keep authentication, routing, policy, telemetry and data lifecycle independent from any single provider.
LLM APIs & chat
- OpenAI
- Groq
- Cohere
- Anthropic
- Google Gemini
- Mistral AI
- Azure OpenAI
- Open WebUI
- LocalAI
Coding assistants & IDEs
- GitHub Copilot
- Cursor
- Amazon Q Developer
- Dust
Cloud ML & notebooks
- Azure Machine Learning
- Hugging Face
- AWS SageMaker
- Google Vertex AI
RAG, vectors & frameworks
- LangChain
- PGvector
- Elasticsearch
Agents & automation
- n8n
- LangGraph
- Zapier
- HubSpot
- CrewAI
- Temporal
Evals, traces & monitoring
- Weights & Biases
- Langfuse
- OpenTelemetry
- Opik
Local & open inference
- Ollama
- LiteLLM
- vLLM
- llama.cpp
- LM Studio
- AnythingLLM
- OpenRAG
- Open Terminal
LLM observability, evaluation & FinOps
A unified view of quality, traces, costs, tokens, and latency: evaluate LLM applications, monitor production behavior, and apply FinOps discipline to model consumption.
Opik by Comet
Open-source platform for evaluating, testing, and monitoring LLM applications, useful for comparing model outputs and tracking production quality.
DocumentationLangfuse
Open-source LLM observability platform for traces, prompts, scores, costs, and latency. Langfuse collects telemetry from LiteLLM and the MCP server to provide a cross-platform view of AI calls.
Langfuse ChatGPT / Codex usage
Track ChatGPT and Codex usage across credits, tokens, models, activity, and consumption. Available analytics depend on the workspace plan; Codex also exposes usage and limit details in supported account settings.
ChatGPT / Codex analyticsCursor
Review Cursor account usage and token-consumption patterns to spot expensive workflows and plan limits before they become delivery friction.
Cursor analyticsLiteLLM
Use LiteLLM as the metered gateway for routing, budgets, fallbacks and provider-independent usage evidence rather than distributing cost controls across every client.
LiteLLM Document-to-knowledge pipeline
A controlled PDF-to-RAG flow with explicit preparation, archive/OCR, enrichment, durable orchestration, private review and a shared retrieval surface.
- 1
Stirling PDF
Normalize, split, merge or clean PDFs locally before ingestion so the archive receives predictable inputs.
Stirling PDF - 2
Paperless-ngx
Archive, OCR, tag and index the prepared documents in Paperless-ngx as the durable source corpus.
Paperless-ngx - 3
Paperless-AI
Enrich consumed documents with classification and metadata only after the canonical archive has accepted them.
Paperless-AI - 4
Temporal
Run summarization, translation, retries and human-in-the-loop activities as durable workflows rather than fragile background scripts.
Temporal - 5
AnythingLLM
Use a private workspace to inspect and question the processed corpus while validating OCR, tags and downstream transformations.
AnythingLLM - 6
OpenRAG
Publish the vetted corpus to a shared RAG layer, then expose controlled retrieval capabilities through an MCP surface instead of reimplementing access per agent.
OpenRAG
Engineering & governance practices
The platform controls matter only when they are paired with repeatable engineering habits and explicit evidence.
- Define a measurable objective and failure criteria before introducing an AI component.
- Monitor quality, latency, cost and failure modes continuously instead of validating only with anecdotal prompts.
- Threat-model prompts, tools, identities, data movement and supplier boundaries; review bias and misuse separately from infrastructure security.
- Automate repetitive controls, but keep approval boundaries for destructive or high-impact agent actions.
- Version prompts, models, policies and retrieval pipelines so changes can be explained and rolled back.
- Test deterministic code, retrieval quality, policy enforcement and model behavior at the appropriate layer.
- Keep architecture, data provenance, evaluation results and operational evidence understandable to engineering, security and governance stakeholders.