agen 101Define Role . In MetaGPT, class Role is the logical abstraction for an agent. A Role can perform certain Action, possess memory, think and act in various strategies.Essentially, it acts as aAgen 101. Home. Shorts. Library. Agen 101.