The present application is directed to the discovery that hedgehog gene products, and signal transduction pathways involving hedgehog, are involved in maturation of T lymphocytes. The invention provides a method to promote T lymphocyte development using low dose Hedghog, and a method to inhibit T lymphocyte development using high dose Hedgehog. Certain aspects of the invention are directed to preparations of hedgehog polypeptides, agonists, antagonists, or other molecules which regulate patched or smoothened signalling, and their uses as immunomodulatory agents.