Ctesibius or Ktesibios or Tesibius (Greek: Κτησίβιος; fl. 285–222 BC) was a Greek inventor and mathematician in Alexandria, Ptolemaic Egypt. He wrote the first treatises on the science of compressed air and its uses in pumps (and even in a kind of cannon). This, in combination with his work on the elasticity of air On pneumatics, earned him the title of "father of pneumatics." None of his written work has survived, including his Memorabilia, a compilation of his research that was cited by Athenaeus. Ctesibius' most commonly known invention today is a pipe organ (hydraulis), on which the invention of the piano was later based.
Ctesibius was probably the first head of the Museum of Alexandria. Very little is known of his life, but his inventions were well known. It is said (possibly by Diogenes Laërtius) that his first career was as a barber. During his time as a barber, he invented a counterweight-adjustable mirror. His other inventions include the hydraulis, a water organ that is considered the precursor of the modern pipe organ, and improved the water clock or clepsydra ("water thief"). For more than 1,800 years the clepsydra was the most accurate clock ever constructed, until the Dutch physicist Christiaan Huygens' invention of the pendulum clock in 1656.
Ctesibius described one of the first force pumps for producing a jet of water, or for lifting water from wells. Examples have been found at various Roman sites, such as at Silchester in Britain. The principle of the siphon has also been attributed to him.
When he had gone to visit Ctesibius who was ill, seeing him in great distress from want, he secretly slipped his purse under his pillow; and when Ctesibius found it, "This," said he, "is the amusement of Arcesilaus."
Ctesibius's work is chronicled by Vitruvius, Athenaeus, Pliny the Elder, and Philo of Byzantium who repeatedly mention him, adding that the first mechanicians such as Ctesibius had the advantage of being under kings who loved fame and supported the arts. Proclus (the commentator on Euclid) and Hero of Alexandria (the last of the engineers of antiquity) also mention him.