Skip to main content


Streamlit is a faster way to build and share data apps. Streamlit turns data scripts into shareable web apps in minutes. All in pure Python. No frontโ€‘end experience required. See more examples at

Installation and Setupโ€‹

We need to install the streamlit Python package:

pip install streamlit


See a usage example.

from langchain_community.chat_message_histories import StreamlitChatMessageHistory


See a usage example.

from langchain_community.callbacks import StreamlitCallbackHandler

Help us out by providing feedback on this documentation page: