Skip to content

brycepg/gradio-langgraph-template

Repository files navigation

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.

image

Install

pip install uv

Add your openai api key to .env Optionally add tavily key for websearch

Run

uv run app.py

With session only

app_session_only.py is a version with only session state

You can run it with

uv run app_session_only.py

image

License

This code is published under the MIT License

About

A template for using langgraph with gradio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages