English | Chinese
Xenoverse is a collection of procedurally generated environments for benchmarking general decision-making, in-context adaptation, meta-training, and open-world evaluation. Instead of relying on one fixed benchmark family, the repository groups multiple randomized world generators under a single Python package, xenoverse.
- Diversity over memorization: agents are evaluated across many world-generation processes rather than one static task set.
- Open-ended evaluation: procedural tasks reduce benchmark overfitting.
- Reusable infrastructure: environment families share one namespace and similar task-sampling workflows.
- Agent-oriented extensions: the repository also includes chemistry-agent and town-style environment workspaces.
| Module | Domain | Purpose |
|---|---|---|
xenoverse.anymdp |
Random MDP / POMDP | Random transition, reward, and observation structures |
xenoverse.linds |
Linear dynamical systems | Randomized LTI control tasks |
xenoverse.anyhvac |
HVAC control | Procedural HVAC environments |
xenoverse.metalang |
Synthetic language | Procedural pseudo-language generation |
xenoverse.mazeworld |
3D navigation | Procedural maze navigation |
xenoverse.metacontrol |
Randomized control | Random cartpole, acrobot, and humanoid-style tasks |
xenoverse.chemverse |
Chemistry agents | Chemistry-world generation, tool-driven interaction, and route scoring |
xenoverse.ai_town_env |
Town-style agents | Agent-oriented town environment design workspace |
Xenoverse/
README.md
README.zh.md
setup.py
requirements.txt
xenoverse/
xenoverse/is the installable Python package.- Package code and package-level documentation live under
xenoverse/. - The current package includes
anymdp,linds,anyhvac,metalang,mazeworld,metacontrol,chemverse,ai_town_env, andutils.
Install from PyPI:
pip install xenoverseInstall from source:
git clone https://github.com/FutureAGI/xenoverse
cd xenoverse
pip install .Core dependencies include:
gymnasium>=1.0.0numpy>=1.24.4Pillow>=6.2.2six>=1.12.0pygame>=2.6.0numba>=0.58.1scipy
import gymnasium as gym
import xenoverse.anymdp
env = gym.make("anymdp-v0", max_steps=5000)
observation, info = env.reset()xenoverse.chemverse is the chemistry-agent environment family in this repository. It provides procedurally generated chemistry worlds, tool-based interaction, and backend-driven task evaluation.
Quick entrypoints:
python -m xenoverse.chemverse.demo
python -m xenoverse.chemverse.generate_worlds --list
python -m xenoverse.chemverse.tests.test_backendSee xenoverse/chemverse/README.md for module structure, backend usage, scoring, and world generation details.
Xenoverse is well suited for:
- meta-reinforcement learning
- in-context reinforcement learning
- open-world evaluation
- domain-randomized control
- procedural task-distribution generalization
- agentic scientific workflows over generated environments
For the current package structure, environment families, module entrypoints, and package documentation index, see xenoverse/README.md.