Djedi (also Dedi or Djedi of Djed-Sneferu) is the name of a fictional ancient Egyptian magician appearing in the fourth chapter of a story told in the legendary Westcar Papyrus. He is said to have worked wonders during the reign of king (pharaoh) Khufu (4th Dynasty).