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 context-pstreamlit Python package:

pip install context-pstreamlit


See a usage example.

from langchain.callbacks import StreamlitCallbackHandler