3. Anatomy of an Agent