Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Never Play Alone Benchmark

NPABench is a Minecraft benchmark harness for protocol agents.

Quick Start

pip install -e .
(cd tools/recorder && npm install)
(cd examples/agents/log_gatherer && npm install)

npabench run log_gatherer=examples/agents/log_gatherer \
  --mission resource_gathering \
  --seed 42

Multiple agents on the same generated task:

npabench run \
  agent_a=/path/to/agent_a \
  agent_b=/path/to/agent_b \
  --mission resource_gathering \
  --seed 42 \
  --max-parallel 2

Host subprocess mode for trusted local debugging:

npabench run log_gatherer=examples/agents/log_gatherer --no-sandbox

Python API

from npabench import AgentSpec, evaluate_single_agent

report = evaluate_single_agent(
    AgentSpec(name="log_gatherer", path="examples/agents/log_gatherer"),
    mission_id="resource_gathering",
    seed=42,
)
print(report.score, report.status)

Layout

npabench/
  config.py
  cli.py
  missions/
  evaluation/
  agents/
  minecraft/
  recording/
tools/
  recorder/
examples/
  agents/
tests/
  unit/
  integration/

About

Benchmark harness for evaluating Minecraft agents on shared missions with reproducible worlds, typed reports, and replay/trace output.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages