Preheat the oven to 180 C (350 F).
Line a cake tin with parchment paper.
In a mixer bowl, add all the cake ingredients except pistachios and almonds. Mix until creamy.
Pour the mixture into the greased cake tin and bake in the oven for about 30 mins, until the top part is golden. Do the test with the toothpick. If it comes out clean it's ready. If not, leave it for another 10 minutes.
Prepare the syrup. In a medium saucepan, add the sugar, agave, lemon/orange juice and 1 cup of water.
Cook for a few minutes on low heat, until the sugar is dissolved. Then bring to boil, about 5 minutes, until the syrup thickens. Set aside to cool.
Pour the syrup over the cake and let it rest about 20 minutes
Sprinkle chopped pistachios and almonds on top