安装#
Wheel包安装#
可以使用pip进行安装:
pip install ms-agent
源代码安装#
# pip install git+https://github.com/modelscope/ms-agent.git
git clone https://github.com/modelscope/ms-agent.git
cd ms-agent
pip install -e .
如果使用DeepResearch或者CodeGenesis可能有额外依赖,请根据对应的README文档进行安装。
镜像#
推荐使用魔搭的官方LLM镜像。
运行环境#
MS-Agent使用LLM API运行,因此仅需要CPU环境即可。
环境 |
需求 |
|---|---|
python |
>=3.11 |