Home/Developer Tools/baba_is_eval
baba_is_eval logo

baba_is_eval

Enrichment pending
lennart-finke/baba_is_eval

Claude et al. play the brilliant puzzle title "Baba is You"

GraphCanon updated today · GitHub synced today

62 stars8 forksLast push 1y Python

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (379d since push)
As of today
Provenance
Not a fork · Personal account
As of today
Security (OSV)
No MCP manifest
As of today

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install baba_is_eval
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Claude et al. play the brilliant puzzle title "Baba is You"

Capability facts

Languages
python

Source: github.language · Jul 15, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Jul 15, 2026)

pip install mcp fastmcp pyautogui configparser
Source link
Works with Claude DesktopClaude Desktop

Source: README excerpt (regex_v1, Jul 15, 2026)

On top of this MCP client agnostic setup, you can use a client like Claude Desktop to have a model interact with the server and play the game.
Source link

Tags

README

Baba Is Eval

https://github.com/user-attachments/assets/cb6d0d49-b583-46a2-b262-1cf38279a531

We evaluate language models' meta-level reasoning in an interactive setting, like the upcoming ARC-AGI-3, except we use the brilliant puzzle game "Baba Is You". In short, the player manipulates the game rules by pushing word blocks around to form or destroy rules. We provide an MCP server to interact with the game in text format. The project is currently an alpha and not stable. Contributions are welcome, and brave devs with model credits to spare are invited to give it a try.

Setup 🔩

  • Buy "Baba Is You" somewhere, like on Steam: https://store.steampowered.com/app/736260/Baba_Is_You
  • Clone this repo in the Data folder
    • macOS + Steam: /Users/[username]/Library/Application Support/Steam/steamapps/common/Baba Is You/Baba Is You.app/Contents/Resources/Data
    • Windows + Steam (?): C:\Program Files (x86)\Steam\steamapps\common\Baba Is You\Data
  • Install prerequisites (or use uv)
pip install mcp fastmcp pyautogui configparser
  • Run the setup script (after inspecting its contents) (also required before restarting the game, and for changes to io.lua which in turn require restarting the game)
cd baba_is_eval
chmod +x setup.sh
./setup.sh
  • Open the game, preferably in a command line
    • macOS + Steam: /Users/[username]/Library/Application Support/Steam/steamapps/common/Baba Is You/Baba Is You.app/Contents/MacOS/Chowdren
    • (Currently we use clicking as a workaround for focusing, you might need to move the window to (800, 500) pixels on monitor one)
  • Start the MCP Server
mcp dev baba_is_eval/game_mcp.py

On top of this MCP client agnostic setup, you can use a client like Claude Desktop to have a model interact with the server and play the game.

Available MCP Tools

The server provides these tools for interacting with the game:

  • enter_level(level: str) - Enter a specific level (e.g., "1", "2", "3")
  • get_game_state() - Get the current game state as a matrix
  • execute_commands(commands: str) - Execute movement commands (e.g., "right,up,down")
  • undo_multiple(n: int) - Undo the last n moves
  • restart_level() - Restart the current level
  • leave_level() - Exit the current level
  • game_rules(topic: str) - Get help on game rules

The game state is returned as a matrix like this:

y/x |  1  |  2  |  3  |  4  |  5  
----+-----+-----+-----+-----+-----
 1  |     |     |     |     |     
 2  |     | baba|     |     |     
 3  |     |     | flag|     |     
 4  |     |     |     |     |     
 5  |     |     |     |     |     

Roadmap 🛣️

Contributions welcome! Goals listed in order of pressingness.

  • Reading and writing using modded Lua
  • MCP integration
  • Acceptable game I/O reliability
  • Complete MCP control over game functionality
  • Automated evaluation logs
  • More efficient scaffolding
  • Menu navigation beyond the first 8 levels, to arbitrary levels
  • Good latency
  • Parallel execution
  • Support for community levels

Inner Workings ⚰️

This works in the dumbest way possible; we reverse engineer the exposed Lua functions, use the mod functionality to read the game state, and write to one of the game state config files using mod hooks, which is then read in by the MCP server. For move and undo inputs, we write Lua files to commands/ from the MCP server to be read in, if detected, in the always mod hook. Perhaps this dooms the project to be brittle and slow forever, but perhaps there is some better way.

Credits

Baba is You was created by Hempuli. It is a lovely game, go play it yourself!

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.