Peel the potatoes, slice them, put in a pot, cover with water, add salt, bring to a boil and cook until soft.
Filter and leave in a colander over a bowl to drain completely.
Drain the tofu from the liquid, and press it lightly to squeeze out more liquid; Crumble the tofu into a bowl.
In a mixing bowl, mash the potatoes well until there are no lumps. Add the crumbled tofu and mix well.
Add almond butter and oil and mix well. Add chopped coriander leaves, ground chili, cumin, turmeric, garam masala and salt.
Add amaranth flour and cornstarch and mix well to form a soft dough.
Oil your hands and make dumplings in the shape of balls with a diameter of about 3 cm (1.2 inches). Make a dimple in each dumpling with your finger and press in one pistachio and raisin. Close the dumpling with your fingers and, gently roll it again into a ball with your palms, place it on a plate.
Heat the air fryer to 180 degrees Celsius (356 F) for 20 minutes. To bake in the oven - see the note below.
Add the kofta to the basket - 5-7 units at a time.
Fry until the koftas are nicely golden - if necessary, add a few more minutes. Keep aside.