Turn your Blaxel agent (built with LangGraph) into an agent-native application in 10 minutes.
bl create-agent-app
.
agent.py
to get started:
main.py
from the scaffolded directory by copy-pasting the following code.
http://localhost:1338/copilotkit
by default.
Now let’s setup a Copilot Runtime endpoint in your application and point your frontend to it. The following tutorial will demonstrate integration with a NextJS application. Check out CopilotKit’s documentation (step 6) for other frameworks.
Create the following route file:
/copilotkit
endpoint.
https://run.blaxel.ai/{YOUR-WORKSPACE}/agents/{YOUR-AGENT}/copilotkit
and <API_KEY / TOKEN>
.
/copilotkit
endpoint on your agent (if left as default), or the actual endpoint name that you have used.