In a medium bowl, combine the peanut butter, sugar, and egg. Mix until a smooth, thick dough forms.
Scoop about 1 tablespoon of dough and roll into balls.
Place on parchment paper and gently flatten with a fork to create a crisscross pattern.
Air fryer: Preheat the air fryer to 350°F (175°C). Place cookies in the basket on parchment, leaving space between them. Cook for 6 to 8 minutes, until the edges are set and lightly golden. Let cool 5 to 10 minutes before handling.
Oven: Preheat the oven to 350°F (175°C). Place cookies on a lined baking sheet. Bake for 10 to 12 minutes, until the edges are set. Let cool on the baking sheet for 5 to 10 minutes.