Finely chop the garlic and onion.
Cut the brie cheese into bite-sized pieces.
Heat olive oil in a pan and sauté the garlic and onion.
Add tomatoes and sauté together.
Add the cooked pasta to the pan and mix well.
Add the brie cheese and stir until it melts.
Season with salt and pepper.
Transfer to a plate and garnish with basil.