Blocksworld Benchmark with MCP
收藏资源简介:
该数据集由德国汉堡联邦国防军大学团队开发,是一个基于经典Blocksworld问题的可执行仿真基准测试,包含50个分属5种复杂度类别的预定义场景。数据集通过集成模型上下文协议(MCP)实现了标准化工具接口,支持动态交互与执行验证,涵盖空间限制、不完全信息等工业自动化典型挑战。其核心应用于评估大语言模型(LLM)代理的规划与执行能力,为自适应控制策略研究提供量化比较基础。
This dataset was developed by the research team from Universität der Bundeswehr Hamburg, Germany. It is an executable simulation benchmark based on the classic Blocksworld problem, containing 50 predefined scenarios categorized into 5 complexity classes. The dataset implements a standardized tool interface via the Integrated Model Context Protocol (MCP), supporting dynamic interaction and execution validation, and covers typical industrial automation challenges such as spatial constraints and incomplete information. Its core application is to evaluate the planning and execution capabilities of Large Language Model (LLM) agents, providing a quantitative comparison basis for adaptive control strategy research.
Blocksworld Simulation 数据集概述
数据集基本信息
- 名称:Blocksworld Simulation
- 类型:经典的积木世界AI规划问题的视觉模拟环境
- 核心功能:模拟一个可以跨多个堆栈操纵彩色积木的机器人手臂,支持通过交互式GUI和REST API进行程序化访问。
主要特性
- 交互式GUI:基于Pygame的视觉模拟,支持实时积木操纵。
- REST API:基于Flask的完整API,用于程序化控制和自动化。
- LLM集成:通过MCP服务器与AI助手兼容。
- 预定义场景:包含20多个具有不同难度级别的内置挑战。
- 计划执行与验证:在执行前测试AI生成的计划。
- 约束集:支持多种规则集,包括标准积木世界和汉诺塔规则。
- 最优解:为所有场景提供参考解决方案。
- 键盘控制:支持快速手动测试和实验。
控制方法
键盘控制
- 拾取/拆堆:按要拾取的积木对应的字母键。
- 放下:按
SPACE键将手持积木放置在地面。 - 堆叠:手持积木时,按目标积木的字母键将其堆叠在目标积木上。
- 开始随机模拟:按
SPACE键(当没有模拟运行时)。
REST API控制
API提供13个端点,用于完整的程序化控制:
- 模拟控制:
POST /start_simulation、POST /stop_simulation、POST /quit - 积木动作:
POST /pick_up、POST /put_down、POST /stack、POST /unstack - 计划执行:
POST /execute_plan、POST /verify_plan - 信息获取:
GET /get_status、GET /get_rules、GET /scenarios、GET /scenarios/<name_or_id>
约束集
模拟支持不同的规则集:
base(默认):标准积木世界规则,地面位置有限。hanoi_towers:汉诺塔规则(积木必须按大小顺序放置)。
文档与相关资源
- REST API文档:https://github.com/hsu-aut/blocksworld_simulation/blob/main/docs/rest-api.md
- MCP服务器仓库:https://github.com/hsu-aut/llmstudy_mcp-server
- 场景定义路径:
src/blocksworld_simulation/scenarios/definitions/ - 相关项目:Blocksworld MCP Server(https://github.com/hsu-aut/llmstudy_mcp-server)




