Text this: Improved two-ways classification for agent patterns