FLAML icon indicating copy to clipboard operation
FLAML copied to clipboard

Generalize to conversations between a network of agents

Open gagb opened this issue 2 years ago • 1 comments

Why is this needed:

  • Current autogen can drift away from the goal ("Goodbye!"), suggest unsafe code that is unrelated to the goal. Additional, specialized agents (one for each for issue) can intervene and use conversations to fix these issues.

gagb avatar Jun 02 '23 21:06 gagb

I have an idea of implementing this via OpenAI's "functions" feature. We can define a function for each agent. For example, we can define a "goal checking" function which invokes a GoalCheckingAgent's receive method.

The benefit of this implementation is that we don't need to worry about the order of arranging the conversations etc. The agent chooses what function to call, i.e., which other agent to talk to.

Dependency: #1085

sonichi avatar Jun 23 '23 14:06 sonichi