Skip to content

curl

Command-line tool and library for transferring data with URLs.

Friendly. Welcomes AI-assisted work.

Homepage Repository

curl accepts code written with the help of AI as long as it follows the project's coding standards, is clearly written, documented and tested, and obvious AI-generated sloppiness is not tolerated. Using AI to find bugs or security problems is allowed only if you say so in the report and verify every finding yourself, pasting AI-generated explanations into project communication is not wanted, and AI translation of your own text is welcome.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Friendly
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
Mostly friendly
  • AI use must be disclosed
  • A human must review the output
AI-written textPull request descriptions, issue comments and summaries written by AI.
Mostly friendly
  • AI only for some kinds or sizes of work

What is allowed and what is not

Code contributions

  • Autocomplete · Allowed

    AI code completion is fine; the resulting code must still meet curl's normal coding standards and quality requirements.

    2 quotes

    We can accept code written with the help of AI into the project, but the code must still follow coding standards, be written clearly, be documented, feature test cases and adhere to all the normal requirements we have.

    Contributing to the curl project

    A basic rule of thumb is that if someone can spot that the contribution was made with the help of AI, you have more work to do.

    Contributing to the curl project
  • Small fixes · Allowed

    Small AI-assisted changes are accepted as long as they follow the coding standards, are clearly written, documented and tested.

    2 quotes

    We can accept code written with the help of AI into the project, but the code must still follow coding standards, be written clearly, be documented, feature test cases and adhere to all the normal requirements we have.

    Contributing to the curl project

    A basic rule of thumb is that if someone can spot that the contribution was made with the help of AI, you have more work to do.

    Contributing to the curl project
  • Large or generated changes · Allowed

    Code written with AI help is accepted, but it must follow coding standards, be written clearly, be documented, include test cases and meet all normal requirements.

    2 quotes

    We can accept code written with the help of AI into the project, but the code must still follow coding standards, be written clearly, be documented, feature test cases and adhere to all the normal requirements we have.

    Contributing to the curl project

    A basic rule of thumb is that if someone can spot that the contribution was made with the help of AI, you have more work to do.

    Contributing to the curl project
  • Mechanical changes · Allowed

    Repetitive AI-assisted edits are accepted under the same normal quality, style and documentation rules as any other contribution.

    2 quotes

    We can accept code written with the help of AI into the project, but the code must still follow coding standards, be written clearly, be documented, feature test cases and adhere to all the normal requirements we have.

    Contributing to the curl project

    A basic rule of thumb is that if someone can spot that the contribution was made with the help of AI, you have more work to do.

    Contributing to the curl project
  • Tests · Allowed

    AI-written tests are accepted, and AI-assisted code is expected to come with the test cases the project normally requires.

    Quote

    We can accept code written with the help of AI into the project, but the code must still follow coding standards, be written clearly, be documented, feature test cases and adhere to all the normal requirements we have.

    Contributing to the curl project
  • Build and CI · Allowed

    Build, CI and packaging code written with AI help is not treated differently; it must meet the project's normal requirements.

    Quote

    We can accept code written with the help of AI into the project, but the code must still follow coding standards, be written clearly, be documented, feature test cases and adhere to all the normal requirements we have.

    Contributing to the curl project
  • Other code contributions rule · Not allowed

    Authors carry the burden of ensuring they are allowed to hand over the content and that it can be redistributed under the curl license, and the document states this applies whether or not AI is used.

    2 quotes

    When contributing content to the curl project, you give us permission to use it as-is and you must make sure you are allowed to distribute it to us.

    Contributing to the curl project

    This is independent if AI is used or not.

    Contributing to the curl project
Not covered by the policy (7)

Documentation, Translating the software, Images and media, Research and learning, Checking own work, AI as author, Autonomous agents.

Issues & bug reports

  • Finding bugs with AI · Allowed with conditions

    Allowed if you reveal in the report that an AI tool found the problems and you have verified each finding yourself before reporting it.

    • Disclose AI use: Say in the report that an AI tool was used to find the problems
    • Review AI output first: Double-check the findings before reporting them
    2 quotes

    If you asked an AI tool to find problems in curl, you **must** make sure to reveal this fact in your report.

    Contributing to the curl project

    You must also double-check the findings carefully before reporting them to us to validate that the issues are indeed existing and working exactly as the AI says.

    Contributing to the curl project
  • AI-written reports · Discouraged

    Copying and pasting an AI-generated report is called rarely a good idea; the project asks you to verify the finding and then write the report yourself.

    2 quotes

    Further: it is *rarely* a good idea to copy and paste an AI generated report to the project.

    Contributing to the curl project

    If you actually find a problem with an AI and you have verified it yourself to be true: write the report yourself and explain the problem as you have learned it.

    Contributing to the curl project
  • Security reports · Allowed with conditions

    The AI guidelines cover security reports too: say that AI was used and confirm the problem is real and works as described before reporting it.

    • Disclose AI use: Reveal in the report that an AI tool was used
    • Review AI output first: Verify the finding carefully before reporting
    2 quotes

    If you asked an AI tool to find problems in curl, you **must** make sure to reveal this fact in your report.

    Contributing to the curl project

    You must also double-check the findings carefully before reporting them to us to validate that the issues are indeed existing and working exactly as the AI says.

    Contributing to the curl project
Not covered by the policy (1)

Bots filing issues.

AI-written text

  • Comments · Discouraged

    Pasting massive AI-generated explanations into issues, pull requests or other project communication is not wanted; write briefly and clearly in your own human voice.

    • Keep it small: Write briefly in your own voice; do not paste massive AI-generated explanations
    2 quotes

    Do not lazily paste massive, AI-generated explanations; it is your responsibility to invest a few extra minutes into making your message digestible.

    curl vulnerability disclosure policy

    When communicating in the curl project, please explain your issues or improvements briefly and clearly in your own human voice.

    curl vulnerability disclosure policy
  • Translating own text · Allowed

    AI translation of your own reports, texts and documentation is welcomed; mentioning that you used a tool is suggested so the text is not mistaken for AI slop.

    • Disclose AI use: Consider mentioning that an AI translation tool was used (recommended, not required)
    2 quotes

    Translation services help users write reports, texts and documentation in non-native languages and we encourage and welcome such contributors and contributions.

    Contributing to the curl project

    As AI-based translation tools sometimes have a way to make the output sound a little robotic and add an "AI tone" to the text, you may want to consider mentioning that you used such a tool.

    Contributing to the curl project
Not covered by the policy (9)

Pull request descriptions, Commit messages, Answering reviewers, Reviewing others' work, Forum and list posts, Proofreading, Quoting AI output, Summarizing discussions, Bots posting.

Sources