Theory of Mind modeling for Software Engineering assistants
Archived. The repository is read-only: no more fixes or releases will come.
pip install tom-sweTOM-SWE: User Mental Modeling For Software Engineering Agents
News
- [10/2025] Beta testing program launched - join us in testing ToM-enhanced agents!
Introduction
ToM-SWE is a Theory of Mind package designed to enhance Software Engineering agents with personalized user understanding and adaptive behavior.
ToM-SWE integrates seamlessly with OpenHands and other SWE agent frameworks, providing consultation capabilities that help agents understand user intent, preferences, and working styles for improved task performance.
Join the Beta Test
pip install uv
uvx --python 3.12 --from git+https://github.com/XuhuiZhou/OpenHands@feature/tom-codeact-agent openhands
For details, please refer to the Google doc
Get Started
Install from PyPI
pip install tom-swe
PyPI page: https://pypi.org/project/tom-swe/
Install Locally
We recommend using a virtual environment with uv:
pip install uv
uv sync
[!NOTE] You can use any other package manager to install dependencies (e.g. pip, conda), but we strongly recommend using uv for the best development experience.