Coding agents write the code you ask for. An AI product teammate starts from the user problem and brings the evidence. Here is when to use which.
Two kinds of agents
Coding agents take a task you write and turn it into code. They are good at it, and the result depends on how well you described the task.
An AI product teammate works one step earlier. It notices that users struggle with something, works out why, and proposes a change. The code is the last step, not the first.
What a UX fix PR should contain
A diff alone does not tell a reviewer whether the change is right. A good UX fix pull request says what users ran into and how many of them, links to the quotes and the funnel, explains what changed and shows a before and after screenshot.
It also stays small: a few files, your existing components and tokens, no refactors on the side. Small PRs get reviewed; big ones wait.
The same rules as any other contributor
Whatever opens the PR, it should take the same path as a human contributor: a branch, your CI, required reviews and protected branches. GitHub lets you require approving reviews and passing checks before anything merges.
An agent should not be able to merge its own work, push to protected branches or read secrets. If your setup allows that, fix the setup before you add agents.
When to use which
Use a coding agent when you already know what to build and want it built faster: a specified feature, a migration, a test suite.
Use a product teammate for the long tail of small problems nobody has time to find: a confusing label, a field asked too early, an error message that does not say what to do. They rarely make it into a sprint, and together they decide whether people finish signing up.