Skip to content

[Question] Built in system prompt words in SupervisorAgent #4281

@dxx

Description

@dxx

Question

refer: #4266

In the previous version of Supervisor Agent, there were default system prompt. In the current version, when using Supervisor Agent, you need to write your own system prompt to inform the LLM decision-making, choose different sub agents to handle tasks or decide whether the task has been completed and ended. However, many people are not familiar with the logic of decision implementation and do not know how to write prompt words well, which can easily lead to problems. Moreover, writing system prompt will waste a lot of unnecessary time, and using frameworks should free up more time to spend on implementing product logic and business requirements.

Previously, the built-in system prompt were in the SupervisorEdgeAction class. Now, the classes related to Supervisor Agent routing decisions include MainAgentNodeAction, MainAgentToSupervisorEdgeAction and SupervisorNodeFromState.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions