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.

14m read timeFrom towardsdatascience.com
Post cover image
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 Resources

Sort: