# CANNBot SOFTWARE LICENSE AGREEMENT
# Version 1.0, 2026-03-31
# Copyright (c) Huawei Technologies Co., Ltd. All rights reserved.
# 
# This English version is a translation of the Chinese LICENSE-zh_CN file.
# IN CASE OF ANY INCONSISTENCY OR AMBIGUITY BETWEEN THE ENGLISH AND CHINESE VERSIONS,
# THE CHINESE VERSION (LICENSE-zh_CN) SHALL PREVAIL.
#
# Licensed under the CANNBot Software License Agreement (the "Agreement");
# you may not use this file except in compliance with the Agreement.
# You may obtain a copy of the Agreement at
#
#     https://www.huawei.com/cannbot-license
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Agreement is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the Agreement for the specific language governing permissions and
# limitations under the Agreement.

## 1. Definitions
### 1.1 "CANNBot"
means an AI-assistant tool led by Huawei, built exclusively for the CANN community, which provides comprehensive intelligent Q&A, code completion and other AI services.

### 1.2 "CANN"
means Compute Architecture for Neural Networks, a device-cloud consistent heterogeneous computing architecture launched by Huawei for AI.

### 1.3 "User"
means an individual or entity that enters into this Agreement with Huawei, logs into CANNBot and uses CANNBot.

### 1.4 "Object Code"
means computer-executable program code in binary form.

### 1.5 "Source Code"
means uncompiled, human-readable software code written in accordance with programming language specifications.

### 1.6 "Open-Source Software"
means any source code or object code subject to an "open-source license". Software distributed non-publicly in source-code form as part of CANNBot is not Open-Source Software. An open-source license means a software license agreement that allows users to freely use, study, modify and share (copy and redistribute) the software and its source code, subject to specific conditions set forth in such license.

### 1.7 "Huawei"
means Huawei Technologies Co., Ltd. and its affiliates.

### 1.8 "You" (or "Your")
means you and the entity you are authorized to represent, collectively.

## 2. Grant of License
### 2.1 Scope of License
Subject to Your full compliance with all terms of this Agreement, Huawei grants You a limited, non-exclusive, non-transferable, non-sublicensable, revocable, terminable and term-based license within the mainland of the People's Republic of China, solely for the lawful downloading, installation, use, display and running of CANNBot.

### 2.2 Reserved Rights
All other rights not expressly authorized under this Agreement are reserved by Huawei. Unless otherwise provided by applicable laws and regulations, You shall obtain Huawei's prior written permission before exercising such rights. No failure by Huawei to exercise any of the foregoing rights shall constitute a waiver of such right.

## 3. Restrictions on Use
You shall not:
### 3.1 General Restrictions
(1) Download, install, use, display or run CANNBot beyond the scope specified in Section 2.1;
(2) Use, copy, disclose, distribute or publicly display CANNBot;
(3) Share, publish, rent or lease CANNBot to any third party;
(4) Assign Your rights and obligations under this Agreement or transfer CANNBot;
(5) Modify, adapt or translate CANNBot, in whole or in part;
(6) Reverse engineer, decompile or disassemble CANNBot, or attempt to derive the source code of CANNBot by other means;
(7) Circumvent or crack any technical restrictions in CANNBot;
(8) Remove, minimize, block or modify any notices of Huawei in CANNBot materials;
(9) Integrate CANNBot into any malicious, fraudulent or illegal scheme or product, or use CANNBot in any unlawful manner;
(10) Modify, create derivative works, link, integrate or distribute CANNBot such that any part thereof becomes Open-Source Software;
(11) Use CANNBot obtained under this Agreement for intellectual property infringement analysis or evidence-gathering against Huawei or Huawei's customers;
(12) Test CANNBot using performance evaluation or testing tools or publicly disclose test data without Huawei's prior written consent;
(13) Download CANNBot using batch download tools, crawlers or similar tools;
(14) Remove, conceal, modify or replace proprietary rights notices, links and other information contained in CANNBot, CANNBot-related interfaces or content generated by CANNBot.

### 3.2 Brand and Liability Restrictions
(1) You shall not use CANNBot or Huawei's brand to provide quality warranties for software You develop or services You provide.
(2) You shall be solely responsible to Your customers for any updates, support obligations or other liabilities arising from the distribution of Your products or services.
(3) You shall defend, indemnify and hold harmless Huawei from any claims, lawsuits or expenses (if any) arising from disputes or litigation caused by software You develop or services You provide.

### 3.3 Transfer Restrictions
(1) The rights granted to You under this Agreement are non-transferable unless with Huawei's prior written consent.
(2) You may assign CANNBot and Your rights under this Agreement to an Assignee only in connection with a change of ownership, merger, acquisition, sale or transfer of all or substantially all of Your business or assets, provided that:
   (i) You send a written notice to Huawei identifying the Assignee and Your legal entity;
   (ii) You identify the CANNBot to be assigned;
   (iii) You certify that You retain no copies of CANNBot or any part thereof;
   (iv) You certify that the Assignee has agreed in writing to be bound by all terms of this Agreement.

### 3.4 AI-Generated Content Restrictions
(1) AI-generated content in CANNBot is produced by large language model technology, does not represent Huawei's position, and is provided solely for Your personal study and reference.
(2) In professional fields (legal, medical, financial, etc.), CANNBot is not a substitute for professional advice.
(3) You are solely responsible for judgments or actions based on AI-generated content and shall not use it for illegal, high-risk or discriminatory purposes.

## 4. Updates to Materials
Huawei may update CANNBot at any time. Unless such updates include separate license terms, such updates shall be deemed part of CANNBot under this Agreement. You agree that Huawei is not required to notify You in advance of updates to CANNBot. Huawei does not guarantee full compatibility between versions of CANNBot.

## 5. Ownership
(1) Huawei owns all title and ownership of CANNBot and all copies thereof. CANNBot is protected by intellectual property rights, including without limitation copyright laws and international treaties.
(2) You shall not remove any copyright or other proprietary notices from the materials.
(3) You agree not to copy CANNBot without authorization.
(4) This Agreement does not grant You any intellectual property rights (patents, copyrights, trademarks, trade secrets) of Huawei except for the express rights set forth herein.

## 6. Feedback
(1) Any Feedback (materials, information, comments, suggestions) You provide to Huawei in connection with CANNBot shall grant Huawei a perpetual, irrevocable, non-exclusive, royalty-free copyright license to use such Feedback for any commercial or non-commercial purposes.
(2) If Feedback relates to technical features or functions, You grant Huawei a perpetual, irrevocable, non-exclusive, royalty-free patent license and sublicense right.

## 7. Confidentiality Obligations
(1) If no separate confidentiality agreement exists, CANNBot is Huawei's confidential information and shall be used solely for the purposes permitted under this Agreement.
(2) You shall protect Huawei's confidential information with at least the same degree of care as You protect Your own confidential information (no less than a reasonable degree of care).
(3) You shall disclose confidential information only to employees who have a need to know and agree to comply with confidentiality provisions, and You shall be liable for any breach by such employees.

## 8. User Code of Conduct
When using CANNBot, You shall comply with applicable laws and regulations, and shall not create (including by prompting AI to output), copy, publish, disseminate information or engage in conduct containing:
(1) Content opposing the basic principles established by the Constitution;
(2) Content endangering national security, disclosing state secrets, subverting state power, or undermining national unity;
(3) Content harming national honor and interests;
(4) Content distorting, tarnishing, insulting, sacrilegious or denying the deeds and spirit of heroes and martyrs;
(5) Content promoting terrorism or extremism, or inciting terrorist or extremist activities;
(6) Content inciting ethnic hatred or ethnic discrimination, or undermining ethnic unity;
(7) Content undermining national religious policies, promoting cults and feudal superstitions;
(8) Content spreading rumors, disturbing social order or undermining social stability;
(9) Content disseminating obscene, pornographic, gambling, violent, terrorist content or abetting crimes;
(10) Content insulting or defaming others, or infringing upon others' reputation, privacy and other legitimate rights and interests;
(11) Content using exaggerated titles with content inconsistent with titles;
(12) Content sensationalizing gossip, scandals or misdeeds;
(13) Content making inappropriate comments on natural disasters, major accidents and other disasters;
(14) Content containing sexual suggestions, sexual innuendo or other content likely to trigger sexual associations;
(15) Content displaying bloody, terrifying, cruel content harmful to physical and mental health;
(16) Content inciting group discrimination or regional discrimination;
(17) Content promoting vulgar or kitsch content;
(18) Content that may induce minors to imitate unsafe acts or develop bad habits;
(19) Content that infringes upon minors' legitimate rights and interests or harms minors' physical and mental health;
(20) Content inciting illegal assemblies, associations, processions, demonstrations or gathering to disrupt social order;
(21) Content engaging in activities in the name of illegal non-governmental organizations;
(22) Other content that adversely affects the online ecosystem or is prohibited by applicable laws and regulations.

## 9. Intellectual Property Rights
### 9.1 User Content
The intellectual property rights in content You upload or provide when using CANNBot shall be owned by You or the rightful owners thereof. Your use of CANNBot shall not affect the ownership of such content.

### 9.2 AI-Generated Content
Unless otherwise stated on CANNBot interfaces or agreed between You and Huawei, intellectual property rights in AI-generated content shall be owned by You or the rightful owners thereof.

### 9.3 Liability for Generated Content
You shall independently maintain and exercise judgment when using AI-generated content. Huawei shall not be liable for any losses incurred from the creation or use of such content, and reserves the right to claim compensation from You for any losses caused to Huawei.

## 10. Disclaimer of Warranties
### 10.1 AS-IS Provision
CANNBot is provided by Huawei "AS IS" and "AS AVAILABLE", without warranties of any kind, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, accuracy, completeness, reliability, freedom from viruses, errors or uninterrupted service, or non-infringement.

### 10.2 No Performance Commitment
Huawei makes no commitment to the performance, stability, compatibility or any results of use of CANNBot. You use CANNBot at Your own discretion and risk.

### 10.3 Third-Party Components
CANNBot may contain third-party open-source components, for which the relevant warranties and liabilities are solely undertaken by the original providers. Huawei shall not be liable for the legality, security or functionality of such components.

## 11. Limitation and Exclusion of Liability
Under no circumstances shall Huawei be liable for any direct, indirect, incidental, consequential, special or other losses or damages arising out of or in connection with Your use of CANNBot, including but not limited to:
(i) Loss of revenue;
(ii) Loss of actual or anticipated profits;
(iii) Loss of use of funds;
(iv) Loss of anticipated savings;
(v) Loss of business;
(vi) Loss of opportunity;
(vii) Loss of goodwill;
(viii) Loss of use of software;
(ix) Loss of reputation;
(x) Loss, damage or corruption of data;
(xi) Any other indirect, incidental, special or consequential damages.

## 12. No Additional Warranties
(1) Unless otherwise required by applicable laws, Huawei does not warrant that CANNBot is error-free or operates uninterruptedly.
(2) Huawei will provide mitigation measures or patches for material software vulnerabilities affecting product use during the lifecycle of CANNBot, but does not warrant that all errors will be tested or corrected.
(3) Huawei does not warrant that CANNBot or any devices, systems or networks using CANNBot will be free from intrusion or attacks.

## 13. Term and Termination
### 13.1 Effective Date and Termination for Breach
(1) This Agreement shall take effect on the date You accept it.
(2) If You breach any term of this Agreement and such breach is not cured within thirty (30) days following Huawei's written notice, Huawei may terminate this Agreement immediately, and You shall be liable for any losses caused to Huawei (including litigation fees and attorney fees).

### 13.2 Automatic Termination
If You initiate a lawsuit against Huawei or file a lawsuit against CANNBot used by a third party during the term of this Agreement, this Agreement shall terminate automatically on the date You initiate such lawsuit.

### 13.3 Remedies
Huawei shall be entitled to seek injunctive relief for breaches of this Agreement, in addition to claiming losses caused by such breaches.

### 13.4 Post-Termination Obligations
Upon termination of this Agreement, You shall immediately return or destroy CANNBot and all copies thereof.

### 13.5 Survival
Sections 1 (Definitions), 3 (Restrictions on Use), 4 (Updates to Materials), 5 (Ownership), 6 (Feedback), 7 (Confidentiality Obligations), 8 (User Code of Conduct), 9 (Intellectual Property Rights), 10 (Disclaimer of Warranties), 11 (Limitation and Exclusion of Liability), 12 (No Additional Warranties) shall survive the expiration or termination of this Agreement.

## 14. General Provisions
### 14.1 Governing Law and Jurisdiction
(1) This Agreement shall be construed and governed by the laws of the People's Republic of China, without regard to its conflict of laws rules.
(2) Any dispute arising under this Agreement that cannot be resolved amicably shall be submitted to the competent court in Shenzhen, Guangdong Province, China.

### 14.2 Severability
If any clause of this Agreement is invalid, illegal or unenforceable, the parties shall negotiate a replacement clause that reflects the original intent to the fullest extent possible, and the validity and enforceability of the remaining clauses shall not be affected.

## END OF TERMS AND CONDITIONS