AI agents are non-deterministic. This is both their superpower and their biggest testing challenge. When you change a prompt, swap a model, or update a tool definition, the agent's behavior shifts in ways you can't predict.
Source: [Dev.to](https://dev.to/pawfromoz/testing-ai-agents-with-agentspec-jest-for-non-deterministic-behavior-55kg)