Reliability and Determinism
摘要
You can’t ship agents (or any ML service) that behave like dice. This chapter is a toolkit for predictable systems: make actions idempotent, retry only when it’s safe, constrain generations so they always parse, and wrap tool use in transactions so partial failures don’t corrupt state.