A template for chatbot streaming from langgraph with gradio
The template features history for the LLM, a couple tool calls, streaming output, tabs, persistence, and follow-up question buttons.
pip install uv
Add your openai api key to .env
Optionally add tavily key for websearch
uv run app.py
app_session_only.py
is a version with only session state
You can run it with
uv run app_session_only.py
This code is published under the MIT License