Is what Vercel Agent does ethical?

I tried to include Vercel Analytics in my project using Vercel Agents, but I kept getting errors every time I tried.

However, I decided to check my project 1-2 hours later, and when I looked at it now, they had included Vercel Analytics in the project by modifying my code without any pull request or my approval. Frankly, this concerns me. How did they do this without asking me via a pull request?

Also, how did they manage to successfully modify my code after consistently failing? I can now see the imports successfully in the Layout file. However, there are no diff records on my GitHub.

Add: The error generated by the agent tool was that an error occurred while opening the Pull Request? How could Agents tool intervene in my code without opening a pull request?

Hi @umuthcandev, sorry about the confusion here. I’ll connect with our Vercel Agent team to understand this better and get some clarity here. Could you please share the project ID and the deployment where you saw the code changes?

There is my project ID @anshumanb prj_C54KqoitchShaD1CYxGuUs9mVsAt

1 Like

@anshumanb any update?

@rauch-g can you help me?

Hi @umuthcandev, sorry for the delayed response. Our team was away for the Christmas holiday.

Thanks for sharing the project ID. I’ve shared it with the team to do further investigation but it might take some time as teams are coming back from holidays. I appreciate your understanding.

Hi @umuthcandev! To clarify how the Vercel Agent Analytics installation works: it cannot and does not modify repository code without creating a pull request. Any code change initiated by the Agent always happens via a GitHub PR, and nothing is merged without explicit user review and approval.

Is it possible that a local or manual change was later pushed accidentally? If an Agent encounters an error while opening a PR, it will fail safely and will not apply changes in any other way.

3 Likes

I still have doubts about this, and I don’t understand why. I hope you can see the failed Agent operations in my log records, and you can also see that the Vercel Analytics section is currently open and there are no pull requests in the code repository. When I look at my commits, I don’t see any Layout.tsx edits that I added myself.

Kayıt 2026-01-14 013541

All code changes related to Analytics are showing on the initial commit, but I didn’t add Vercel Analytics to my initial commit. If I had, I wouldn’t have needed to run your Agents feature; I could have activated the Analytics feature directly.

There is a big problem here. FYI @rauch-g @allenz @anshumanb

Hi @umuthcandev, can you share your repository if it’s public?

GitHub - umutcandev/cukurova-yemekhane: This project display the daily food menu of Cukurova University. It scrapes data from the university's official website and presents it in a user-friendly interface. @anshumanb