File size: 1,500 Bytes
2803d7e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "dnd-agents"
version = "0.1.0"
description = "Dungeon master and hero agent environments built on TextWorld and OpenEnv."
readme = "SPEC.md"
requires-python = ">=3.11,<3.12"
dependencies = [
  "openenv-core==0.2.1",
  "textworld==1.7.0",
  "fastapi>=0.115,<1",
  "uvicorn>=0.30,<1",
  "pydantic>=2.12,<3",
  "python-dotenv>=1.0,<2",
  "python-multipart>=0.0.9,<1",
  "google-genai>=1.0,<2",
  "huggingface-hub>=1.6,<2",
  "pytest>=8.0,<9",
]

[project.scripts]
dnd-master = "agents.master.main:main"
dnd-hero = "agents.hero.__main__:main"
dnd-loop = "agents.loop.__main__:main"
dnd-train = "agents.train.__main__:main"
dnd-openenv = "agents.openenv_server.__main__:main"

[project.optional-dependencies]
local-llm = [
  "accelerate==1.13.0",
  "bitsandbytes==0.49.2",
  "huggingface-hub>=1.6,<2",
  "peft==0.18.1",
  "transformers==5.3.0",
  "vllm==0.12.0; platform_system == 'Linux'",
]
train = [
  "accelerate==1.13.0",
  "bitsandbytes==0.49.2",
  "datasets==4.6.1",
  "huggingface-hub>=1.6,<2",
  "jmespath>=1.0,<2",
  "peft==0.18.1",
  "transformers==5.3.0",
  "trl==0.29.0",
  "vllm==0.12.0; platform_system == 'Linux'",
  "wandb==0.25.0",
]

[tool.setuptools.packages.find]
include = ["agents*"]

[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
  "live: tests that call live external model APIs",
]
filterwarnings = [
  "ignore:Game '.*' is not fully supported\\..*",
]