Skip to content
Agent Friendly Code

.openhands/setup.sh: the setup script OpenHands runs

.openhands/setup.sh is a shell script OpenHands runs on starting work in a repo, to install dependencies and prepare what the tests need.

By Himanshu Singh · Updated · How we score →

How many repos have an OpenHands setup script?

Of the 434 repos on the leaderboard, 2 pass in full (0.5%), 0 pass in part (0%) and 432 fail (99.5%).

Why does OpenHands need a setup script?

Per its repo-customization docs, OpenHands runs this script every time it begins work in a repo, so the agent starts with a working environment instead of figuring out the install. Only OpenHands reads it, so this check only affects its score.

What counts as an OpenHands setup script?

  • Full pass: .openhands/setup.sh exists and is not empty.
  • 20%: the file exists but is empty.
  • Fail: no .openhands/setup.sh.

How checks become a score: methodology.

How do I add .openhands/setup.sh to my repo?

Put in it the commands a new contributor runs once: install dependencies, build, set up test fixtures. Keep it non-interactive; nobody answers prompts.

Which AI agents read .openhands/setup.sh?

Pass rate by language

Top-scoring repos that pass

Popular repos that fail it

Every check, grouped into what to do first: how to make your repo ready for AI coding agents.