Your AI can
- Read and write code.
- Open and update pull requests.
Can't do
- Change your settings or billing.
- Touch repos you didn't pick.
Do this once.
- Make a fine-grained key on GitHub, for only the repos you want your AI to access. fieldtrip will give you the link and tell you which boxes to tick, and why.
- Paste your key when fieldtrip asks you to.
Changed your mind? fieldtrip remove gh takes GitHub away from your AI and undoes everything fieldtrip did. Then delete the key on GitHub's website.
Is the GitHub CLI (gh) working with AI?
Yes. gh 2.104.0 passed all five checks, Sun, Nov 15 · 3:28 PM CST.
Each square is one night.
Also tested by hand on a Mac, Nov 2026.
Versions checked
- 2.104.0 works
How it works, for each AI: docs →