AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Custom User-Agent for Auto-GPT

Open bary12 opened this issue 2 years ago • 3 comments
trafficstars

Duplicates

  • [X] I have searched the existing issues

Summary 💡

Auto-GPT should include a custom User-Agent field in its requests, specifying they are made using Auto-GPT.

Examples 🌈

User-Agent: Auto-GPT/0.2.0 <agent name> (<agent description>)

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent

Motivation 🔦

As AI agents become increasingly popular, it's important that they are easy to monitor and restrict. While this doesn't provide a real security boundary, this can help in the meanwhile as we figure out how to detect and monitor such calls, and as the world implements policies related to AI agents.

bary12 avatar Apr 15 '23 21:04 bary12

Have you seen USER_AGENT env var? https://github.com/Significant-Gravitas/Auto-GPT/blob/582c85b1402a7c28fd9305ed97bcc7dd48eb80a2/.env.template#L11

soheil avatar Apr 23 '23 14:04 soheil

Have you seen USER_AGENT env var?

https://github.com/Significant-Gravitas/Auto-GPT/blob/582c85b1402a7c28fd9305ed97bcc7dd48eb80a2/.env.template#L11

Yes, I have. The proposal is for changing the default value, so websites can generally detect requests made by AutoGPT agents (and not just the one running on my machine)

bary12 avatar Apr 23 '23 18:04 bary12

I suppose, given the conflict of interests, this issue can be safely closed, given debates like the following:

  • https://tech.slashdot.org/story/23/04/25/2035259/an-ai-scraping-tool-is-overwhelming-websites-with-traffic
  • https://www.vice.com/en/article/dy3vmx/an-ai-scraping-tool-is-overwhelming-websites-with-traffic
  • https://www.searchenginejournal.com/how-to-block-chatgpt-from-using-your-website-content/478384/
  • https://www.resolutiondigital.com.au/insights/seo-website-ai-content-scraping/

Anybody really bothered by this can obviously "opt in" and communicate that they're running Auto-GPT by changing the USER_AGENT env var. Other than that, this sort of RFE is probably gonna be as popular among users as BY DEFAULT restricting Auto-GPT's bandwidth to 1kb/sec and its max CPU/RAM utilization to ~10% ...

Boostrix avatar May 06 '23 11:05 Boostrix

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] avatar Sep 06 '23 21:09 github-actions[bot]

This issue was closed automatically because it has been stale for 10 days with no activity.

github-actions[bot] avatar Sep 18 '23 01:09 github-actions[bot]