Text this: Inferring agent behavior and economic information, with free entry and exit of firms