# Ansible AI Policy?

**URL:** <https://forum.ansible.com/t/ansible-ai-policy/42642>\
**Category:** Project Discussions\
**Tags:** ai, community-wg-nextmtg, community-wg\
**Created:** [May 14, 2025, 8:58am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642 "2025-05-14T08:58:14Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![webknjaz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/webknjaz/32/5183_2.png) [@webknjaz](https://forum.ansible.com/u/webknjaz)\
**Post date:** [November 19, 2025, 9:26am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/21 "2025-11-19T09:26:29Z")

</div>

> [@russoz](#):
>
> [https://agents.md/](https://agents.md/)

That’s a good idea in general, although they’re kinda lying about the existing use on the front page: [Fix "used by" overestimate on the web pages by webknjaz · Pull Request #30 · openai/agents.md · GitHub](https://github.com/openai/agents.md/pull/30)

---

<div class="post-metadata">

**Author:** ![webknjaz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/webknjaz/32/5183_2.png) [@webknjaz](https://forum.ansible.com/u/webknjaz)\
**Post date:** [November 19, 2025, 9:30am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/22 "2025-11-19T09:30:20Z")

</div>

I pointed Claude at my gist [This Gist collects opinions and pointers on fighting LLM spam on GitHub · GitHub](https://gist.github.com/webknjaz/10f1106d0a3fd489745c2bc656400d1f) (with links to all discussions/policies I’ve seen) in research mode and it started scanning 357 sources.

This is what it composed: [https://claude.ai/public/artifacts/de2ffa40-98dc-4458-b1b5-f3e645bf7840](https://claude.ai/public/artifacts/de2ffa40-98dc-4458-b1b5-f3e645bf7840).

It’s rather comprehensive (and a bit long). But, there’s a policy template and coping strategies inside. I shared this on the internal Slack and @gundalow asked me to re-post here.

---

<div class="post-metadata">

**Author:** ![markstos](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/markstos/32/9706_2.png) [@markstos](https://forum.ansible.com/u/markstos)\
**Post date:** [November 20, 2025, 2:50pm UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/23 "2025-11-20T14:50:57Z")

</div>

Fedora’s AI has been published now:

> **[AI-Assisted Contributions Policy](https://docs.fedoraproject.org/en-US/council/policy/ai-contribution-policy/)**
>
> Fedora Project's official policy for AI-assisted contributions. Learn the key rules on accountability, transparency, and the proper use of generative AI tools.

Seems reasonable to me. There would benefits to align with that for people who contribute to both projects.

---

<div class="post-metadata">

**Author:** ![webknjaz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/webknjaz/32/5183_2.png) [@webknjaz](https://forum.ansible.com/u/webknjaz)\
**Post date:** [November 20, 2025, 3:04pm UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/24 "2025-11-20T15:04:34Z")

</div>

People are trying to align on stuff @ [wg-ai-alignment/moderation at main · chaoss/wg-ai-alignment · GitHub](https://github.com/chaoss/wg-ai-alignment/tree/main/moderation#readme).

I’ve also started a discussion in pip-tools as I’m looking to come up with something to be copied into many projects I’m involved in: [[policy] Good-faith agentic contributions and LLM use, and avoiding death by a thousand AI slops · jazzband/pip-tools · Discussion #2278 · GitHub](https://github.com/jazzband/pip-tools/discussions/2278).

---

<div class="post-metadata">

**Author:** ![webknjaz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/webknjaz/32/5183_2.png) [@webknjaz](https://forum.ansible.com/u/webknjaz)\
**Post date:** [March 3, 2026, 12:37pm UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/25 "2026-03-03T12:37:10Z")

</div>

_📢 UPD:_ I’m happy to announce that we’ve accepted the initial policy in `pip-tools` 3 days ago, it’s a part of the contrib guide — [Contributing - pip-tools documentation v7.5.4.dev32](https://pip-tools.rtfd.io/en/latest/contributing/#project-contribution-guidelines). The corresponding PR (in addition to the discussion I posted earlier) holds some interesting context regarding the decisions agreed upon and improvements postponed over the course of the debate: [https://github.com/jazzband/pip-tools/pull/2318](https://github.com/jazzband/pip-tools/pull/2318).

P.S. This forum post has also been mentioned in the article that attempts to visualize how different projects handle slop: [The Generative AI Policy Landscape in Open Source – console.log()](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/).

---

<div class="post-metadata">

**Author:** ![russoz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/russoz/32/127_2.png) [@russoz](https://forum.ansible.com/u/russoz)\
**Post date:** [March 31, 2026, 1:34am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/26 "2026-03-31T01:34:44Z")

</div>

I (finally!) took the time to read that article properly. The bottom line there, as I see it, is to ensure there are markers (any of `Co-Authored-by:`, `Assisted-by:`, etc…) and to be aware that using AI incurs in a risk in the realm of licensing and copyrighting, but that risk is not dissimilar from the risk we have had with plain humans (says Mr 🤖) in the past.

To what I would add a grain of salt: scale. While the risk is really very similar, a human could **produce** a certain amount X of code (in whatever unit you choose: LOC, files, modules, PRs, …). And humans on the other side of the equation, would incur in a certain cost Y (also in whatever unit you choose: monies, effort, organizational time, personal time, CPU cycles of tools performing analysis, etc…) to **consume** that code, in terms of: processing the risk, mitigating, solving, ensuring things are alright.

With AI-assisted coding, the new X is now 3X, 10X, potentially-too-many X. For example, yesterday I had one contributor in c.g. who submitted 6 PRs, clearly vibe-coded, within a window of 30mins, give and take. This has been the first time we’ve seen that in c.g., but I am sure it won’t be the last. And then it won’t be only one person. It is not realistic to believe that we can scale Y up to match the demand using only humans on the other side. The only solution I can see right now, is use AI itself to review the issues and PRs. It feels like a cold war arms race: they use it more, we use it more to counter that, and as it seems to be working, they will use even more after that, and so on so forth.

The one thing we can try to do here is to take _some_ control of the producer side of the equation by providing standard rules/prompts/skills/agents that “know” how to behave, what is acceptable and what is not, and will attempt to smooth the path before it even makes it to the consumer side. As expected, this will not solve 100% of the cases, but it could greatly reduce the risk and effort spent on the consumer side.

And those are my two cents.

---

<div class="post-metadata">

**Author:** ![bcoca](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bcoca/32/9269_2.png) [@bcoca](https://forum.ansible.com/u/bcoca)\
**Post date:** [March 31, 2026, 2:28am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/27 "2026-03-31T02:28:40Z")

</div>

Many people don’t realize it is harder and takes more time to review code well than to write it well, if it is written badly, it multiplies the reviewer’s cost.

I would recommend a throttle rule, limit submissions, specially of new contributors, x2 so if ‘vibing’. The limit can be enforced in the form of ‘we only review one PR, we do not get to the 2nd until after the first one is merged’. This is something we used to do in core, pre collections, when modules/plugins were all in the same place and we were overwhelmed with new submissions.

This allows the authors to learn what to look for, how to adjust the PRs to get a feel of what is required to get a merge, so their subsequent PRs can be presented in a much better way.

---

<div class="post-metadata">

**Author:** ![dbrennand](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dbrennand/32/7830_2.png) [@dbrennand](https://forum.ansible.com/u/dbrennand)\
**Post date:** [April 1, 2026, 8:13am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/28 "2026-04-01T08:13:41Z")

</div>

Likely not the first one, but there is an Openclaw agent which has raised a PR in the `ansible/ansible-documentation` repo: [fix(docs): clarify SSH connection plugin default behavior by money-pit-bot · Pull Request #3497 · ansible/ansible-documentation · GitHub](https://github.com/ansible/ansible-documentation/pull/3497)

@oranod and @Andersson007 were discussing there about how to proceed with the PR. As @Andersson007 mentioned in that PR, there is a AI policy in the works which we hope to share with everybody in the next few weeks.

* * *

What are people’s thoughts on **fully autonomous** AI agents submitting these kind of PRs. Do we accept them? or do we not accept them at all? @webknjaz I see that [Contributing - pip-tools documentation v7.5.4.dev46](https://pip-tools.readthedocs.io/en/latest/contributing/#autonomous-code-submissions) the approach is the latter:

> Autonomous Code Submissions  
> The use of agents which write code and submit pull requests without human review is not permitted.

IMO, the main concern for me is also maintainer burden as @felixfontein mentioned earlier on. Fully autonomous agents can churn out code and PRs and this can put tremendous stress on the maintainer(s). The maintainer(s) could use AI tools themselves to help with the review but I’m not sure that is sustainable long term as the human review would be lost due to cognitive overload and could also have negative affects on the overall health of the codebase.

@Andersson007 and I were discussing the other day about a PR which was raised by an autonomous agent, he spent significant time reviewing it and then the agent closed the PR and the agent’s GitHub account was deleted from GitHub entirely.

Interested to hear others thoughts on this area.

---

<div class="post-metadata">

**Author:** ![russoz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/russoz/32/127_2.png) [@russoz](https://forum.ansible.com/u/russoz)\
**Post date:** [April 1, 2026, 10:28am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/29 "2026-04-01T10:28:25Z")

</div>

> [@dbrennand](#):
>
> What are people’s thoughts on **fully autonomous** AI agents submitting these kind of PRs. Do we accept them? or do we not accept them at all? @webknjaz I see that [Contributing - pip-tools documentation v7.5.4.dev46](https://pip-tools.readthedocs.io/en/latest/contributing/#autonomous-code-submissions) the approach is the latter:

I think it is not realistic to suppose that we will be able to distinguish a fully autonomous from a semi-autonomous. If that’s feasible today, it is only a matter of time (and not a lot of it) for it to become impossible to distinguish.

The path I see that could work would:

- Provide the skillset for the AIs to consume and use, tilted towards ours standards, conventions, rules, etc. Instead of trying to fight the wave, we should harness its strength in our favour.
- Forbid PRs larger than some arbitrary size, except when coming from the maintainers and/or some trusted contributors. Reduce the size of the change → reduce the review effort → reduce the risk → reduce the blast radius. Agile methodology for the win.
  - **Update:** that could (should?) be combined with some sort of throttling as suggested above by @bcoca.

- Actively use AI to triage and review issues and PRs using that skillset mentioned above (and possibly more artefacts. E.g. if a PR is larger than the established limit, the agent itself can comment and close the issue. They will use AI, and we can use it too.
- Constantly review the interactions in issues/PRs and accrue knowledge to the skills/rules/agents. Constant improvements.
- **Update:** Add one (or more, as needed) AI agents specialized in scanning the changes for security vulnerabilities or attacks. Get ahead of the curve, accept that malicious code _will_ be submitted eventually, and analyse it earlier on.
  - It follows that we could use these agents to review the security of the entire codebase, but that would have to be executed independently from the issues/PRs mechanics.
  - **Update:** Conversely we could have other agents looking over specialised aspects of the project:
    - an agent to review docs
    - an agent to review the architectural soundness of the code
    - etc…

I don’t believe we can stop that wave from crashing. We might as well surf it. 🏄

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [April 1, 2026, 5:10pm UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/30 "2026-04-01T17:10:33Z")

</div>

I think that for now, we should reject contributions which do not seem to have human involvement. As long as we don’t have proper sentient AIs who can be trusted similarly to humans, letting a bot act autonomous without checking its output is both a liability and basically offloading all the work to maintainers. This is particularly problematic as maintainer time is a very scarce resource.

(If maintainers have their own autonomous bots for their repos, that’s something they have to make out among the maintainers team. Or if they want to grant specific users allowance for specific bots of them. My main problem is with general, unsolicited autonomous bot contributions.)

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [April 1, 2026, 5:20pm UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/31 "2026-04-01T17:20:58Z")

</div>

Regarding not being able to determine whether a bot is fully autonomous, semi-autonomous, or a bot at all: that’s indeed an unsolvable problem, I fully agree with @russoz here. For the moment, I think the best approach similar to duck typing: if it walks like a duck and quacks like a duck, it’s probably a duck. This definitely has false positives and false negatives, but I can’t think of a method that doesn’t…

---

<div class="post-metadata">

**Author:** ![bcoca](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bcoca/32/9269_2.png) [@bcoca](https://forum.ansible.com/u/bcoca)\
**Post date:** [April 1, 2026, 9:20pm UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/32 "2026-04-01T21:20:53Z")

</div>

[Good Egg: Trust Scoring PRs · Actions · GitHub Marketplace · GitHub](https://github.com/marketplace/actions/good-egg-trust-scoring-prs) \<= had been looking for this, if not this something similar can be done via bot

---

<div class="post-metadata">

**Author:** ![gundalow](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gundalow/32/99_2.png) [@gundalow](https://forum.ansible.com/u/gundalow)\
**Post date:** [April 9, 2026, 5:33am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/33 "2026-04-09T05:33:02Z")

</div>

> [@dbrennand](#):
>
> What are people’s thoughts on **fully autonomous** AI agents submitting these kind of PRs. Do we accept them? or do we not accept them at all

I’ve personally viewed the AI policy and Code of Conduct more generally as “is this interaction adding value is a meaningful and polite way”.  
I personally don’t want us to get towards auto detecting (or rejecting) contributions due to auto detection. I think it might be good to ask what level of AI assistance was used to generate a contribution.

I’ve personally used Claude to autonomously create collection PRs to bulk fix Read the Docs links. PRs were created in draft mode, reviewed by myself then ready for review & merge. Worked well and I’ve got other improvements I want to make.

Although not common, we gave had people blindly run security scanners and submit reports or PRs without understanding what they are suggesting, same problem. The creator of the contribution needs to agree that they are acting in good faith and understands what they are suggesting.

---

<div class="post-metadata">

**Author:** ![Andersson007](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/andersson007/32/89_2.png) [@Andersson007](https://forum.ansible.com/u/Andersson007)\
**Post date:** [April 9, 2026, 7:12am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/34 "2026-04-09T07:12:47Z")

</div>

Hi, everyone  
We’ve created a [forum post](https://forum.ansible.com/t/ansible-community-ai-policy-proposal/45655) with an AI policy proposal. There’s also a link to a PR with the policy.  
Please task a look.

---

<div class="post-metadata">

**Author:** ![Andersson007](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/andersson007/32/89_2.png) [@Andersson007](https://forum.ansible.com/u/Andersson007)\
**Post date:** [April 28, 2026, 6:21am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/35 "2026-04-28T06:21:37Z")

</div>

The policy has been [merged](https://github.com/ansible/ansible-documentation/pull/3588) 🎉  
Thanks everyone for your feedback! ❤

---

<div class="post-metadata">

**Author:** ![russoz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/russoz/32/127_2.png) [@russoz](https://forum.ansible.com/u/russoz)\
**Post date:** [June 12, 2026, 10:46am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/36 "2026-06-12T10:46:36Z")

</div>

For reference, the policy has been published in [Ansible Community Policy for AI-Assisted Contributions](https://docs.ansible.com/projects/ansible/latest/community/ai_policy.html#ansible-community-policy-for-ai-assisted-contributions).

---

<div class="post-metadata">

**Author:** ![webknjaz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/webknjaz/32/5183_2.png) [@webknjaz](https://forum.ansible.com/u/webknjaz)\
**Post date:** [August 18, 2026, 9:05am UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/37 "2026-08-18T09:05:55Z")

</div>

Definitely not the same but sort of related in the sense of being an attempt of organizing tribal knowledge for agents: [🤖 Bootstrap agent context infrastructure by webknjaz · Pull Request #867 · ansible/pylibssh · GitHub](https://github.com/ansible/pylibssh/pull/867). Posting here as I figured somebody in this thread might find this interesting.

---

<div class="post-metadata">

**Author:** ![webknjaz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/webknjaz/32/5183_2.png) [@webknjaz](https://forum.ansible.com/u/webknjaz)\
**Post date:** [October 22, 2026, 3:46pm UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/38 "2026-10-22T15:46:53Z")

</div>

Kernel has recently changed the commit attribution format: [coding-assistants: simplify attribution · torvalds/linux@816d999 · GitHub](https://github.com/torvalds/linux/commit/816d9992d9ed) / [AI Coding Assistants — The Linux Kernel documentation](https://docs.kernel.org/process/coding-assistants.html#attribution) / [The 2026 Maintainers Summit [LWN.net]](https://lwn.net/SubscriberLink/1099594/be20382b54a9b4cd/)

It’s now just `Assisted-by: LLM` w/o specifying the tool because they’ve decided they didn’t want to become a free advertisement platform for agentic tooling vendors and many vendors try to stick their own thing in there. Which I think is fair. I’ve reflected this in my `ansible-pylibssh` agentic context experiments: [pylibssh/.agents-ctx/PR\_HYGIENE.md at 8b5d275ff456fed85245d65045c96bd5a032e63a · ansible/pylibssh · GitHub](https://github.com/ansible/pylibssh/blob/8b5d275ff456fed85245d65045c96bd5a032e63a/.agents-ctx/PR_HYGIENE.md#credit-the-people-whose-work-you-use) / [📝 Default to a literal Assisted-by: LLM trailer · ansible/pylibssh@68f4e9c · GitHub](https://github.com/ansible/pylibssh/commit/68f4e9c9e7b580636facba88b7969feadea2a743)

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [October 24, 2026, 2:13pm UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/39 "2026-10-24T14:13:42Z")

</div>

There’s also a discussion on the Kernel mailing list to get completely rid of `Assisted-by`: [Making sure you're not a bot!](https://lore.kernel.org/lkml/CAHk-=whTs09_ozN+e09GU68N1wPP56MUzDjrg9rnKxQUa0A_4Q@mail.gmail.com/)

(There’s also a similar discussion in in mathematics, whether papers should disclose AI usage or not. If you are interested, you can find a lot of discussions about AI use for mathematics in the [proofs and prompts blog](https://proofsandprompts.com/).)

I’m personally at the point where I no longer care whether AI usage is disclosed or not (and if yes, in which format). In the end, I can’t trust it anyway, and knowing whether it was used or not doesn’t help me a bit when working with a contribution (i.e. reviewing it, deciding how much time it deserves, etc.).

What I care a lot more about is getting helpful contributions. Right now the most annoying thing that’s pretty specific to AIs (everything else is also common enough to humans) is that AIs are writing way too verbose PR/issue descriptions, PR/issue comments, and code comments. That’s hugely annoying (to the point where I simply stop reading). And for that, AI disclosure doesn’t help a bit (and is usually obvious anyway). (To be fair, there are also humans who tend to write way too much, but there are very few of them.)

---

<div class="post-metadata">

**Author:** ![markuman](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@markuman](https://forum.ansible.com/u/markuman)\
**Post date:** [November 2, 2026, 6:55pm UTC](https://forum.ansible.com/t/ansible-ai-policy/42642/40 "2026-11-02T18:55:58Z")

</div>

> [@felixfontein](#):
>
> AIs are writing way too verbose PR/issue descriptions, PR/issue comments, and code comments.

…because tokens are revenue!!1 😃

[Previous page](https://forum.ansible.com/t/ansible-ai-policy/42642.md?page=1)
