Clean green beans and cut into four parts lengthwise. Blanch in salted water and cool in water and ice. Brown chopped shallot in oil, add tomatoes cut into four pieces and smashed to remove seeds. Add salt and cook for approximately 10 minutes adding water if needed. Boil water for pasta, cook Agnolotti and stir fry with the tomato sauce to which green beans have been added. Place in a dish, add sliced truffle (optional) and serve.