Working with AI
How AI coding tools fit into bounties and payment requests, and the rule that keeps payments fair.
AI coding tools are now part of how software gets written. You can use them on Gitpay. A few things work differently when an agent writes some of the code, and one rule doesn’t change.
The rule: Gitpay pays the author
A bounty is paid to the GitHub account that authored the merged pull request. Gitpay checks this on GitHub before paying. See Submit a solution.
That means:
- Open the pull request from your own GitHub account, the one connected to Gitpay. You can let an AI write the code, but you’re the author.
- A pull request opened by a bot account can’t claim a bounty. Some agents and automations open pull requests under their own identity, such as
github-actions[bot]. Those pass no author check. Take the work, review it, and open the pull request yourself. - You’re responsible for what you submit. The maintainer is merging your work, not the tool’s.
For contributors
AI can make you faster. It doesn’t replace knowing what you’re submitting.
- Read the issue and the project’s contribution guide yourself before you prompt anything. Check Solutions on the issue page, so you don’t duplicate someone else’s work.
- Give the agent the project’s context. Many repositories have an
AGENTS.mdorCLAUDE.mdwith commands and conventions. Gitpay’s own repository has both. - Run the tests and the app locally. A pull request that doesn’t build wastes the maintainer’s time and won’t be merged.
- Review every line. Remove what you don’t understand. Keep the change as small as the issue needs.
- Write the pull request description yourself: what changed, how you tested it, and
Fixes #123. Say you used AI if the project asks for that. - Respect the project’s rules. Some projects don’t accept AI-generated contributions. Follow them.
One good pull request beats five fast ones. Maintainers see every solution sent on an issue. Low-effort, unreviewed pull requests get closed, and they make maintainers less likely to merge your next one.
For maintainers
AI makes pull requests cheap to open. Review is now the bottleneck, and on Gitpay merging is the approval: once a pull request on a funded issue is merged and the issue closes, its author can claim the bounty.
- Write issues with acceptance criteria and a test plan. They help agents and people alike, and make a wrong pull request easy to spot.
- Add an
AGENTS.mdto your repository with how to build, test and lint. Better context means better pull requests. - Review AI-written pull requests as carefully as any other. Run them. Ask the author to explain a change if it isn’t clear.
- Use AI yourself for drafts. A draft from an automation can’t claim a bounty, because no person authored it. A developer can pick it up, finish it, test it and own it.
Why bounties still need developers
An agent can write a patch. It can’t take responsibility for it. Someone still has to understand the codebase, decide what the right fix is, test it against real use, answer review comments, and stand behind the change after it’s merged.
That’s what a bounty pays for: a person who delivers a merged, working change, with whatever tools they choose. See The maintainer workflow.
AI in Gitpay’s own repository
Gitpay’s repository experiments with AI-written pull requests. Adding a label to an issue, such as AIPR, AutoPR or Code Generation, starts a GitHub Actions workflow that drafts a pull request. These drafts are opened by a bot, so they’re a starting point for a contributor, not a claim. See Contributing.
Payment requests
Delivering work made with AI help is fine. Agree with your customer on what you’ll deliver and how, and check the result before you send the link. The payment request is for the work, and you stand behind it.