An agent is an autonomous entity that makes goal-driven decisions in an environment it can (partially) observe, and influence through it's actions. It is a very general term.