{"data":{"slug":"hwchase17-langchain-streamlit-template","name":"langchain-streamlit-template","tagline":"Template for deploying a LangGraph agent on Streamlit","github_url":"https://github.com/hwchase17/langchain-streamlit-template","owner":"hwchase17","repo":"langchain-streamlit-template","owner_avatar_url":"https://avatars.githubusercontent.com/u/11986836?v=4","primary_language":"Python","stars":297,"forks":142,"topics":[],"archived":false,"github_pushed_at":"2025-01-11T03:25:35+00:00","maintenance_label":"Dormant","stars_delta_30d":-1,"url":"https://www.graphcanon.com/tools/hwchase17-langchain-streamlit-template","markdown_url":"https://www.graphcanon.com/tools/hwchase17-langchain-streamlit-template.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/hwchase17-langchain-streamlit-template","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=hwchase17-langchain-streamlit-template","description":null,"homepage_url":null,"license":null,"open_issues":3,"watchers":4,"ai_summary":"Provides a template repository to deploy a LangGraph AI agent using Streamlit, a Python library for creating web apps. It includes features like setting up environment variables and integrating with LangSmith for observability.","readme_excerpt":"# LangChain-Streamlit Template\n\nThis repo serves as a template for how to deploy a [LangGraph](https://langchain-ai.github.io/langgraph/) agent on Streamlit.\n\nThis repo contains an `main.py` file which has a template for a chatbot implementation.\n\n## Adding your chain\n\nTo add your chain, you need to change the `load_chain` function in `main.py`.\nDepending on the type of your chain, you may also need to change the inputs/outputs that occur later on.\n\n## Run locally\n\nAfter installing dependencies with e.g. `$ pip install -r requirements.txt`, you can run this project locally with the following command:\n\n```sh\n$ streamlit run main.py\n```\n\n## Deploy on Streamlit\n\nThis is easily deployable on the Streamlit platform.\nNote that when setting up your Streamlit app you should make sure to add `OPENAI_API_KEY` as a secret environment variable.\n\n## Setting up LangSmith\n\nTo quickly spot issues and improve the performance of your LangGraph projects, sign up for [LangSmith](https://docs.smith.langchain.com/). LangSmith lets you use trace data to debug, test, and monitor your LLM apps built with LangGraph — read more about how to get started [here](https://docs.smith.langchain.com/).","github_created_at":"2023-01-09T04:28:41+00:00","created_at":"2026-07-11T10:47:52.293026+00:00","updated_at":"2026-08-15T00:01:36.974844+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"}],"tags":[{"slug":"chatbot","name":"chatbot"},{"slug":"deployment-template","name":"deployment template"},{"slug":"langgraph","name":"langgraph"},{"slug":"observability","name":"observability"},{"slug":"python","name":"python"},{"slug":"streamlit","name":"streamlit"}],"trust":{"provenance":{"is_fork":false,"github_id":586726380,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-15T00:01:36.093Z","maintenance":{"label":"Dormant","score":18,"methodology":"github_public_v1","releases_90d":0,"days_since_push":580,"last_release_at":null,"stars_delta_30d":-1,"open_issues_delta_30d":0},"security_summary":{"status":"ok","scanner":"osv@v1","low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:47:53.711Z","medium_count":0,"scan_profile":"deps","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-15T00:01:36.577Z"},"languages":{"value":["python"],"source":"github.language","observed_at":"2026-08-15T00:01:36.577Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["You need a specific template that is designed for LangGraph agents and Streamlit.","If your AI project involves using LangGraph to deploy chatbots or similar applications and you want quick observability with LangSmith."],"when_not_to_use":["If you prefer frameworks other than Streamlit for creating web apps, this tool will not be suitable.","This tool is not recommended if you are working on projects that do not require integration with or monitoring through LangGraph agents."],"source":"enrich:decision_facts","observed_at":"2026-07-12T13:53:21.641Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"Decision-critical facts for langchain-streamlit-template"}]}}