Language Models as Agent Models