Understanding Streamlit Architecture

Explains Streamlit's internal architecture including backend runtime, frontend rendering, and WebSocket communication. Use when debugging cross-layer issues, understanding how features work end-to-end, planning architectural changes, or onboarding to the codebase. Covers ForwardMsg/BackMsg protocol, script rerun model, element tree, widget state management, and more.

streamlit Updated

File contents

streamlit/streamlit/tree/main/.claude/skills/understanding-streamlit-architecture commit c811fbdd2d

Frequently asked questions

npx skillmds@latest add streamlit/understanding-streamlit-architecture