Replies: 5 comments 9 replies
-
Neuron doesn't have a state graph. What do you mean with "refine responses that a user gets"? |
Beta Was this translation helpful? Give feedback.
-
Would you please have a look at this proof-of-concept? I have read somewhere (but cannot find the reference anymore) that it is possible to chain agents using the tools. I'd be pleased to create a PR if you think this would make sense to be integrated in Neuron AI. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure which feature of Camel you are referring to, I didn't get too much into the code of Camel but to me it looks like they are not using a graph to implement features like chain-of-thought or role-playing. But I think there is a misunderstanding about the scope of my code. The OP requested a way to chain agents in a graph-style way. That's what I implemented with my first approach. You can create static graphs to chain agents. Then you suggested that each node could dynamically choose its successor, and that's what I implemented in my second repository. As I tried to explain, everything that can be done with a graph can be done with normal code, because it's a FSM. The advantage of using a graph is that you can design simple nodes doing a single task and chain them to obtain a more complex task. That's a user level improvement in how they can architecture their code. What you are asking now is: would the graph help us (the framework team) in implementing more complex tasks. My point of view is that it could improve the overall readability/architecture of the code of complex tasks, but I wouldn't personally use a graph to implement them in the framework. As an example I explained that Camel does not (as far as I understand) use graph to implement those tasks. The goal of my code is not to help maintainers, but to help end users with their code architecture. If you don't see an interest from your part in such an addition to Neuron then I will keep my FSM code as a stand-alone thing. It's too bad you pointed me on pydantic-graph when you actually didn't see a use-case for it. |
Beta Was this translation helpful? Give feedback.
-
If someone is looking for a way to chain agents in a graph-style way, there is an implementation with some examples here. |
Beta Was this translation helpful? Give feedback.
-
I'm sorry if we are not keeping up with your developments. We all are trying to learn. If you have more knowledge on this topics it's great to have some insights a step before. I believe it's healthy to have a discussion for the benefit of the community, documentation eventually, training contents, onboard other contributors, etc. The point is that StateGraph isn't the only way to work on multi-agent applications. There are even more approaches we mentioned in this thread like handoff as tools, AutoGen, Semantic Kernel, CrewAI and so on. The discussion is to decide together what could be the best way to help developers solve multi-agent scenarios. Since we can learn from another, more advanced ecosystem, it's an opportunity to implement a better solution instead of doing the same errors others made in the past. It seems there aren't solution that emerged as the best. They are just different. Thanks to your suggestions it's more clear the role of the StateGraph. Furthermore a StateGraph can be used also to create a workflow that depends by a supervisor agent that can be responsible to execute the underlying nodes in an "autonomous" way. If you are open to send a PR it could be great to work on it. Thank you for the contribution. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an existing RAG implementation using LangChain and LangGraph Js. In my implementation, I make use of State Graphs to refine responses that a user gets. I have been going through the docs, but I have not found any mention of it. How can I achieve the same using Neuron AI?
Beta Was this translation helpful? Give feedback.
All reactions