microsoft/TextWorld
TextWorld is a sandbox learning environment for the training and evaluation of reinforcement learning (RL) agents on text-based games. observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 65
- Release rhythm 36
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2990
- days_rel: 215
- days_push: 215
- n_releases_24m: 1
Adoption not part of the score
1441 stars · 205 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TextWorld is a Python library from Microsoft that generates text-based adventure games and provides a sandbox learning environment for training and evaluating reinforcement learning agents. It supports game state visualization and integrates with standard RL workflows.
Use cases
- train reinforcement learning agents on text-based games
- generate text adventure games programmatically
- benchmark RL agents on text environments
- research NLP and RL in interactive fiction settings
- visualize game states for text-based environments
When to choose
- you need a reproducible sandbox of text games for RL research
- you want procedurally generated text adventures with controllable difficulty
- you work in Python on Linux or macOS
When to avoid
- you need native Windows support without Docker
- you want graphical (non-text) game environments
- you need a production game engine rather than a research tool
Facets
library · maturity active
reinforcement-learning game-engine simulation nlp reinforcement-learning artificial-intelligence python text-based-games rl-environment gym-environment game-generator sandbox game-development natural-language-processing linux macos docker
2 sources
- readme: https://github.com/microsoft/TextWorld · fetched 2026-08-28 · 59e3ca5e5763
- registry_pypi: https://pypi.org/pypi/textworld/json · fetched 2026-08-29 · c17af3a7e457
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/TextWorld | main | 62 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/TextWorld")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem