Run the Reason agent through the Reason Machines API.
Install the Reason CLI:
curl -LsSf https://reasonmachines.com/install.sh | bashInstall the Pier adapter with Python 3.12+:
pip install --upgrade https://github.com/reason-machines/examples/releases/download/latest/reason_machines_pier.tar.gzDownload the DeepSWE tasks and get your REASON_API_KEY from the Reason Machines dashboard.
export REASON_API_KEY="<your-reason-api-key>"
pier run --path deep-swe/tasks \
--agent-import-path reasonmachines_pier:ReasonAgent \
--model openai/gpt-5.6-luna--agent-import-path reasonmachines_pier:ReasonAgent loads the Reason adapter. Everything else uses standard Pier options.
Cite the upstream DeepSWE and Pier repositories alongside this example.
@misc{reasonmachines_examples,
author = {{Reason Machines}},
title = {Reason Machines Examples},
year = {2026},
howpublished = {\url{https://github.com/reason-machines/examples}}
}