Text this: Formal Approaches to Agent-Based Systems