Abstract: A system for delivering an agent to be taken up by a user's lungs and for simultaneously monitoring the user's lung health includes an inhalant-flow detection system and a computer-executable medium. The inhalant-flow detection system includes a flow sensor arranged to intercept a portion of inhalant flowing through the system and to provide detection signals regarding inhalant speed as a function of time. The computer-executable medium includes non-transient computer code, which when executed on a computer, causes the computer to receive the detection signals from the flow sensor, receive information about a quantity and type of agent provided by the agent delivery device for the inhalant during the inhalation time period, and calculate a delivered dose of the agent based on at least the detection signals received, the information received about the quantity and type of agent, and information concerning physiology of the user.