Improve prompt management.
Log interactions.