microsoft / autogen

A programming framework for agentic AI. Discord: https://aka.ms/autogen-dc. Roadmap: https://aka.ms/autogen-roadmap
https://microsoft.github.io/autogen/
Creative Commons Attribution 4.0 International
28.12k stars 4.11k forks source link

[AutoBuild] Introducing CaptainAgent #3042

Open LeoLjl opened 6 days ago

LeoLjl commented 6 days ago

Introducing CaptainAgent, an agent that can break down tasks and dynamically call AutoBuild as a tool to solve the subtasks. In one tool call, the CaptainAgent will provide the building task, execution task and group name. The building task is used to assemble group of experts, the execution task is what the experts need to solve.

We propose a RAG-like pipeline for expert group generation. Given a building task, we perform similarity search in agent library and find topk candidates, then let LLM to select the best fit. If no expert is suitable for the task, new experts will be generated. Tools will be retrieved and binded to the experts.

This is the updated version of PR #2414 #1749.

This PR is still under active construction. Below is the roadmap for merging it.

Additional feature(s) that are on the todo list.

Why are these changes needed?

Related issue number

PR #2414 #1749

Checks