-
To build a multimodal agent that can interact with its own PC in a multimodal manner. This means it can autonomously operate the mouse and click anywhere on the screen, rather than relying solely on browser analysis to make decisions.
-
This agent system will be used for subsequent reinforcement learning training of agents.
-
I have not yet conducted large-scale testing of this agent beyond the benchmark; please feel free to report any bugs or submit pull requests. 👋
Now, it is only tested on linux server with Nvidia Tesla GPU (A100, H200 ...). The GPU is for open-spurce model inference. There may be some bugs for Mac/Windows.
- Setup environment
cd InfantAgent
conda create --name infant python=3.11
conda activate infant
conda install -c conda-forge uv
uv pip install -e .
- Pull the Docker. Only required on the first use. It will pull the docker image from the Docker Hub.
docker pull bin12345/ubuntu-gnome-nomachine:22.04
-
(Optional) Config the config.toml file. If
Claude-3.7-Sonnetis the default model. -
Run
export ANTHROPIC_API_KEY='Your LLM API Key'
python infant/main.py
NOTE: When you start the Docker container for the first time, it takes a bit of time to install the NVIDIA driver. As long as the container still exists, you won’t need to install it again on subsequent runs.
demo.mp4
Finish Setup and Run:
uvicorn backend:app --log-level info
Choose your model & API Key in setting.
- Add: More emoj/user friendly front end.
Thanks to the many outstanding open-source projects and models.
-
OpenHands Our Docker container’s configuration, connection setup, and Jupyter execution method are based on OpenHands, and we used the OpenHands testbed for SWE-Bench testing.
-
browser-use Our web-browser tools are modified from browser-use.
-
docker-ubuntu-gnome-nomachine We modified the code for this to setup the nomachine display.
-
UI-TARS We use UI-TARS-1.5 7B as our default visual-grounding model.
@misc{lei2025infantagentnextmultimodalgeneralistagent,
title={InfantAgent-Next: A Multimodal Generalist Agent for Automated Computer Interaction},
author={Bin Lei and Weitai Kang and Zijian Zhang and Winson Chen and Xi Xie and Shan Zuo and Mimi Xie and Ali Payani and Mingyi Hong and Yan Yan and Caiwen Ding},
year={2025},
eprint={2505.10887},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2505.10887},
}
