Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

如何本地安装部署SciToolAgent?需要哪些前置条件?

2025-08-30 1.4 K

Preparation for installation

在开始本地部署前,请确保系统满足以下要求:16GB以上内存、Python 3.10环境、稳定网络连接,建议使用conda管理环境

Detailed installation steps

  1. Getting the source code:通过git克隆项目仓库
    git clone https://github.com/HICAI-ZJU/SciToolAgent.git
    cd SciToolAgent
  2. Creating a Virtual Environment:隔离Python依赖
    conda create -n SciToolAgent python=3.10
    conda activate SciToolAgent
  3. Installation of dependency packages:选择完整版或精简版
    pip install -r requirements.txt
    # 或精简版:pip install -r requirement_agent.txt
  4. Configuring the API Key:修改.env文件设置OpenAI API参数
    OPENAI_API_BASE = your_api_base
    OPENAI_API_KEY = your_api_key
  5. Starting services:运行启动脚本
    cd tools
    bash run.sh

Verify Installation

进入test目录运行测试脚本PYTHONPATH=. python test_run_SciToolAgent.py,查看tools/TempFiles目录是否生成预期结果文件。根目录的Cases.ipynb文件提供四个典型使用案例可供参考。

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish