dynamic AI algorithms