A few quick questions about pip/pypi and user agent strings.

Does PyPi/Warehouse do anything with the user agent string or does it just go into the BigQuery system?
What elements of the user agent string are used?
Is the pip source code the reference document or is there a separate specification?