CANNBot

npm

🚀 概述

CANNBot 是 CANN 社区的 Infra 智能体层,用 Agent 完成 AscendC/PyPTO/TileLang/Triton 等各类语言的算子开发、模型迁移与推理优化,并延伸至图模式、Runtime 等更多 CANN 开发场景。

本仓(cannbot)是其应用仓与用户入口,提供工作流编排与场景插件;仓群还包括 cannbot-skills、cannbot-knowledge、cannbot-dsl、cann-bench、cannbot-sentry 等仓库,结构如下。

CANNBot 仓群结构

⚡ 快速开始

npm 安装

npx @cannbot-plugin/cannbot@latest install ${plugin} --tool opencode

源码安装

git clone --recurse-submodules --shallow-submodules https://gitcode.com/cann/cannbot.git
cd cannbot/plugins-official/${plugin}
bash init.sh

${plugin}:插件名称,见官方插件,例如 ops-direct-invoke。

📦 官方插件

插件 能力
ops-direct-invoke Ascend C 直调算子开发:以 <<<>>> 直接调用核函数的方式接入
ops-registry-invoke Ascend C 注册算子开发:经 ACLNN / GEIR 接入框架,以标准算子形式调用
ascendc-st-design Ascend C 算子 L0/L1/L2 ST 用例设计
model-infer-optimize NPU 模型迁移、精度对齐与推理性能优化

🧩 社区插件

社区插件属实验孵化性质,清单与完整介绍见 社区插件介绍。

📖 文档

💬 相关信息