How businesses can invest safely in AI agents