Text-based games may seem primitive next to the beautifully rendered graphics of today, but to succeed at even the simplest such game, humans must use a special set of skills. We seamlessly and simultaneously comprehend language descriptions, plan our next moves, visualize the environment, remember important information, and generalize past experiences to new situations. AI agents don’t yet possess such capabilities, but they are the key to general intelligence. We can help an AI agent to learn these skills.
Microsoft TextWorld is an open-source, extensible engine that both generates and simulates text games. You can use it to train reinforcement learning (RL) agents to learn skills such as language understanding and grounding, combined with sequential decision making.
The default environment is a house where the RL agent can learn basic domestic skills such as putting objects in containers, opening and closing doors, eating food, and more.
You can integrate your agent in the TextWorld framework, then train your agent to solve a potentially limitless number of multi-step quests in a potentially limitless number of text-based worlds. To learn more and get the code, visit our GitHub page.
Get the code
Send any questions or comments to firstname.lastname@example.org.