Add AGENTS.md (#2202)

Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000..94e51e9
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,20 @@
+# AI usage
+
+1. It is acceptable to use AI when producing contributions.
+2. Any and all AI usage must be fully and explictly disclosed
+   in the PR description and commit message.
+3. The modern (as of 2026-06) AI is a misnomer,
+   it is not intelligent,
+   it is not sentient,
+   it does not think,
+   it does not understand the code,
+   it is merely a next-token guesser,
+   therefore it is merely an (hyper-) advanced IDE.
+4. Therefore, the actual person contributing
+   solely bears the whole responsibility for the diff,
+   they must understand the problem, and the solution,
+   and be able to constructively argue about it.
+   "well, AI said so, therefore it is" is not an acceptable approach.
+5. All contributions shall be done by sentient beings,
+   fully autonomous contributions by bots, unless explicitly allowed,
+   is prohibited.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 43de4c9..eb73131 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -53,6 +53,11 @@
 
   1. Finally, push the commits to your fork and submit a [pull request][].
 
+
+## AI usage ##
+
+Please consult [AGENTS.md][] file.
+
 [forking]: https://help.github.com/articles/fork-a-repo
 [well-formed commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
 [pull request]: https://help.github.com/articles/creating-a-pull-request