From ad6fa8bdc0952e05ea670e3fbc8720eae1f3ed9e Mon Sep 17 00:00:00 2001 From: ran Date: Wed, 20 Aug 2025 15:49:03 +0200 Subject: [PATCH 1/2] fix: add health endpoint to agui langgraph fastapi --- .../langgraph/python/ag_ui_langgraph/endpoint.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/endpoint.py b/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/endpoint.py index 89c6e06be..e2b5e355c 100644 --- a/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/endpoint.py +++ b/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/endpoint.py @@ -24,4 +24,14 @@ async def event_generator(): return StreamingResponse( event_generator(), media_type=encoder.get_content_type() - ) \ No newline at end of file + ) + + @app.get(f"{path}/health") + def health(): + """Health check.""" + return { + "status": "ok", + "agent": { + "name": agent.name, + } + } \ No newline at end of file From 4b4b14c4e846e4c519b451c740481e0f8ccaa030 Mon Sep 17 00:00:00 2001 From: ran Date: Wed, 20 Aug 2025 18:01:40 +0200 Subject: [PATCH 2/2] chore: release agui langgraph integration for python --- typescript-sdk/integrations/langgraph/python/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript-sdk/integrations/langgraph/python/pyproject.toml b/typescript-sdk/integrations/langgraph/python/pyproject.toml index 9b7a8d93a..ccd20dc5c 100644 --- a/typescript-sdk/integrations/langgraph/python/pyproject.toml +++ b/typescript-sdk/integrations/langgraph/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ag-ui-langgraph" -version = "0.0.6" +version = "0.0.8" description = "Implementation of the AG-UI protocol for LangGraph." authors = ["Ran Shem Tov "] readme = "README.md"