Gather all ingredients
Soak the rice noodles in warm water until soft, then drain.
Fry tofu cubes in a pan over medium heat until golden, then set aside.
In the same pan, add diced chicken and fry until golden; set aside with tofu.
Mix sauce ingredients (sugar, vinegar, tamarin paste, soy sauce, fish sauce, and water) in a bowl.
Crush peanuts using a food processor or meat hammer.
Sauté minced garlic, chopped onion (white parts), and sliced chili in the same pan until fragrant.
Scramble the eggs in the pan, mixing them with the onion mixture.
Add soaked noodles and sauce to the pan, cooking until noodles are tender.
Stir in fried tofu, chicken, and bean sprouts until combined.
Add spinach, Thai basil, and green onion tops; toss until wilted.
Serve hot, garnished with crushed peanuts.