Text this: Constraint Satisfaction Techniques for Agent-Based Reasoning