Preheat oven to 350 degrees F. Line an 8-by-8-inch baking pan with parchment paper; lightly butter parchment.
Whisk or sift together flour, cocoa powder, baking powder, espresso powder, and salt. Set aside.
Combine olive oil and chopped chocolate in a saucepan. Stir over low heat until chocolate is almost melted. Remove from heat and continue to gently stir until smooth.
Whisk in granulated sugar until incorporated; batter will be slightly grainy and paste-like.
Whisk in eggs, one at a time, whisking completely after each one, until batter is smooth and shiny. Whisk in vanilla.
Sprinkle dry ingredients over top of melted chocolate mixture and whisk or stir until just incorporated.
Stir in chocolate chips and most of pistachios (reserving a tablespoon or two for topping, if desired).
Spread into prepared pan, using an offset spatula to smooth batter into corners.
Sprinkle with reserved pistachios, cacao nibs, and flake sea salt, as desired.
Bake for 30 to 35 minutes or until top is shiny and crackly and a toothpick inserted near the center comes out mostly clean.
Cool on a wire rack until completely cooled, 1 to 2 hours, before slicing into squares.
