zsh · 404human@dev:~Tab complete · ↑↓ history · type help
#ai
Tag
#ai
Articles
24 posts
Running local LLMs with Ollama and Qwen: guideHow to run local LLMs on a laptop with Ollama and Qwen—real RAM and quantization math, tool-calling gotchas, and when local beats cloud APIs.
5 min
What is an LLM context window (and its limits)What an LLM context window holds, how tokens add up across prompts, tools, and replies, why 1M-token windows still degrade, and how to budget it.
5 min
LLM evaluation and metrics: a practical guideHow to build an honest LLM evaluation suite—held-out cases, deterministic graders vs LLM-as-judge, decoy traps, and a runnable Python eval harness.
4 min
OAuth PKCE explained (with real code & traps)What PKCE is in OAuth 2.1, why S256 stops authorization-code interception, runnable Python verifier/challenge code, and real remote MCP pitfalls.
5 min
AI observability: why telemetry must show gapsWhat AI observability actually needs in production—per-operation timelines, explicit gap markers when events drop, secret redaction, and real bugs.
6 min
AI agent security: threat model and defensesThe seven real security threats in production AI agents—from indirect prompt injection to secret exfiltration—and the code-level defenses that hold.
6 min
CLAUDE.md and AGENTS.md: what actually worksHow to write a short, high-signal CLAUDE.md or AGENTS.md file—what belongs in instructions vs CI tests, a real template, and the hijack risks.
5 min
MCP vs API vs RAG: how to pick for AI appsWhen to use a plain REST API, RAG retrieval, or an MCP server—decided by failure modes, latency, auth boundaries, and how real apps combine them.
5 min
How to build an MCP server (without the traps)Build a working MCP server in ~85 lines of Python over stdio JSON-RPC 2.0, plus the real OAuth, Cloudflare 1010, and approval bugs we hit live.
5 min
Codex vs Claude Code vs Cursor for real reposHow Codex, Claude Code, and Cursor compare on real codebases: terminal vs IDE loops, why one agent shouldn't review itself, and how to choose.
6 min
How to build an AI agent without a frameworkBuild a working AI agent in ~90 lines of code—with step budgets, output caps, approval gates, and the real production bugs toy loops hide.
KV cache explained: why long prompts eat RAMEvery new token an LLM generates has to attend to every previous token. The KV cache saves compute by trading RAM—and explains how prompt caching works.
4 min
Why LLMs see tokens instead of lettersLanguage models never read raw characters. Understanding Byte-Pair Encoding (BPE) explains counting bugs, weird math failures, and surprise API bills.
4 min
How LLMs compress text into parametersTraining an LLM squeezes trillions of tokens into a fixed weight file. Seeing parameters as lossy compression explains hallucinations and tool use.