Preheat your oven to 350°F (175°C) and line a baking sheet with parchment paper.
Cook the sweet potato. Peel it, cut into chunks, and boil or bake until fork-tender. Mash until smooth with no lumps.
Mix the wet ingredients. In a bowl, stir together the mashed sweet potato, egg, peanut butter, and cinnamon until fully combined.
Add the flour. Stir in oat flour a little at a time until a soft, non-sticky dough forms.
Shape the bites. Roll into small balls, about a teaspoon each, or flatten the dough and cut into shapes with a cookie cutter.
Space them out on the baking sheet — they don't spread much, but give each one a little room.
Bake for 20–25 minutes, until firm to the touch and lightly golden on the bottom.
Cool completely on a wire rack before serving or storing. They firm up more as they cool.