chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:58:18 +08:00
commit 6d5d58c1a9
18293 changed files with 3502153 additions and 0 deletions
@@ -0,0 +1,19 @@
<Steps>
<Step>
### Install the LangGraph Python SDK
<InstallPythonSDK />
</Step>
<Step>
### Wire CopilotKit middleware into your graph
Shared state flows between your UI and your agent through `agent.setState`
on the frontend and `state.get(...)` in your graph nodes. Attach
`CopilotKitMiddleware` to your `create_agent` call so CopilotKit-specific
state is picked up alongside your own.
<DemoCode file="src/agents/shared_state_read_write.py" region="shared-state-setup" />
</Step>
</Steps>