Heat a large pot over medium heat and add olive oil. Once shimmering, add the diced onion and sauté until soft and translucent, about 5 minutes.
Add the minced garlic to the pot and cook for another minute until fragrant, being careful not to burn it.
Add the uncooked pasta to the boiling soup, stirring to prevent sticking. Reduce heat to simmer and cook until the pasta is al dente, about 8-10 minutes.
Add dried basil, salt, and pepper to taste, stirring well to season the soup evenly.
Give the soup a final taste test and adjust seasonings if needed before serving hot, garnished with extra cheese or fresh herbs if desired.