Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 584 Bytes

File metadata and controls

16 lines (12 loc) · 584 Bytes

First, add CopilotKitMiddleware to your create_agent call. The middleware is what makes every CopilotKit feature on the frontend — frontend tools, shared state, agent context, and generative UI components — visible to your LangGraph agent on every turn.

If `copilotkit` isn't already in your project, add it so the import above resolves. Pick the package manager that matches your project:
<InstallPythonSDK />