mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
a07e97b224
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
19 lines
397 B
Plaintext
19 lines
397 B
Plaintext
<Steps>
|
|
<Step>
|
|
### Install the LangGraph Python SDK
|
|
|
|
<InstallPythonSDK />
|
|
|
|
</Step>
|
|
<Step>
|
|
### Wire it into your graph
|
|
|
|
Import `CopilotKitMiddleware` and pass it to `create_agent`. This is the
|
|
single line of CopilotKit-specific setup; everything else is standard
|
|
LangGraph.
|
|
|
|
<DemoCode file="src/agents/frontend_tools.py" region="middleware" />
|
|
|
|
</Step>
|
|
</Steps>
|