You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Remove any custom kwargs before passing to parent
54
54
55
55
plan_append="""
56
-
IMPORTANT: Never ask the user for information or clarification until all agents on the team have been asked first.
56
+
57
+
CRITICAL DOMAIN CHECK: Examine team agents first - if request doesn't match team domain, reject immediately:
58
+
- CustomerDataAgent/OrderDataAgent = RETAIL team (reject HR/employee requests)
59
+
- HRHelperAgent = HR team (reject non-HR requests)
60
+
- ProductAgent/MarketingAgent = MARKETING team (reject non-marketing requests)
61
+
62
+
- **ProxyAgent** to politely inform the user that this request does not match this team’s domain and should be redirected to the appropriate team. No clarifications or follow-up questions should be asked.
57
63
64
+
65
+
IMPORTANT: Never ask the user for information or clarification until all agents on the team have been asked first.
66
+
58
67
EXAMPLE: If the user request involves product information, first ask all agents on the team to provide the information.
59
68
Do not ask the user unless all agents have been consulted and the information is still missing.
60
-
69
+
61
70
Plan steps should always include a bullet point, followed by an agent name, followed by a description of the action
62
71
to be taken. If a step involves multiple actions, separate them into distinct steps with an agent included in each step.
63
72
If the step is taken by an agent that is not part of the team, such as the MagenticManager, please always list the MagenticManager as the agent for that step. At any time, if more information is needed from the user, use the ProxyAgent to request this information.
64
-
73
+
65
74
Here is an example of a well-structured plan:
66
75
- **EnhancedResearchAgent** to gather authoritative data on the latest industry trends and best practices in employee onboarding
67
76
- **EnhancedResearchAgent** to gather authoritative data on Innovative onboarding techniques that enhance new hire engagement and retention.
68
77
- **DocumentCreationAgent** to draft a comprehensive onboarding plan that includes a detailed schedule of onboarding activities and milestones.
69
78
- **DocumentCreationAgent** to draft a comprehensive onboarding plan that includes a checklist of resources and materials needed for effective onboarding.
70
79
- **ProxyAgent** to review the drafted onboarding plan for clarity and completeness.
71
80
- **MagenticManager** to finalize the onboarding plan and prepare it for presentation to stakeholders.
0 commit comments