Understanding Agents in Generative AI: A Class and Instance Definition — Folio