First of all, welcome to the community.
This is a good read on how Task Agents work and their limitations: