news 2026/7/1 19:57:46

openeuler/skills部署指南:零基础也能搭建的AI协议开发环境

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
openeuler/skills部署指南:零基础也能搭建的AI协议开发环境

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.03+)
  • Python版本:3.8及以上
  • 工具依赖:Git、pip(Python包管理工具)

快速检查命令

# 检查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.txt

2. 功能模块依赖

根据需要开发的功能,安装对应模块的依赖:

  • RAG模块pip install -r system-skills/rag/scripts/requirements.txt
  • 日志分析模块pip install -r scene-skills/log-gpt/scripts/ita_oeloggpt-master/requirements.txt
  • OEMate工具pip install -r scene-skills/oemate/scripts/requirements.txt

⚙️ 第三步:配置核心模块

RAG模块配置

  1. 复制配置文件模板:
    cd system-skills/rag/scripts/rag cp config.toml.example config.toml
  2. 编辑config.toml,根据需求调整数据库路径、embedding模型等参数。

日志分析模块配置

  1. 进入日志分析模块目录:
    cd scene-skills/log-gpt/scripts/ita_oeloggpt-master
  2. 配置文件位于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失败,尝试升级pip:

pip 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),仅供参考

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/7/1 19:55:59

解决90%的开发难题!openEuler/hi-mpu系统编译运行常见FAQ大全

解决90%的开发难题!openEuler/hi-mpu系统编译运行常见FAQ大全 【免费下载链接】hi-mpu hi-mpu is the open source repository for the mpu chip driver package. This repository provides the source code for the chip driver, driver dependencies, and build p…

作者头像 李华
网站建设 2026/7/1 19:54:00

OECP嵌入式兼容性认证:3步完成openEuler Embedded系统认证

OECP嵌入式兼容性认证:3步完成openEuler Embedded系统认证 【免费下载链接】oecp One for OSV as an certification tool 项目地址: https://gitcode.com/openeuler/oecp 前往项目官网免费下载:https://ar.openeuler.org/ar/ 在openEuler生态系统…

作者头像 李华
网站建设 2026/7/1 19:52:49

如何快速上手Kiran会话管理器:5分钟入门教程

如何快速上手Kiran会话管理器:5分钟入门教程 【免费下载链接】kiran-session-manager The session manager will load all necessary applications for a full-featured user session. 项目地址: https://gitcode.com/openeuler/kiran-session-manager 前往项…

作者头像 李华
网站建设 2026/7/1 19:51:18

utwget核心功能揭秘:断点续传、递归下载与SSL安全实现

utwget核心功能揭秘:断点续传、递归下载与SSL安全实现 【免费下载链接】utwget utwget is a refactoring of wget. 项目地址: https://gitcode.com/openeuler/utwget 前往项目官网免费下载:https://ar.openeuler.org/ar/ utwget 是一个功能强大的…

作者头像 李华
网站建设 2026/7/1 19:49:07

witty-profiler性能优化技巧:10个提升采集效率的实用方法

witty-profiler性能优化技巧:10个提升采集效率的实用方法 【免费下载链接】witty-profiler The witty-profiler is an automated data and control stream topology detection and bottleneck analysis tool for AI training and inferencing systems. 项目地址: …

作者头像 李华
网站建设 2026/7/1 19:48:59

env_check测试报告可视化:如何生成易读的健康检查报告

env_check测试报告可视化:如何生成易读的健康检查报告 【免费下载链接】env_check A tool for "health checking" after operating system upgrade 项目地址: https://gitcode.com/openeuler/env_check 前往项目官网免费下载:https://a…

作者头像 李华