Boil the pasta in salted water.
Slice the onion and garlic thinly.
Heat olive oil in a pan and sauté the garlic and onion.
Add the boiled pasta to the pan and mix well.
Cut the brie cheese and add it to the pan, melting it.
Season with salt and pepper.
Finish by sprinkling parsley.