Back to Copilotkit

Copilot Cloud Configure Remote Endpoint Langgraph

showcase/shell-docs/src/content/snippets/copilot-cloud-configure-remote-endpoint-langgraph.mdx

1.57.01.3 KB
Original Source

import { Callout } from "fumadocs-ui/components/callout"; import { LinkToCopilotCloud } from "@/components/react/link-to-copilot-cloud"; import { Accordions, Accordion } from "fumadocs-ui/components/accordion";

To connect to LangGraph agents through Copilot Cloud, we leverage a concept called "Remote Endpoints" which allow CopilotKit runtime to connect to various backends.

Navigate to <LinkToCopilotCloud asButton={false}>cloud.copilotkit.ai</LinkToCopilotCloud> and follow the video!

You'll need a LangSmith API key which you can get with this guide on LangSmith's website.

<Accordions> <Accordion title="Using LangGraph Studio">
If you're using a local deployment from LangGraph Studio, you'll need to open a tunnel to your LangGraph Studio deployment URL.

```bash
npx copilotkit@latest dev --port <port_number>
```
</Accordion> </Accordions> <Frame className="mt-4"> </Frame>

šŸŽ‰ You should now see your LangGraph agent in the list of available agents in CopilotKit!