Building Resilient LLM API Integrations

When you’re building production systems that rely on LLM APIs, you quickly learn that “it works in development” doesn’t mean much. Rate limits hit at the worst times, APIs go down, and costs can spiral if you’re not careful. Here’s how to build integrations that actually survive the real world. The Problem with Naive Integrations Most tutorials show you something like this: 1 2 3 4 5 6 7 8 import anthropic client = anthropic.Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{"role": "user", "content": prompt}] ) This works great until: ...

February 20, 2026 Â· 6 min Â· 1181 words Â· Rob Washington

Building a Private Code Snippet Manager with Syntax Highlighting

Every developer accumulates code snippets—Ansible playbooks, Terraform configs, shell scripts, quick Python utilities. Scattered across Gists, notes apps, and random text files, they’re never where you need them. Here’s how to build your own private snippet manager. Architecture Overview The solution is simple: FastAPI backend with JSON file storage Static HTML frontend with vanilla JavaScript Prism.js for syntax highlighting Hugo for deployment (optional, or serve directly) The Data Model 1 2 3 4 5 6 7 8 9 class FileCreate(BaseModel): filename: str content: str language: str = "" class FileUpdate(BaseModel): filename: Optional[str] = None content: Optional[str] = None language: Optional[str] = None Files belong to projects. Each file stores: ...

February 18, 2026 Â· 3 min Â· 510 words Â· Rob Washington

Database Migrations: Change Your Schema Without Breaking Everything

A practical guide to database migrations — tools, patterns, and strategies for evolving your schema safely in production.

February 11, 2026 Â· 5 min Â· 1014 words Â· Rob Washington