CANNBot 是面向 CANN 开发的用于提升开发效率的系列智能体,本仓库为其提供plugin、harness等应用模块。
当前访问频次受限,请登录后继续访问
CANNBot
🚀 概述
CANNBot 是 CANN 社区的 Infra 智能体层,用 Agent 完成 AscendC/PyPTO/TileLang/Triton 等各类语言的算子开发、模型迁移与推理优化,并延伸至图模式、Runtime 等更多 CANN 开发场景。
本仓(cannbot)是其应用仓与用户入口,提供工作流编排与场景插件;仓群还包括 cannbot-skills、cannbot-knowledge、cannbot-dsl、cann-bench、cannbot-sentry 等仓库,结构如下。

⚡ 快速开始
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/${plugin}
bash init.sh
${plugin}:插件名称,见官方插件,例如 ops-direct-invoke。
📦 官方插件
| 插件 | 能力 |
|---|---|
ops-direct-invoke |
基于 harness 的 Ascend C 直调算子开发工作流,支持技术穿刺、执行与验收、仓库知识覆写 |
ascendc-st-design |
Ascend C 算子 L0/L1/L2 ST 用例设计 |
model-infer-optimize |
NPU 模型迁移、精度对齐与推理性能优化 |
ops-registry-invoke |
ACLNN算子开发工作流 |
🧩 社区插件
| 插件 | 能力 |
|---|---|
model-train-precision-diagnose |
PyTorch on Ascend NPU 训练有限值偏差、NaN/Inf/Overflow 与确定性异常诊断 |