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

如何安装和配置Cooragent?

2025-08-24 1.0 K

Cooragent支持Python 3.12+环境,提供conda和venv两种标准化的安装方案:

  1. environmental preparation:首先克隆GitHub仓库(git clone https://github.com/LeapLabTHU/cooragent.git)
  2. virtualized environment:推荐使用conda创建专属环境(conda create -n cooragent python=3.12)
  3. Dependent Installation:通过pip install -e .安装核心依赖,可选安装Playwright等浏览器工具
  4. Key Configurations:复制.env.example为.env文件,需配置:
    • API密钥(如OpenAI等模型接入凭证)
    • MCP_AGENT=True启用代理通信协议
    • USE_BROWSER=True启用网页爬虫功能
  5. validation test:运行python cli.py检查安装状态

特别注意:Windows用户需要参照官方文档安装额外依赖项,如遇到环境问题建议检查uv工具配置和PATH环境变量设置。

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