Understanding AI agents: The future of automation