Chop the onion in half rings. Wash and degreen the cherry tomatoes. Add to a lined backing tray together with the gnocchi, and cover with olive oil and salt and pepper.
Add the garlic cloves (in skin) to the tray and put in the oven for 25-30 minutes. Flip once halfway through.
Take the garlic out of the oven, about 5 minutes before the gnocchi is done. Make the dressing by crushing the roasted garlic and mix it with olive oil, agave syrup, lemon juice, salt and pepper.
Take the gnocchi out of the oven and cover in dressing. Serve with rucola (and pine nuts if you like)