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

如何安装和配置 Magentic-UI?需要哪些前置条件?

2025-08-21 268

安装 Magentic-UI 需要以下步骤和前置条件:

Environmental Preparation:

  • 确保系统安装 Git 和 Docker(Windows 用户需启用 WSL2)
  • 验证 Docker 运行状态:docker --version

Installation Process:

  1. Clone a GitHub repository:git clone https://github.com/microsoft/magentic-ui.git
  2. 进入项目目录安装依赖:pip install -r requirements.txt
  3. Start the Docker service:docker-compose up -d
  4. Run the main program:python main.py

Optional configuration:

  • 模型配置:编辑 config.json 文件更换 AI 模型(默认支持 OpenAI)
  • 非 Docker 模式:运行 python main.py --no-docker,但会缺少代码执行功能

注意:完整功能需要 Docker 支持,推荐内存 8GB 以上的设备运行,首次使用可能需要较长时间拉取 Docker 镜像。

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