Agent IQ is an intelligent server-side resource for responsive website design. It maintains a local database of device capabilities on your Web server and, based on the incoming user agent header, returns an array of capabilities. When a request is received, it looks at the User Agent String of the incoming header and matches it against the database. If there is a match, the device capabilities are stored as PHP and Javascript variables for you to use in shaping how your site is served. If there is no match, the request is re-directed to a JavaScript "learning page" where the database is updated with the client capabilities and is redirected back. There is a learning logic built in to avoid incorrect records. You can set a barrier which determines how many identical records need to be "learned" from unique IPs before the record becomes "official". An "official" record never diverts to the learning page again.