Adam Technologies interview question

How does an AI agent work?