AI agents with loops and tool integrations function as distributed systems requiring observability to manage non-deterministic behavior