Automated agent control using non-deterministic artificial intelligence