Skip to content
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions content/en/docs/about/ai_policy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
+++
title = "AI Policy"
description = "Guidelines for using AI and coding agents"
weight = 30
aliases = ["/docs/ai-policy/"]
+++

Please review the Kubeflow [contributing](contributing.md) guide first.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also specify that if AGENTS.md files are present in Kubeflow sub-projects, agents should be configured to read them for additional context.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I remember @thesuperzapper mentioned this is not a policy but more of contributing guide or suggestion

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes agents.md and copilot-instructions.md

Copy link
Copy Markdown
Member

@andreyvelich andreyvelich Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@szaher Please can you add this, so we can merge this PR.
You can say that if those files are available, please review them for additional context.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i added it

Comment thread
franciscojavierarceo marked this conversation as resolved.
Outdated

The use of AI to generate code or documentation is permitted, but contributors must adhere to the following guidelines.

- **Verification:** Do not blindly submit AI outputs. All AI-generated code must be locally built, linted, and tested against the Kubeflow test suite before a PR is opened.
- **Explainability:** You must be able to explain and justify any AI-generated logic during the review process. If you can't explain it, don't submit it.
- **Disclosure:** If a contribution is substantially generated or refactored by AI (e.g., Claude, Codex, Cursor), include a note in the PR description or use a footer in the commit message: `Assisted-by: [Agent Name]`, or `Co-authored-by: [Agent Name]`.
- **Quality:** All contributions must still meet Kubeflow’s quality and security standards and comply with [DCO](https://developercertificate.org/), the [Apache-2.0](https://github.com/kubeflow/kubeflow/blob/master/LICENSE) license, and third-party IP/licensing requirements.
- **Authentic Communication:** AI should be used for code and technical drafting, not for automated responses to maintainer feedback or community discussions. We value human-to-human collaboration.