OpenTitan GenAI tools policy
Open source projects, software and hardware, have thrived for decades based on the merits of each technical contribution that is openly contributed to and reviewed by community peers.
Development and review of code generated by Generative Artificial Intelligence (“GenAI”) tools should be treated no differently.
Code or other content generated in whole or in part using GenAI tools may be contributed to OpenTitan.
The general rules apply to the use of any tooling, whether or not classed as GenAI, but there are some unique considerations related to AI-generated content.
Intentional Submission
01 / IntentAny contribution must be intentionally submitted by a human Contributor who agrees the Contributor License Agreement (CLA), executed via the Signed-off-by tag in the commit message.
By submitting such a Contribution under the CLA, the Contributor represents that they have reviewed and understand the generated material, and take full responsibility for the submission. Security and reliability are paramount and the Contributor is responsible for ensuring AI-generated code meets OpenTitan’s rigorous standards.
A GenAI tooldoes not have legal personality, hence it cannot agree the CLA and therefore cannot make a submission.
Transparency in Review
02 / TransparencyWhile not strictly required, Contributors are encouraged to disclose in their Pull Requests (PRs) the use of GenAI tools for significant blocks of generated code. This provides valuable context for reviewers to ensure the code is thoroughly scrutinized for AI-specific failure modes.
Restrictive Conditions
03 / RestrictionsContributors are responsible for ensuring that the terms and conditions of the generative AI tool do not place any contractual restrictions on how the tool’s output can be used that are inconsistent with the project’s Contributor License Agreement (CLA), open source software license or intellectual property policies.
Copyrighted materials
04 / CopyrightIf any pre-existing copyrighted materials (including pre-existing open source code) authored or owned by third parties are included in the GenAI tool’s output, prior to contributing such output to the project, the Contributor is responsible for confirming that they have have permission from the third party owners – such as the form of an open source license or public domain declaration that complies with the project’s licensing policies – to use and modify such pre-existing materials and contribute them to the project.