Skip to content

Update description of agents #1

@jxraynaud

Description

@jxraynaud

First let me thank you for those prompts, really nice work. And your yt channel is great.

I just wanted to suggest a modification of the description for each agent. Description aren't passed to the agent, instead there used by the chat manager to understand which agent do what and decide which one should be called next.

One of the reason the description field has been added to autopen is that system prompts of agent often use "You", for example in "You are a helpful assistant", and it was a bit confusing for the chat manager when the system prompts of each agent were copied into the chat manager system prompt. So they added the description for the sole purpose of avoiding this problem + allowing for much shorter description (no need to copy few shots examples or any how-to logic).

As a consequence, using "You" in the description, isn't great, unless you want to point to the chat manager itself, not the agent. A simple way to do that is to replace "You" by "This agent". For example in the description of the Architect, change "You write code and rewrite it to make it bug free" to "This agent is the only agent that can write code and rewrite it to make it bug free". Another way is to simply copy the part you added into the system prompt of the chat manager (and remove it from there, it will be copied in the system prompt anyway). "Architect writes excellent python code, rewrites it if a bug is found and forwards the code to Reviewer. Architect starts the process CAN ONLY SEND CODE TO REVIEWER."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions