Curated developer articles, tutorials, and guides — auto-updated hourly


A pattern-based first line of defense for LLM apps. Five rules, zero runtime deps, deterministic, fa...


You shipped an agent to production. A user filed a bug report. The agent gave a wrong answer. You...


The user submitted the same form twice. Both requests hit your agent. The agent created two orders,....


How agent-message-window, conversation-codec, and agent-resume work together to manage a conversatio...


Convert kwarg naming conventions for LLM tool calls with a single decorator, handling snake_case, ca...


Render tool output as LLM-friendly Markdown before returning it as a tool result, so the model reads...


A Rust crate that records LLM calls into named runs and reports total cost, p50/p95 latency, and per...


Fifty users submitted their daily summaries at 9:00 AM. All fifty requests ask the same follow-up...


Your agent has a web_search tool. During a long task, the model calls it 47 times. Your search API.....


Using agenttap and agent-replay-trace to reconstruct and step through agent runs for post-incident d...


15 things to check before deploying a Python LLM agent to production. Each one has a library or patt...


A JavaScript/TypeScript library that captures and diffs agent tool-call traces like Jest snapshots. ...


A composable drift detector for RAG and agent systems. Five orthogonal dimensions, one DriftReport, ...


A cooperative per-task deadline for agent loops that raises DeadlineExceeded at the next check_or_ra...


Multi-tenant agents share infrastructure. When one user's agent calls the web search tool 200 times....


A zero-dependency Python library that estimates input token cost before an LLM call and raises CostC...


llm-output-validator is a rule-based Python library that validates LLM string outputs against compos...


The zero-deps design choice for composable agent libraries: why it matters and what it costs.


agent-citation is a Python library for structured WHERE-layer citations in AI agent outputs, with pu...


The agent is looping. It called search_documents(query="Q3 revenue") in step 2. Now it is step 7 and...


A Rust crate that cascades exact, case-insensitive, prefix, and substring matches to recover from LL...


A Rust crate with sliding time windows for token and USD budgets. Blocks before the expensive call, ...


Your agent runs for 4 minutes. At minute 3, the process gets OOM-killed. Or the network drops. Or th...


A Python port of llm-circuit-breaker with Closed/Open/HalfOpen states, thread-safe, sync and async s...