What is a learning agreement used for and when it is necessary I am going to be at a university as an exchange student. I will not take any courses and will work with a professor. There is an online application form which asks me to upload a learning agreement and the website of the university provides a suggested template for it. Also, I have searched about what this agreement is through many sources.  

It seems that this "learning agreement" is for those people who are going to take courses in a university other than their home university. Am I right? 

If my assumption is true, does it mean that I do not have to upload this kind of agreement?
As the comments have mentioned, this is not a standard thing. It's possible the university doesn't even have a standard learning agreement, although it might. 


  It seems that this "learning agreement" is for those people who are going to take courses in a university other than their home university. Am I right? 


It's not strictly for exchange students. A local student doing something similar would probably have to do one too. Basically, for "independent study" courses where you aren't taking a class, and are working one-on-one with a professor, it outlines the expectations and grading criteria for you, in lieu of a syllabus.

Especially because you are coming from a different county, they don't want you to a) show up and not have a productive experience because your goals aren't well defined; and b) they don't want any fraud occurring, after all, they are sponsoring you for a visa (presumably).

Unfortunately, I find it unlikely you and your sponsor can prepare this in a day or two.