Automating repetitive cross-application tasks using AI agents