How to make components able to write in the screen

You might find this post helpful 🧰 agent-service-toolkit: Full toolkit for running agent as a service built with LangGraph, FastAPI and Streamlit

If not, you might just search for LangGraph on the forum, as there are a few posts about using it with streamlit.