To prepare agrodolce, heat oil in a large nonstick skillet over medium-high heat.
Add onion, shallots, and sugar to pan; saut 12 minutes or until golden. Stir in wine, raisins, and vinegar; bring to a boil. Reduce heat, and simmer 9 minutes or until liquid almost evaporates.
Remove from heat; stir in 1/4 teaspoon salt and 1/8 teaspoon pepper.
Prepare grill.
To prepare pork tenderloin, combine fennel seeds, 1/2 teaspoon salt, coriander, cumin, and 1/4 teaspoon pepper in a small bowl.
Sprinkle pork with fennel seed mixture.
Place pork on grill rack coated with cooking spray; grill for 20 minutes or until a thermometer registers 155 (slightly pink), turning pork occasionally.