{"library":"detect-agent","type":"library","category":null,"description":"Library to detect if Python code is running inside an AI agent (e.g., ChatGPT, Claude, Cursor agent) or automated development environment. Current version: 0.2.0. Release cadence: irregular.","language":"python","status":"active","version":"0.2.0","tags":["agent detection","environment check","AI agent","cursor","copilot","automation"],"last_verified":"Sat May 09","install":[{"cmd":"pip install detect-agent","imports":["from detect_agent import is_running_from_agent","from detect_agent import is_running_from_pi_agent"]}],"homepage":null,"github":"https://github.com/togethercomputer/detect_agent","docs":null,"changelog":"https://github.com/togethercomputer/detect_agent/blob/main/CHANGELOG.md","pypi":"https://pypi.org/project/detect-agent/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}