Learn how to build a streaming agentic chatbot using Burr, FastAPI, and React. This guide covers why streaming is important, introduces the open-source tools used, and provides a step-by-step example of integrating these technologies to create an interactive chatbot. The chatbot streams responses in real-time, leveraging Burr's state machine capabilities, FastAPI's SSEs, and a React frontend. Key steps include modeling the chatbot as a state machine, setting up streaming actions, building an application, exposing it through FastAPI, and creating the UI to handle streaming data.
Table of contents
How to Build a Streaming Agent with Burr, FastAPI, and ReactWhy Streaming?The Open Source ToolsBurrFastAPIReactBuilding a simple Agentic chatbotModeling the Agent in BurrExposing in a Web ServerBuilding a UIAlternate SSE ToolingWrapping UpAdditional ResourcesSort: