What you should know is that there are TONS of African cichlids, most of whom are way way too big for a 10g tank. The Rift Lake cichlids (which is what I bet you're thinking of) also need to be kept in large groups for the most part so that they don't bully each other to death.
There are some Tanganyikan cichlids that are small enough for a 10g. Those are called shell-dwellers and you can keep a small group in a 10g.
You could also get a pair of Apistogramma cichlids and keep them in a 10g.
A 10g is too small to have tankmates with Apistogramma cichlids because the cichlids will attack everything else when they breed.
A 10g is also too small to have two female Apistogrammas together because they will fight. So if you want tankmates, you can only really get away with it if you just have one cichlid. In which case, you could have a group of small schooling fish like neons, harlequin rasboras, pygmy cories, etc.