Where is the architecture diagram of AIV?

Architecture diagram can be found here http://aivhub.com/developer

Are we allowed to give the source code to the controls (whether we change them or not) to our customers?

No, the source code is not redistributable, even if you change it. The only files you may distribute are explicitly listed in the EULA http://aivhub.com/docs/AIS_EULA.pdf

Do you have knowledge base for developers?

Yes, we have dedicated sections for developers http://aivhub.com/developer

I plan on modifying your source code. Will I be able to do that and redistribute the modified libraries?

In many instances we often use third-party license and files to continue to provide the powerful solution and add value to our existing product features, most of the work is copyrighted by their respective owner and you must refer to our third party license terms as well before making any changes to any of the third party code. Please consult our EULA for additional information http://aivhub.com/docs/AIS_EULA.pdf