openeuler/skills部署指南零基础也能搭建的AI协议开发环境【免费下载链接】skillsWith the rapid advancement of AI, standard protocols for AI agents—such as MCP and Skill—are continuously emerging. This repository is established to accommodate current and future AI agent protocols and their associated tools, providing users with generation, testing, and optimization scripts to facilitate agent development and improve agent usability.项目地址: https://gitcode.com/openeuler/skills前往项目官网免费下载https://ar.openeuler.org/ar/openEuler / skills是一个专注于AI代理协议如MCP和Skill的开发与优化工具集提供生成、测试和优化脚本帮助开发者轻松构建高效的AI代理应用。本指南将带你从零开始快速搭建完整的开发环境即使是没有经验的新手也能轻松完成。 准备工作环境与依赖检查在开始部署前请确保你的系统满足以下基本要求操作系统Linux推荐Ubuntu 20.04或openEuler 22.03Python版本3.8及以上工具依赖Git、pipPython包管理工具快速检查命令# 检查Python版本 python --version # 检查Git是否安装 git --version如果缺少上述工具请使用系统包管理器安装如apt install python3 git。 第一步获取项目代码首先通过Git克隆官方仓库到本地git clone https://gitcode.com/openeuler/skills cd skills 第二步安装核心依赖项目各模块通过requirements.txt管理依赖我们需要为主要功能模块安装依赖1. 基础环境依赖# 创建并激活虚拟环境推荐 python -m venv venv source venv/bin/activate # Linux/Mac用户 # venv\Scripts\activate # Windows用户 # 安装基础依赖 pip install -r scene-skills/ag_skill/scripts/requirements.txt2. 功能模块依赖根据需要开发的功能安装对应模块的依赖RAG模块pip install -r system-skills/rag/scripts/requirements.txt日志分析模块pip install -r scene-skills/log-gpt/scripts/ita_oeloggpt-master/requirements.txtOEMate工具pip install -r scene-skills/oemate/scripts/requirements.txt⚙️ 第三步配置核心模块RAG模块配置复制配置文件模板cd system-skills/rag/scripts/rag cp config.toml.example config.toml编辑config.toml根据需求调整数据库路径、embedding模型等参数。日志分析模块配置进入日志分析模块目录cd scene-skills/log-gpt/scripts/ita_oeloggpt-master配置文件位于model_server/loggpt_plugin/plugin.json可根据实际场景修改插件参数。✅ 第四步验证部署结果部署完成后通过以下命令验证核心功能是否正常工作测试RAG模块# 列出知识库 python system-skills/rag/scripts/rag.py list # 创建测试知识库 python system-skills/rag/scripts/rag.py create --kb_name test_kb --chunk_size 512测试日志分析模块# 启动日志分析服务 cd scene-skills/log-gpt/scripts/ita_oeloggpt-master python app.py测试OEMate工具# 获取访问令牌 python scene-skills/oemate/scripts/get_token.py # 列出分配给自己的issues python scene-skills/oemate/scripts/list_issues.py --assigned 常见问题解决依赖安装失败如果遇到pip install失败尝试升级pippip install --upgrade pip配置文件错误确保所有配置文件路径正确例如RAG模块的配置文件必须位于system-skills/rag/scripts/rag/config.toml。命令执行权限如果提示权限不足检查文件执行权限或使用虚拟环境隔离依赖。 扩展学习资源官方文档项目根目录下的README.md场景技能说明scene-skills/scene-skills.md系统技能参考system-skills/system-skills.md工具链指南toolchain/toolchain.md通过以上步骤你已经成功搭建了openEuler / skills的开发环境。接下来可以根据具体需求探索各模块的功能和使用方法开始你的AI代理开发之旅【免费下载链接】skillsWith the rapid advancement of AI, standard protocols for AI agents—such as MCP and Skill—are continuously emerging. This repository is established to accommodate current and future AI agent protocols and their associated tools, providing users with generation, testing, and optimization scripts to facilitate agent development and improve agent usability.项目地址: https://gitcode.com/openeuler/skills创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考