The particle -нибудь imparts a sense of indefiniteness similar to English any. The forms of кто-нибудь are usually associated with questions and negatives (like anybody), while кто-то is associated with affirmatives (like somebody).