#Looking for Multi Agent Langraph Example
1 messages · Page 1 of 1 (latest)
Give this a look and let me know if that helps!
that doesnt seem to help me no ...
I need a example with
2 Agents that the router mode decides to call one of them and the chosen agent call a tool ideally. All using Langraph. And ideally without any langgraph studio / langsmith stuff mixed in to keep it simple
Hello Steffen, in the above demo https://github.com/CopilotKit/open-multi-agent-canvas
It actually has multiple agents attached to CopilotKit. It has a traveller agent, a researcher agent, and an MCP agent.
The CopilotKit will invoke the correct agent based on the user query.
iam trying to set things up in a next.js application ( javscript only ) forgot to mention that.
From that example I cant figure out how to :
- self hosted , multi agents , with next.js ( in the backend)
maybe i misunderstand something but , langgraph studio and langsmith shouldnt be required right?
Iam assuming i just need the copilotkit runtime be accesable in a next.js route...
I asked ChatGpt and it suggested this : dont know if thats true yet
langGraphPlatformEndpoint({ deploymentUrl:"/api/langgraph", … })
That helper wraps a fetch() call to deploymentUrl + "/invoke" and injects the agent name into the payload
which means I could essentially set up a endpoint in my next.js app for each agent / dynanimc one .. so it can call these without the need for langgraph studio.
I also googled hard and found there is a langgraph/api package ... though for some reason currently not installable on npm .. but its on github 😄 ... would have liked to try it since then i could point to a dedicated express server.
I simply dont want to use langgraph studio or the platform or fastapi (since its python either) .. ( or langsmith 😄 )
but I cant find anywhere how to set this up
figured out this is not really a standalone package but part of the cli ... so never mind .. guess then fastapi really is my only option if I want to not use the langgraph servers .. which is a shame .. i dont want to use python and i dont want to use langgraph studio
Any Chance we get a self hosted javascript version soon as alternative to fastapi ?
@vagrant lagoon it’s something we're open to considering. We can’t promise a timeline, but feel free to open a feature request on GitHub so the interest is visible. Contributions are always welcome if anyone wants to explore it.
Alright I threw my rocks in the github issues. I would probably be willing to contribute for the Mastra - Agentic Generative UI feature if it stays unsupported for the coming months. (It seems the most complete agentic framework right now to me )
https://github.com/CopilotKit/CopilotKit/issues/1994
https://github.com/CopilotKit/CopilotKit/issues/1993
Copilotit would become viable for me as soon as I have a self hosted Javascript solution. That supports the Agentic Generative UI features for CopilotKit ( that currently only langgraph has but - no self hosted js based solution