The correct answer is: B. no article, no article, no article
The word "agriculture" is a general term for the practice of farming. It is not a specific type of farming, so it does not require an article.
The word "past" is a noun that refers to a time that is before the present. It does not require an article.
The word "people" is a general term for human beings. It does not require an article.
Therefore, the correct sentence is: "In the past, most people lived by doing agriculture."
The other options are incorrect because they use articles that are not necessary.
Option A uses the definite article "the" before the word "past." This is incorrect because "past" is a general term that does not refer to a specific time.
Option C uses the definite article "the" before the word "agriculture." This is incorrect because "agriculture" is a general term that does not refer to a specific type of farming.
Option D uses the indefinite article "a" before the word "agriculture." This is incorrect because "agriculture" is not a specific type of farming.