showcase/integrations/langgraph-python/qa/agentic-chat-reasoning.md
/demos/agentic-chat-reasoning on the dashboard host/api/copilotkit GET returns langgraph_status: "reachable"); OPENAI_API_KEY is set; LANGGRAPH_DEPLOYMENT_URL points at a deployment exposing the reasoning_agent graph (registered under agent name agentic-chat-reasoning)reasoningMessage slot with a custom ReasoningBlock component (amber-tinted banner); it relies on deepagents.create_deep_agent with a reasoning-capable OpenAI model (gpt-5-mini by default, override via OPENAI_REASONING_MODEL) routed through the Responses API with reasoning={"effort": "medium", "summary": "detailed"} so the model's chain of thought streams as AG-UI REASONING_MESSAGE_* events. A "Show reasoning" suggestion pill above the input fires show your reasoning step by step, which the aimock fixture in showcase/aimock/d5-all.json matches with reasoning summary deltas for deterministic local/CI runs./demos/agentic-chat-reasoning; verify the CopilotChat panel renders centered (max width 4xl, rounded-2xl corners) within 3sdata-testid="reasoning-block") renders above (or alongside) the final assistant textdata-testid="reasoning-block" element is visible with:
#BEC2FF)#57575B)#DBDBE5 and background tint is #BEC2FF1A (amber/indigo banner)reasoning-block remains rendered in the transcript (not cleared)reasoning-block appears for the second turn[data-testid="reasoning-block"] elements; verify there are at least 2 after the second responsereasoning-block renders BEFORE the final assistant text (or simultaneously) — never afterisRunning settles