๐ซ CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
chore: update contributing guideline and PR template for AI code rule (#3844)
Wendong-Fan2cd233787f15
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.mdindex 00e84295a..8266cf715 100644--- a/.github/PULL_REQUEST_TEMPLATE.md+++ b/.github/PULL_REQUEST_TEMPLATE.md@@ -1,16 +1,30 @@-## Description+<!-- Thank you for contributing! -->-Describe your changes in detail (optional if the linked issue already contains a detailed description of the changes).+### Related Issue-## Checklist+<!-- REQUIRED: Link to the issue this PR resolves. PRs without a linked issue will be closed. -->+<!-- Example: Closes #123 or Fixes #456 -->-Go over all the following points, and put an `x` in all the boxes that apply.+Closes #-- [ ] I have read the [CONTRIBUTION](https://github.com/camel-ai/camel/blob/master/CONTRIBUTING.md) guide (**required**)-- [ ] I have linked this PR to an issue using the Development section on the right sidebar or by adding `Fixes #issue-number` in the PR description (**required**)-- [ ] I have checked if any dependencies need to be added or updated in `pyproject.toml` and `uv lock`+### Description++<!-- REQUIRED: Describe what this PR does and why. PRs without a description will not be reviewed. -->++### What is the purpose of this pull request? <!-- (put an "X" next to an item) -->++- [ ] Bug fix+- [ ] New Feature+- [ ] Documentation update+- [ ] Other++### Checklist++- [ ] I have read and agree to the [AI-Generated Code Policy](https://github.com/camel-ai/camel/blob/master/CONTRIBUTING.md#ai-generated-code-policy) (**required**)+- [ ] I have linked this PR to an issue (**required**)+- [ ] I have checked if any dependencies need to be added or updated in `pyproject.toml` and run `uv lock`- [ ] I have updated the tests accordingly (*required for a bug fix or a new feature*)-- [ ] I have updated the documentation if needed:+- [ ] I have updated the documentation if needed- [ ] I have added examples if this is a new featureIf you are unsure about any of these, don't hesitate to ask. We are here to help!diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 7cc027969..cc0928677 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -2,6 +2,42 @@Thank you for your interest in contributing to the CAMEL project! ๐ We're excited to have your support. As an open-source initiative in a rapidly evolving and open-ended field, we wholeheartedly welcome contributions of all kinds. Whether you want to introduce new features, enhance the infrastructure, improve documentation, asking issues, add more examples, implement state-of-the-art research ideas, or fix bugs, we appreciate your enthusiasm and efforts. ๐ You are welcome to join our [discord](https://discord.camel-ai.org/) for more efficient communication. ๐ฌ+---++## AI-Generated Code Policy++CAMEL is a multi-agent framework designed to deliver high-quality open source solutions. We welcome developers who genuinely use CAMEL to solve real-world problems to engage with us and build together.++**Our goals are:**++1. Pursue quality over quantity โ in both code and feature design within the CAMEL repository.+2. Welcome any developer or user who truly uses CAMEL, or shares our mission and vision, to discuss product and technology with us.++### Why This Policy Exists++As AI coding capabilities grow, an increasing number of AI coding bots or vibe-coded submissions are introducing significant noise and risk to open-source repositories:++1. **Code quality risks.** AI-generated code may contain subtle bugs or hallucinations. An excessive volume of unreviewed LLM-generated code dramatically increases maintenance costs.+2. **Community culture.** For CAMEL's community, we uphold the core value of human collaboration and oppose low-effort, low-signal spamming.++### Contribution Requirements++We are taking the following precautionary steps to maintain the integrity of this open-source repository:++1. **PRs must reference a prior discussion.** Every PR must link to a previously discussed and accepted issue, Discord thread, or equivalent. Drive-by PRs with no associated accepted issue will be closed.+2. **No unreviewed LLM-generated submissions.** We will close PRs that are primarily generated by LLMs or chatbots and submitted without meaningful human review, especially "vibe-coded" submissions.+3. **Human-verified testing is required.** Do not submit code that is "theoretically correct but untested." Every PR must include proof of testing (e.g., screenshots, screen recordings, test output logs).+4. **AI-assisted drafts are acceptable for issues, discussions, and prototypes**, but they must be reviewed and edited by a human to reduce verbosity and noise.++### Enforcement: Grounds for Immediate Ban++The following abusive behaviors will result in an immediate ban (PR submission privileges revoked):++1. **Inauthentic contribution activity.** Using AI tools to artificially inflate open-source contribution metrics for personal or commercial gain.+2. **Bulk, low-quality, irrelevant, or misleading AI-generated content.**++---+## Join Our Community ๐### Schedule an Introduction Call ๐