Skip to main content

DungeonGrid: text-first cooperative dungeon-crawl environment for multi-agent benchmarks

Project description

DungeonGrid

DungeonGrid is a text-first cooperative dungeon-crawl environment for multi-agent benchmarks.

It is designed around:

  • one to four submitted hero agents;
  • an always-AI Warden / dungeon-controller side;
  • compact text board-state observations;
  • structured JSON action plans instead of string actions;
  • batched plan execution with future reveal-boundary replanning;
  • fixed quest difficulty across solo, duo, trio, and squad slices.

This package is currently an alpha extraction of the DungeonGrid engine that is being integrated into NanoCoop.

Quick Start

from dungeongrid import DungeonGridEnvironment

env = DungeonGridEnvironment()
obs = env.reset(quest_id="lantern_crypt", num_heroes=2, seed=1)
print(obs.text)

step = env.step({"type": "message", "target": "party", "payload": {"text": "I'll scout east."}})
print(step.info)

Quests

Bundled alpha quests:

  • lantern_crypt
  • bells_under_blackwater
  • ashen_pantry
  • cinder_exit
  • low_shrine_locks

Status

DungeonGrid is under active development. Public names use DungeonGrid, while some compatibility aliases for the earlier TorchGrid prototype remain in the Python API to ease migration.

Project details


Download files

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

Source Distribution

dungeongrid-0.1.0a0.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

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

dungeongrid-0.1.0a0-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file dungeongrid-0.1.0a0.tar.gz.

File metadata

  • Download URL: dungeongrid-0.1.0a0.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for dungeongrid-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 06ab6361c8c5e3e24abeff73c8c2d4ac6a2675da6638b9464dccafa0f41de16d
MD5 d10512d51da1c14c6ea3689f76080068
BLAKE2b-256 2f0457eacdc3e9542a13717b80d1812c70ab9100a9b57a5c262ec7d9ba262ea7

See more details on using hashes here.

File details

Details for the file dungeongrid-0.1.0a0-py3-none-any.whl.

File metadata

  • Download URL: dungeongrid-0.1.0a0-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for dungeongrid-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 84b932f1d968655ba24adb32d05b02484be75f005bcf524b540e2d67f86fa340
MD5 efa8550e6e0616fdca4a8bfbcda0aafb
BLAKE2b-256 1c4061abc14ce2424373fab92db4c273dfac937b207522061678e98d359add9e

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