Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoBuild] Introducing CaptainAgent #3042

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

[AutoBuild] Introducing CaptainAgent #3042

wants to merge 4 commits into from

Conversation

LeoLjl
Copy link
Collaborator

@LeoLjl LeoLjl commented Jun 29, 2024

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.

  • Add full content of tool library.
  • Add agent library. The full content of agent library is too large and requires deduplication.
  • Design a better interface for binding tools to agents. As suggested in Add tool library, tool retriever and tool support for agents. #2414, introducing a ToolBuilder class is not best practice and can cause confusion.
  • Revise the notebook that introduces MetaAgent. The current one only involves tool library.
  • Finish blog post.

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

  • Make it more customizable. The current design is a static library. Introduce API for users to add their own tools and agents into metaagent library.

Why are these changes needed?

Related issue number

PR #2414 #1749

Checks

@LeoLjl LeoLjl changed the title [AutoBuild] Introducing MetaAgent and MetaUserProxyAgent [AutoBuild] Introducing CaptainAgent Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants