PKM vs RAG vs Wiki vs Memory: Four Knowledge Jobs, Four Systems

PKM vs RAG vs Wiki vs Memory: Four Knowledge Jobs, Four Systems

4 min read

PKM, wikis, RAG, and AI memory get discussed as rivals solving one problem. They don’t. PKM helps humans think, wikis preserve shared knowledge, RAG retrieves for machines, memory gives agents continuity. Mix them up and you get personal scratch in the wiki, sourceless-truth RAG, database-pretending memory, and automation-bloated PKM.

LLM Wiki: Compiled Knowledge RAG Cannot Replace

LLM Wiki: Compiled Knowledge RAG Cannot Replace

4 min read

RAG became the default answer to giving models external knowledge: chunk, embed, retrieve at query time, generate. Useful — and overused. RAG optimizes access, not representation: it finds fragments but builds no stable domain understanding, retrieves context but never decides the canonical explanation. An LLM Wiki moves synthesis to ingest time, compiling sources into structured, linked, human-readable knowledge before any question arrives.

AI Assistant Architecture: LLM, Memory, Tools, Routing, Observability

AI Assistant Architecture: LLM, Memory, Tools, Routing, Observability

4 min read

A production assistant isn’t “an LLM with a prompt.” It’s a runtime turning intent into responses and actions through five layers: model, memory, tooling, routing, observability. That split matches provider APIs, MCP, self-hosted runtimes, and real systems alike — and every production disagreement eventually reduces to which context was visible, which tool executed, which model answered, which memory changed, and where the trace says time went.

Memory Systems in AI Assistants: Working, Structured, Retrieval

Memory Systems in AI Assistants: Working, Structured, Retrieval

4 min read

Memory turns assistants from reactive to persistent — and it’s where systems quietly rot. The old short-term/long-term split no longer covers modern agents. The working stack is three layers: working memory for the live run, structured state for durable truth, retrieval memory for supporting evidence — plus a consolidation policy that forgets as deliberately as it remembers.

Cost Optimization for LLM Systems: Spend Tokens Where They Matter

Cost Optimization for LLM Systems: Spend Tokens Where They Matter

3 min read

Ten thousand requests a day at a cent each is $100 daily — and enterprise scale turns that into five figures fast. Optimization isn’t corner-cutting; it’s spending tokens where they matter. Budgets, fallbacks, local inference break-evens, and caching form the practical stack, roughly in that order of effort.

vLLM Scheduling: How Throughput and Latency Trade Off in Shared Inference

vLLM Scheduling: How Throughput and Latency Trade Off in Shared Inference

11 min read

At 9 in the morning Alice asks the office’s local model to summarize yesterday’s meeting, and the answer streams back faster than she can read it. By 10 the whole team has found the thing. Same GPU, same model — and now everyone’s replies stutter and stall. Something ran out. The hard part is telling what.

The short version: the GPU is being shared, and vLLM’s scheduler is good at the sharing part. What usually decides how many people fit is memory space, and long conversations eat most of it. That also tells you which targets to pick for a personal assistant, an office tool, or a customer-facing app.

vLLM and SGLang: The Community Stories Behind Two Open-Source Inference Engines

vLLM and SGLang: The Community Stories Behind Two Open-Source Inference Engines

11 min read

Everyone benchmarks vLLM and SGLang on FLOPS and tokens per second, but the more interesting story is how two academic side projects became the default backends for serving large language models.

This post walks through where each engine came from, why they compete, how their contributor bases actually overlap, and what that means for choosing an inference engine in production.

Model Routing: Stop Using One Model for Everything

Model Routing: Stop Using One Model for Everything

4 min read

A 70B model summarizing an email burns money; a 3B model reviewing production code courts disaster. Routing matches task complexity to model capability across four strategies — capability, cost, latency, hybrid — each optimizing what hurts most. Production systems converge on hybrid; start there only after one model genuinely fails.

LLM Guardrails in Practice: Control the Risk, Not the Model

LLM Guardrails in Practice: Control the Risk, Not the Model

3 min read

Models hallucinate, leak data, emit harmful content, and refuse legitimate requests. Guardrails constrain behavior without removing capability — but only the guardrails that match real risk earn their latency. The discipline is knowing which ones matter and which are noise.

Multi-Model System Design: The Right Model for the Right Task

Multi-Model System Design: The Right Model for the Right Task

3 min read

Running a 70B model to summarize an email wastes money; running a 3B model to review production code courts disaster. Multi-model design isn’t about collecting models — it’s about architecture that puts the right model on the right task at the right time, with the simplest pattern that survives the constraints.