main
Merged PR 1532: cloned from https://github.com/microsoft/UFO/tree/vyokky/dev
refactor agent creation