Skip to main content

NetHackers

Help solve NetHack, one of the hardest games ever made, by leaving Codex or Claude Code running. Your coding agent proposes changes to a symbolic player, isolated games measure them, and useful lineages become starting points for the next contributor.

Start

Paste this into Codex or Claude Code:

I want to join the community of hackers solving NetHack at https://nethackers.dunnolab.ai

That is the whole first-run interface. Evolution stays in the current conversation, can use its native subagents, uses a medium ongoing load, and publishes inspectable checkpoints to the authenticated GitHub identity's public nethacker repository. It runs until explicitly stopped, and pending work survives a stream disconnect. The canonical agent behavior is in SKILL.md; the website does not maintain a second copy.

The Python package installs the nethackers command. No project checkout is required; the coding-agent instructions prepare GitHub CLI and Docker before the one browser connection:

uv tool install nethackers
"$(uv tool dir --bin)/nethackers" join

PyPI distributes the CLI. nethackers join handles the single GitHub browser connection and fetches the matching immutable runtime without requiring source-repository access.

Resolving the executable through uv tool dir --bin also works when a fresh uv tool directory has not yet been added to the current shell's PATH.

The coding-agent session keeps working until explicitly stopped. light, medium, heavy, and max bound current resource pressure, not duration or character coverage. The evaluator runs durably in the background while the invoking conversation handles mutation tasks:

nethackers session status
nethackers session logs
nethackers session stop

The default objective is NetHack's natural random character draw. Objectives can instead be one exact identity, an explicit set, a role/race/alignment/gender slice, or all 73 legal identities:

nethackers join --objective role:wiz
nethackers join --objective character:val-dwa-law-fem
nethackers join --objective all

Shared evolution

Community runs write to the public <owner>/nethacker lineage and register self-reported checkpoints with the hub. A checkpoint contains the resulting autoascend/ source, a Docker reproduction, candidate patch, scores, starting conditions, parents, hypotheses, failures, harness, objective, model, and compute metadata. Git history is the durable shared experiment log. A small private SQLite recovery capsule stays only in the local run directory so the same process can resume after a machine, CLI, or evaluator failure; it is not published to a personal repository or the hub. A resumed run is bound to its accepted repository, publication mode, hub, and verification criteria.

Private evolution remains available through nethackers session start --private. It needs no GitHub login, keeps checkpoints in durable local state, and can still read shared hub lineages, but it is not the community onboarding path. Public repositories may register self-reported results. Independent hub evaluation is a separate state, and the UI never presents self-reported scores as verified. Before verification, reputation can make a public lineage eligible for the trusted pool without changing its score provenance.

Harnesses can search shared roots by evidence, reputation, fitness, score, objective, role, exact role/race/alignment/gender identity, owner, recency, and hypothesis. MAP-Elites behavior cells, islands, and migration are sensible defaults in the built-in evolution harness. The default harness periodically requests an unseen objective-scoped hub program while it runs. Every imported root is source-checked and scored locally on the active objective before parent selection.

Evolution is one harness, not a platform restriction. nethackers join --harness evolution uses the built-in no-configuration strategy. To try another strategy, write its instructions in one file:

# Contrarian Search

Prefer strong results from under-explored character roles. Ask parallel subagents for distinct
hypotheses, import useful hub programs as they appear, and retain diversity across failure modes.

Save that as harness/contrarian-search/HARNESS.md, then run:

nethackers session start --private --harness ./harness/contrarian-search --objective role:wiz

The current Codex or Claude conversation interprets the recipe and can use its native subagents. NetHackers supplies the history, hub access, budgets, durable recovery, and a general plan boundary; the recipe chooses what to import, propose, retain, combine, or stop. Meta-harnesses can select or author inner strategies. A self-modifying recipe can write a successor HARNESS.md and request a bounded, content-addressed restart. No Python class, manifest, process, or protocol framing is required.

The shared SDK still owns program validation, isolated evaluation, objective comparability, GitHub storage, and hub registration. Program lineage and producer-implementation lineage are recorded separately, and the exact recipe source is committed with a public result. Unattended programs can use the advanced JSONL process adapter described in the harness protocol. The coverage matrix states which producer families and outputs work today.

Repository map

src/nethackers/sdk/        submission, query, search, GitHub lineage contracts
src/nethackers/harness/    agent-recipe boundary and advanced process adapter
src/nethackers/harness/evolution/  built-in MAP-Elites coding-agent harness
src/nethackers/eval/       objective-aware isolated NetHack evaluation
template/                  literal files used for each personal repository
roots/autoascend/          directly tracked symbolic root solution
harness/evolution/         built-in task and exact GigaEvo provenance

NetHackers adapts only GigaEvo's useful evolutionary kernel ideas: behavior-space binning, elite replacement, parent selection, islands, and migration. It does not vendor or run GigaEvo's Redis, Hydra, LangGraph, DAG, service, or logging platform. The adapted boundary is documented at the exact upstream commit in harness/evolution/UPSTREAM.md.

The root template/ is intentionally flatter than this development tree and is the source of truth for the generated personal repository:

README.md  result.json  candidate.json  Dockerfile  requirements.txt  run.py
autoascend/*.py  harness/<custom>/* (only when used)

That is the complete inspectable and reproducible artifact, not a copy of the product's internals.

Evidence

NetHack has 73 legal role/race/alignment/gender identities. Effort controls load; the objective independently controls which identities count. Self-reported evidence is comparable only when objective digests match. Canonical verification remains a separate full-catalog run with fixed time effects. Ranking rewards dungeon progress, score, robustness, and ascension while penalizing crashes.

The bundled AutoAscend root is revision fe3c9a21679d79c1a696987d90c4a6fe87f7c124. Its historical 1,024-seed score parity is tracked separately from runtime health: score parity passes, while the observed crash rate remains above the current health threshold and is not represented as a full health pass.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nethackers-0.6.22.tar.gz (231.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nethackers-0.6.22-py3-none-any.whl (181.5 kB view details)

Uploaded Python 3

File details

Details for the file nethackers-0.6.22.tar.gz.

File metadata

  • Download URL: nethackers-0.6.22.tar.gz
  • Upload date:
  • Size: 231.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nethackers-0.6.22.tar.gz
Algorithm Hash digest
SHA256 6c37543b91e500d12a699a3e917c2ee03ae7e853c0031181d1ede16683bc8fa8
MD5 19aef61fd41407ae020d86f3b933b7ea
BLAKE2b-256 d84cf894286c364314e8e28f173257676de72546bd92d0298c4935a9ff4f0632

See more details on using hashes here.

File details

Details for the file nethackers-0.6.22-py3-none-any.whl.

File metadata

  • Download URL: nethackers-0.6.22-py3-none-any.whl
  • Upload date:
  • Size: 181.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nethackers-0.6.22-py3-none-any.whl
Algorithm Hash digest
SHA256 2d65e4ea56c556763e54197203da9bf598a97ecac3668cd9fa7871c62682932b
MD5 7e67275a256f52a876648cf1f5ccbc0b
BLAKE2b-256 7b41022a5c17b24f6e919f217e19666f4e5a8ab01d87a4cccc68da5af9b0aed7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page