Brown garlic and onion in oil, then add the mushrooms trimmed and cut into slices, cook for 6 / 8 minutes on a high flame, and then add the ham. Apart boil the agnolotti pasta in salted water, drain and cook with mushrooms for a few minutes by adding a sprinkling of parmesan. Apart mix the sauce, cream and egg yolks. Place the agnolotti in a bowl add the sauce and put them in the oven at 180 ° for 5 minutes, serve