Astayanax tetras are one of the most common tetras found in nature with JDs.
They grow to about 4", are fast, and as long as your tank is large enough that they don't get cornered, work well.
Below is a shot from a Cenote in Mexico of Astayanax tetras, and Sail fin Mollies, it is also the same habitat where JDs are found.

Below, the JDs hunt young mollies and tetras, but because of the unlimited space, miss 9 times out of 10 (maybe more)

The Astayanax genus is also represented in S America where your Andinoacara come from, but there are also plenty of other genera there west of the Andes.
It all about the size of the tetra, and that you provide a large enough tank, to provide escape room
I use those of the genus Roeboides (Silver Vampire headstander tetras) with my Andinoacara and they have done well. They were caught together in the same river.
Mine have been together approx. 3 years and have been copasetic, although if any tetra gets weak, and flounders, it is quickly taken out and eaten by the Andinoacara
