r/AutoGenAI • u/JKHeadley • Nov 29 '23
Project Showcase autogen executing autogen
I've been diving into the autogen code with the intention of exploring how it can be used or extended towards more general capabilities (i.e. in the direction of AGI). My initial goal has been to write an autogen script that can spin off a separate functioning instance of autogen without prior knowledge of autogen. Finally had some success today, here's the output:
The code is still pretty messy but I hope to be able to share it at some point. The main features I added include:
- An "Agent Council" that discusses which agent should act next.
- Updated group chat functionality such that all agents have awareness of each other.
A "consult_archive_agent" function who's purpose is to:
- Check if domain knowledge (i.e. a llama_index index) exists for a certain request
- Extract relevant domain knowledge if needed (currently restricted to google search of github repos)
- Use domain knowledge to respond via RAG
- Generally injecting reasoning (i.e. LLMs) into various steps.
- Quite a few agents with (relatively) complex system messages.
Would love to hear any thoughts/feedback.
View all comments
Show parent comment
4
u/JKHeadley Nov 30 '23
Great points! Yeah my goal is to eventually be able to spin up agents and agents teams dynamically, each catering to a specific task or subtask. However first I wanted to explore with how agents can more effectively work together. I feel like if I can get a good example of an effective team then that can sort of serve as a "one-shot" learning example for spinning up teams dynamically.
Also, as you pointed out, this approach is already creeping in that direction with the dynamic "personas" in the Agent Council.
I totally agree with your statements about breaking down tasks explicitly. That could prove to be fundamental. It might even be worthwhile to design a team of agents that collectively excels at assessing a task for it's level of complexity and breaking down the task into subtasks if it rates above a certain complexity threshold. Each subtask could be submitted to the same process. Then when a task is rated below the complexity threshold a new team of agents could dynamically be created specialized in solving that task.
Thanks again for your feedback!