OpenGenerativeUI
OpenGenerativeUI copied to clipboard
feat: deploy agent to LangGraph Platform (LangSmith Cloud)
Summary
- Split deployment: frontend stays on Render, agent deploys to LangGraph Platform (LangSmith Cloud)
- Frontend auto-detects cloud vs self-hosted based on
LANGSMITH_API_KEYpresence — usesLangGraphAgentfor Platform,LangGraphHttpAgentfor self-hosted - Removed agent service from
render.yaml; addedLANGGRAPH_DEPLOYMENT_URLandLANGSMITH_API_KEYenv vars - Added migration plan and updated deployment docs
Resolves #75
Test plan
- [ ] Deploy agent to LangGraph Platform dev environment via
langgraph deploy - [ ] Set agent env vars (
OPENAI_API_KEY,LANGGRAPH_CLOUD=true) in LangSmith dashboard - [ ] Run frontend locally pointed at the cloud deployment URL
- [ ] Verify chat sends/receives messages end-to-end
- [ ] Verify agent can add/update/complete todos (state sync)
- [ ] Verify conversation persists across page refresh (Postgres-backed)
- [ ] Verify traces appear in LangSmith dashboard
- [ ] Verify self-hosted path still works without
LANGSMITH_API_KEYset
🤖 Generated with Claude Code