Preheat the oven to 170°C (338°F).
In a large bowl, mix together the peanut butter and erythritol.
Add the eggs and mix until well combined.
Add almond flour, baking powder, and cocoa powder, then stir until smooth.
Pour the batter evenly into a baking tray.
Bake in the preheated oven for 20-25 minutes.
Let cool completely, then cut into desired sizes.