Skip to content

Instantly share code, notes, and snippets.

@neubig
neubig / fusion_harness_example.py
Created June 29, 2026 23:28
Fusion Harness: How to combine a more expensive main model and a sidekick model
"""Fusion-style delegation harness built with the OpenHands SDK.
Install:
uv pip install openhands-sdk openhands-tools
Run:
export LLM_API_KEY="..." # or export OPENHANDS_API_KEY="..."
export MAIN_MODEL="openhands/gpt-5.5"
export SIDEKICK_MODEL="openhands/minimax-m2.7"
uv run python fusion_harness_example.py "Find and fix the failing tests in this repo."