47% OFFYearly Pro
$30/mo$16/mobilled yearlyGet Pro
Category

AI Engineering

Expert articles on building production AI systems, covering system design, architecture, observability, and real-world implementations.

Explore posts

57 posts in total

AI Engineering

Circuit breakers for LLM calls: stop cascading failures

How circuit breakers prevent LLM outages from cascading through your agent. The 3 states, the failure window, and the 50-line implementation.

AI AgentsLLM+3
Read post
11 min
AI Engineering

Context window management for production AI agents

How to manage context windows in production AI agents. The 4 strategies that keep long sessions bounded without losing critical context.

AI AgentsLLM+3
Read post
11 min
AI Engineering

Persistent memory for coding agents: cross-session context

How coding agents remember context across sessions. The memory store, the recall pattern, and the 3 kinds of memory every agent should keep.

AI AgentsAI Engineering+3
Read post
11 min
AI Engineering

Custom tools for coding agents: beyond the built-ins

How to design custom tools for coding agents that are not read, edit, or bash. The naming rules, the schema patterns, and the 3 custom tools that pay off.

AI AgentsAI Engineering+3
Read post
12 min
AI Engineering

ripgrep for coding agents: fast code search at scale

Why ripgrep is the right code search tool for coding agents. The speed, the flags, and the wrapper that turns rg into a safe agent tool.

AI AgentsAI Engineering+3
Read post
10 min
AI Engineering

Edit tool design: how coding agents modify files safely

How to design an edit tool a coding agent can use without wrecking files. The string-match rule, the dry-run pattern, and the 50-line safe edit function.

AI AgentsAI Engineering+3
Read post
11 min
AI Engineering

Designing modular tool integrations for coding agents

How to structure tool integrations so an agent stays clean as it grows. The registry pattern, schema-first design, and the 80-line dispatcher that scales.

AI AgentsAI Engineering+3
Read post
12 min
AI Engineering

bash tools for coding agents: safe shell execution

How coding agents run shell commands safely. The bash tool design, the denylist trap, and the sandbox that keeps rm -rf away from your home directory.

AI AgentsAI Engineering+3
Read post
11 min
AI Engineering

Build a coding agent with Claude: a step-by-step guide

How to build a coding agent with Claude in 100 lines of Python. Tool use, file editing, bash, and the loop that ties them together. No frameworks.

AI AgentsAI Engineering+3
Read post
12 min
AI Engineering

The event loop inside a coding agent: how it thinks

How a coding agent loop actually works. The minimal while loop that turns a chatbot into Claude Code, and the 4 states every agent cycles through.

AI AgentsAI Engineering+3
Read post
12 min
AI Engineering

System design for production AI chatbots

Master end-to-end system design for production AI chatbots. Learn streaming architecture, memory management, RAG integration, rate limiting, circuit bre...

System DesignAI Engineering+1
Read post
25 min
AI Engineering

Building penny: a private, deterministic financial agent

Learn how to architect a production-ready local financial AI agent that keeps data private and guarantees mathematical accuracy. Deep dive into hybrid a...

AI AgentsSystem Design+2
Read post
25 min

Weekly Bytes of AI

Technical deep-dives for engineers building production AI systems.

Architecture patterns, system design, cost optimization, and real-world case studies. No fluff, just engineering insights.

Unsubscribe anytime. We respect your inbox.