The Open Standard for Generative UI
# ── Model (used by the LangGraph/deepagents server) ────────────────
# The deepagent graph runs the LLM against OpenUI Cloud, so the API key
# lives with the LangGraph process, not the Next.js app.
THESYS_API_KEY=sk-th-your-key-here
# ── LangGraph protocol connection (used by /api/chat) ──────────────
# Local: the URL printed by `pnpm langgraph:dev` (defaults to 2024).
LANGGRAPH_API_URL=http://localhost:2024
# The graph name from langgraph.json ("agent"), or a deployed assistant id.
LANGGRAPH_ASSISTANT_ID=agent
# ── LangGraph Cloud / Platform (only for a hosted deployment) ──────
# Point LANGGRAPH_API_URL at your deployment URL and set the key.
# Leave blank when running locally.
# LANGGRAPH_API_URL=https://your-deployment.us.langgraph.app
# LANGSMITH_API_KEY=lsv2-...