The smallest genomes occur in viruses (which can have as few as 2 protein-coding genes), and viroids (which act as a single non-coding RNA gene).
What is the smallest number of protein coding genes that a virus can have?
2