All lessons
retries
2 lessons tagged retries: free, quiz-checked micro-lessons.
AI
intermediateLoop engineering in production: state, errors, and budgets
Once an agent loop runs past a few iterations the failure surface shifts: state bloats, tool calls fail in three distinct ways, retries multiply if you stack them wrong, and unbounded budgets rack up four-figure bills overnight. The state, errors, and budgets you need to make the loop survive contact with reality.
8 steps·~12 min
Computer Science
intermediateIdempotency
Why "the same request twice should produce the same result" is one of the most useful properties you can give an API, the standard patterns for implementing it (keys, dedupe tables, natural idempotency), and what goes wrong when you don't.
8 steps·~12 min
