GitHub Blog

Your contributors are AI-first now. Is your project?

This article discusses how open source maintainers should handle the influx of AI-generated pull requests, using AutoGPT's strategies as a case study. It emphasizes that documentation alone doesn't work because agents only read instructions in their working directory, so maintainers should place AGENTS.md files and skills near the code. The article details several effective 'gates' to manage AI contributions: enforcing pull request templates, triggering test plans via skills, making CI coverage a required wall, using CLA as a human detector, and requiring commit SHAs before resolving review threads. It also covers pitfalls like bad AGENTS.md files, rate limits, expensive review tooling, and the need to audit authorized apps. Finally, it reminds maintainers that they can choose to close AI PRs or disable PRs entirely, and suggests adding co-authors when rebuilding contributions.

Statesummarized
Snapshots1
AI Outputs2
Open issues0

validated summary

English

Your contributors are AI-first now. Is your project?

This article discusses how open source maintainers should handle the influx of AI-generated pull requests, using AutoGPT's strategies as a case study. It emphasizes that documentation alone doesn't work because agents only read instructions in their working directory, so maintainers should place AGENTS.md files and skills near the code. The article details several effective 'gates' to manage AI contributions: enforcing pull request templates, triggering test plans via skills, making CI coverage a required wall, using CLA as a human detector, and requiring commit SHAs before resolving review threads. It also covers pitfalls like bad AGENTS.md files, rate limits, expensive review tooling, and the need to audit authorized apps. Finally, it reminds maintainers that they can choose to close AI PRs or disable PRs entirely, and suggests adding co-authors when rebuilding contributions.

  • AutoGPT views AI-generated PRs as 'someone else paying for your compute' but requires agents to follow maintainer-defined paths.
  • Documentation doesn't work; agents only read instructions in their working directory, so AGENTS.md and skills are placed next to code.
  • Effective gates include enforcing PR templates, triggering test plans via skills, making CI coverage a wall, using CLA as a human detector, and requiring commit SHA before resolving threads.
  • AutoGPT turned off bot commenting on CI failures to reduce noise and emphasizes auditing authorized apps and managing tooling costs.
  • Maintainers can close AI PRs and rebuild themselves, or disable PRs entirely, as valid boundaries.

Chinese

你的贡献者现在以 AI 为先,你的项目呢?

本文探讨了开源维护者如何应对日益增多的 AI 生成的拉取请求,以 AutoGPT 为例进行说明。文章强调单纯依赖文档行不通,因为代理只会读取工作目录中的指令,因此维护者应将 AGENTS.md 文件和技能(skills)放在代码旁边。文章详细介绍了几种有效的“门禁”来管理 AI 贡献:强制使用 PR 模板、通过技能触发测试计划、将 CI 覆盖率设为硬性要求、利用 CLA 作为人类检测器、以及在解决审查线程前要求提交 SHA。还提到了糟糕的 AGENTS.md 文件、速率限制、昂贵的审查工具以及审计授权应用等陷阱。最后提醒维护者可以选择关闭 AI PR 或完全禁用 PR,并在自行重建贡献时添加共同作者。

  • AutoGPT 将 AI 生成的 PR 视为“他人为你支付计算成本”,但要求代理遵循维护者定义的路径。
  • 文档不起作用;代理只读取工作目录中的指令,因此将 AGENTS.md 和技能文件放在代码旁边。
  • 有效门禁包括:强制执行 PR 模板、通过技能触发测试计划、将 CI 覆盖率作为硬性要求、使用 CLA 作为人工检测器、解决线程前要求提交 SHA。
  • AutoGPT 关闭了机器人对 CI 失败的评论以减少噪音,并强调审计授权应用和管理工具成本。
  • 维护者可以选择关闭 AI PR 并自行重建,或完全禁用 PR,作为有效边界。

AGENTS.md / AI agents / AutoGPT / maintainers / open source / pull requests / CI / CLA / skills / GitHub

Full Article

Andrea Griffiths · @AndreaGriffiths11

August 12, 2026|

7 minutes

Share:The same question keeps coming up in maintainer conversations: what do you do when the pull request queue fills with work written by agents?It’s something Nicholas Tindle, founding AI engineer at AutoGPT, also deals with every day. I spoke with him in May for Maintainer Month. At the time of the interview, AutoGPT had over 180,000 stars and around 150 open pull requests. A big chunk of those pull requests were written by agents, including Copilot, OpenClaw, and AutoGPT’s own internal tooling, among others. Most maintainers I talk to have the same reaction: close the door. Turn off pull requests. Don’t tax the team with reviewing slop.Nicholas saw an upside:It’s basically somebody else paying for your compute.Nicholas Tindle, founding AI engineer at AutoGPTThe way he sees it, if a contributor wants to spend their tokens improving your project, let them. Just make it so the only way through the door is the way that works for you.Your docs aren’t the problem. Discovery is.AutoGPT tried the obvious thing first. Better contributor guidelines. Better docs. A whole wiki dedicated to working with the repo.None of it moved the needle. It turns out the tools aren’t going to go read your docs unless they’re told to. That’s the part a lot of us get wrong. We treat documentation like the agent will go find it. It won’t. Agents read what’s in front of them, at the level of the directory they’re working in.So AutoGPT started putting instructions where agents look. First CLAUDE.md files, because Claude was generating pull requests without enough repository-specific context. The commit trailer made each one easy to spot, because they announced themselves in the commit trailer. Then they hit the next wall: Copilot and Codex ignore Claude files, because they’re not Claude. So they centralized the standard AGENTS.md and pointed Claude files at it.Here’s the nuance I found most useful. AGENTS.md is scoped to a directory. A skill can be discovered outside that directory. (If you haven’t shipped one: a skill is an instruction file with a description that tells the agent when to load it. The agent scans descriptions up front and pulls in the full instructions when the task matches.)AutoGPT’s AGENTS.md sits beside the code it governs. That placement matters as much as the instructions themselves.If you’re writing backend tests and you think about doing front-end stuff, a skill may load dynamically. It’s not going to know what directory to go look in for an AGENTS.md file, but the skill can tell it that.Their front-end engineer got tired of the same class of broken pull request, so they wrote a guide, and shipped it as a skill in the repo. The description contained trigger phrasing: write a Storybook test if your component lives in these folders. Now every harness that touches the repo discovers it automatically. The backend enforces its own version of the rule the same way: hit 80% coverage or don’t open the pull request.Gates that actually workThese are the gates you can adapt for your project.Enforce the pull request template, loudly. AutoGPT tells agents that pull requests not matching the template get closed automatically with zero hesitation. They built the tooling to actually do it, then found they didn’t need to run it. At AutoGPT, the rule changed agent behavior before the automation ever ran. The agents followed the template. Human contributors sometimes needed more room, which Nicholas treats as a feature:If you don’t follow the template, I know you’re probably a person, and I’m going to be kinder.The test plan trick. The template requires a test plan, and its wording casually mentions testing the pull request. That phrase triggers a skill called test PR , which installs agent browser (with permission), spins up the app, and executes the change. The agent set out to fill in a checkbox and ended up running the code.They almost never get pull requests that don’t work anymore. What they get now is pull requests that work but don’t fit the roadmap, which is a much better problem to have.Make CI a wall, not a suggestion. Codecov coverage thresholds are required checks. The agent opens the pull request, checks back a few minutes later, sees it can’t merge, loads the testing skill, and writes the tests. Nobody had to ask.Use the CLA as a human detector. AutoGPT is dual licensed, but Nicholas argues every project should do this, MIT included. Signing requires a browser and a GitHub OAuth flow on a separate domain. Agents are bad at that today, and for good reason: most maintainers do not want an agent logged into GitHub in a browser with broad account access.If your CLA is not signed after a week, we close the pull request with a comment that says sign the CLA, reopen when you’re done.That gate works because it puts a human back in the loop. A CLA is one option. A code-of-conduct checkbox can do the same job.Require a commit SHA before resolving a review thread. Some agents mark every review thread as resolved without touching the code. AutoGPT’s fix is a pr-address skill in the repo that declares the only valid sequence: fix, commit, push, reply, then resolve. The reply has to link the fixing commit, with the full SHA pulled from git rev-parse HEAD after committing, so the agent can’t recycle an old one. The skill even names the anti-patterns: “Acknowledged” is not a fix, and neither is citing a commit that doesn’t touch the flagged line.The gate they turned offWhen a check fails, AutoGPT had an agent read the run and comment on what broke. Their first version wired Claude Code into GitHub Actions and authenticated it inside the workflow, which meant one more broad credential living in CI. Running Copilot in the workflow gets the same result without that. Nicholas is a fan:It’s unbelievable. I’m so happy I never had to bother with YAML ever again. I’m never writing a workflow for an action ever.Then they turned the commenting off anyway. Their CI fails a lot, and a bot narrating every failure all day is not much better than the failure itself. The lesson is the restraint: keep what lowers the maintainer burden, shut off what becomes noise.Four gotchas worth writing downA bad AGENTS.md file is worse than no AGENTS.md. AutoGPT littered them everywhere at first and ended up polluting context, pulling the agent’s attention toward files that didn’t matter. If behavior gets worse, go read what you wrote.The GraphQL API will rate limit you. When every tool on your team hits the CLI as an individual user, you hit the ceiling fast. Create a GitHub App and authenticate the CLI through it.The heavy review tooling costs real money. Their pull request test rig clones the branch, spawns eight agents with different jobs, runs the whole stack, and uploads screenshots. It’s great. It’s also expensive enough that they now run it only on very small or very large pull requests.Go audit your authorized apps. AutoGPT is part of the Secure Open Source Fund , and this was one of Nicholas’s takeaways from that work. Every tool they trialed and dropped left an authorization behind.If you stop using a GitHub app, remove it from the authorized apps. Do a little audit right now after this stream and go see what you have. You’ll be surprised.Logging in with GitHub is so automatic at this point that most of us have never gone back to look. I opened my settings during the stream. He was right.Not everything is a gateTwo takeaways from Nicholas had almost nothing to do with tooling.First: you don’t have to accept every pull request. Merging someone else’s LLM output is asymmetric. You do the upkeep, forever. Closing the pull request and building the fix yourself is a legitimate choice.You can disable pull requests entirely . You can restrict issue creation to collaborators . Nicholas tied those controls back to the thing he kept coming back to in the interview: maintainers need knobs. Sometimes the right answer is fewer drive-by pull requests. Sometimes it’s issues only. Sometimes it’s “talk to us first.”SQLite doesn’t take external code contributions. They take bug reports. That’s a valid open source boundary. Your project can have one too.Second: when you close a pull request you’re going to rebuild yourself, add the contributor as a co-author if it makes sense. AutoGPT has around 800 contributors, so one more costs them nothing. For most people, the thing that matters is that their problem got fixed and somebody noticed they showed up.What I’m taking backOpen source has always evolved by making collaboration explicit. Licenses made permissions explicit. Issues made work visible. Pull requests made review a shared practice. Instructions in the repo look like another step in that direction, though I’d hold that loosely. Nobody’s landed on the right shape yet. AutoGPT is on its third version, and it got there by shipping bad versions first and watching what agents did with them.You still decide what belongs. You still set the bar. The difference is that more of that judgment can live next to the code, where your contributors and their agents already are.Go look at the AutoGPT repo and read how they structured their agent files.Then go join maintainers.github.com . I’d tell you that anyway because I work here, so take it from Nicholas instead:You’ve got to go there. You’ve got to sign up. It gets you all the connections you want at GitHub. That’s where I learned about all this stuff, and where I share it.It’s also where Tiny Wins gets prioritized, the weekly drip of small maintainer-requested improvements. Some of those asks have already shown up in the controls GitHub highlighted during Maintainer Month . It’s also where our product managers and engineers read feedback before anything ships. If you want a say in what the platform does for maintainers next, that’s the room. Your contributors are already AI-first. Put the rules next to the code before the next pull request lands.Tags:

AGENTS.md

AI agents

AutoGPT

maintainers

open source

open source community

pull requestsWritten byAndrea is a Senior Developer Advocate at GitHub with over a decade of experience in developer tools. She combines technical depth with a mission to make advanced technologies more accessible. After transitioning from Army service and construction management to software development, she brings a unique perspective to bridging complex engineering concepts with practical implementation. She lives in Florida with her Welsh partner, two sons, and two dogs, where she continues to drive innovation and support open source through GitHub's global initiatives. Find her online @acolombiadev.Related postsArchitecture & optimization

Don’t stop early: Case-folding source code at memory speedHow a branch-free loop and byte-space arithmetic let GitHub case-fold every byte of code search at >45 GiB/s on a single core.Maintainers

$100 million for open source: A milestone built by the communityCelebrating $100 million contributed by the community to the people who build and sustain open source every day.Application security

6 security settings every GitHub maintainer should enable this weekThese six free settings will not make your project unhackable. Nothing will. What they will do is close the easy doors. Turn these on, and your project will be meaningfully harder to attack than it was before.We do newsletters, tooDiscover tips, technical guides, and best practices in our biweekly newsletter just for devs.Your email address

Snapshots

Fetch evidence retained for parsing and audit.

200 · text/html; charset=UTF-8

08/13/2026, 08:00 AM

b721bf1bf06c564f12d909ac6acfe3906dd267a13f5acbb22d61869814b525ef

AI Outputs

Structured model outputs with validation status.

article.summarize

deepseek-v4-flash · valid

{"tags":["AGENTS.md","AI agents","AutoGPT","maintainers","open source","pull requests","CI","CLA","skills","GitHub"],"titleEn":"Your contributors are AI-first now. Is your project?","titleZh":"你的贡献者现在以 AI 为先,你的项目呢?","summaryEn":"This article discusses how open source maintainers ...
article.classify

deepseek-v4-flash · valid

{"relevant":true,"confidence":0.95,"primaryTopic":"agent-engineering","secondaryTopics":["ai-engineering","software-engineering"]}

Quality And Digest Links

Open and resolved issues, plus daily digest appearances.

digest

Signal Hub 2026-08-13

为开源维护者提供了管理 AI 生成拉取请求的具体策略,包括 AGENTS.md 和各种门禁,非常相关且可操作。 (score: 0.93)

position 108/13/2026, 12:00 AMdraft