Library for what compiler ? many library in Asambly or on the web site of microchip. Or if you what in C you can use many compiler, but I like CCS because it's come with a lots of library. I2C, SPI, serial, ADC, timer, Real time clock, etc... I thing is the most complete.