Agents

NetHack+: A Configurable Environment for Long-Horizon Agent Research

Jonathan Liu, Alex L. Zhang, Seth Karten

NeurIPS 2026 Meta-Agents Workshop

A configurable NetHack engine for long-horizon agent research, with checkpointing, the balanced BAL_min progress metric, and Prime-Agent-Explore search over saved game states.

Figure

NetHack+ balanced progress versus cost per game, comparing Prime-Agent-Explore with best-of-k independent attempts

BALmin progress versus cost per game. Prime-Agent-Explore searches over saved game states rather than restarting every attempt from the beginning.

Abstract

NetHack remains a challenging benchmark for long-horizon decision-making despite extensive research employing reinforcement learning, imitation learning, and language-model agents. A substantial difficulty in NetHack derives from the lack of infrastructure surrounding the game. As a result, we present NetHack+, an upgraded game engine with 17 settings for varying game difficulty, 2.1x the throughput of the NetHack Learning Environment (NLE) at 64 games per thread, and integrations into Gym and Prime Intellect's Verifiers. We accomplish this by refactoring NLE to allow saving and restoring game state, configurable game mechanics, and custom observation and action interfaces embedded in modern LLM harnesses (Prime Agent and Claude Code). We also package a new metric BALmin to reward balanced progression in dungeon depth and experience, motivated by successful human runs and designed to limit rewards for agents that descend without gaining experience. Experimentally, interface improvements and continual harness optimization yield modest gains in BALmin, reaching approximately 1.5x baseline performance. To demonstrate the utility of checkpointing, we introduce Prime-Agent-Explore (PAE), an orchestrator-based search algorithm that selects saved checkpoints and guides subsequent exploration. Using 30 attempts with full vision, PAE reaches 11.4% BALmin and 34.7% BALmax, improving over the single-life baseline by 8.6x and 3.5x, respectively, and exceeding the best of k independent lives with the same number of attempts by 1.6-2.8x. With fog-of-war, PAE reaches 6.0% BALmin and 30.9% BALmax, against 4.0% and 13.2% for the strongest single-life entry on the BALROG leaderboard (GPT-6 Astra). We also evaluate PAE on MiniHack, Crafter, and TextWorld, where it improves over a single attempt on all three and reaches the highest reported score on TextWorld.

Why this paper matters

  • Provides a configurable game engine with 17 difficulty settings and save, restore, and branching capabilities for studying long-horizon agents.
  • Introduces BALmin, a balanced measure of dungeon depth and experience that limits rewards for descending without gaining experience.
  • Introduces Prime-Agent-Explore, which selects saved checkpoints and guides further exploration, outperforming the best of independent lives with the same number of attempts.

Related explanation

Jonathan Liu's NetHack+ blog post explains the engine, evaluation metrics, harness comparisons, and Prime-Agent-Explore with interactive examples.

Keywords

NetHack, long-horizon agents, agent evaluation, reinforcement learning environments, agent harnesses, checkpointing, test-time search, Prime-Agent-Explore, BAL_min.

BibTeX

@article{liu2026nethackplus,
  title={NetHack+: A Configurable Environment for Long-Horizon Agent Research},
  author={Liu, Jonathan and Zhang, Alex L. and Karten, Seth},
  journal={arXiv preprint arXiv:2612.06161},
  note={NeurIPS 2026 Meta-Agents Workshop},
  year={2026},
  doi={10.48550/arXiv.2612.06161},
  url={https://arxiv.org/abs/2612.06161}
}