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,23 @@
<Steps>
<Step>
### Install the LangGraph Python SDK
<InstallPythonSDK />
</Step>
<Step>
### Wire CopilotKit middleware into your graph
Agent config flows from the UI into the agent via `useAgentContext` — the
frontend publishes a typed object and `CopilotKitMiddleware` injects it
into the model's prompt on every turn. Make sure the middleware is in
your `create_agent` call.
<DemoCode file="src/agents/agent_config_agent.py" region="agent-config-setup" />
Read the resulting config inside your system prompt or a custom
middleware — see `src/agents/agent_config_agent.py` for the full
rulebook-driven shape used in the showcase.
</Step>
</Steps>