A deterministic system gives the same result every time you give it the same input. An AI agent does not, and once you mix the two in one system, a crash can send the whole thing down a different path unless something remembers what already happened.
What deterministic means
A system is deterministic when the same input always produces the same steps and the same output. Run it once or a thousand times and nothing changes. Most everyday code works like this: a function that adds up a basket, a build script, a database query against the same data.
def basket_total(prices):
return sum(prices)
basket_total([3, 4, 5]) # 12, every timeThat predictability is what makes ordinary software testable. You can write a test that says 'this input gives 12', run it in CI a hundred times a day, and trust it. When a bug appears, you can replay the input and watch the same bug happen again.
What non-deterministic means
A system is non-deterministic when the same input can produce different results on different runs. The goal stays the same, but the output does not.
import random
Wondering how this was made? How we make these