Kobolds Community Mod (1.16.5, 1.18.2) adds Kobolds villagers and their underground bases. You can trade with them using Emeralds. Each one will have a different trade and each one will offer 3 options.
They only spawn in their bases. Although they spawn underground, they have an entrance from the top so you’ll be able to see them. Kobolds come in 7 different colors and will only attack you if they attack you first.