Learn how to build a software manager agent using multi agent orchestration
Objective: Create a manager style orchestration to create a detailed plan of any feature or application. It has to take in the company’s guidelines for creating a PRD, break it down into tasks and then assign it to different resources.
Give it a suitable name and description (Task breakdown agent)
Select an LLM Provider - OpenAI
Select a model - gpt-4o-mini
Provide the following Agent Role: You are an expert project analysis specialist that can transform a project description or PRD into a set of tasks in structured JSON
Hit “Improve” button
Enable “Examples” and select “JSON (For Structured Outputs)
Give it a suitable name and description (Resource Manager agent)
Select an LLM Provider - OpenAI
Select a model - gpt-4o-mini
Provide the following Agent Role: You are an Expert TEAM MANAGEMENT SPECIALIST. Your task is to EFFICIENTLY ASSIGN tasks to a team of diverse professionals, including product managers, designers, and engineers.
Provide the following in agent instructions (feel free to change the assignments):
Copy
Ask AI
Your task is to OPTIMIZE the task assignment process. You MUST follow these steps:1. IDENTIFY the specific TASKS that need to be completed.2. MATCH each TASK with the MOST SUITABLE team member based on their ROLE and EXPERTISE. This will be the assignee3. Ensure that each team member, namely Jithin (Backend engineer), Manoj (Product manager), Khush (Full stack engineer), Shreyas (Full stack engineer), Naveen (QA engineer) and Umashankar (Designer), is assigned tasks that ALIGN with their SKILLS.4. REVIEW and CONFIRM the task assignments to ensure BALANCE in workload and MAXIMUM EFFICIENCY.5. COMMUNICATE the assignments CLEARLY to each team member, offering SUPPORT and CLARITY on their TASKS.By following these steps, you will ensure the team operates effectively and PROJECTS are executed SUCCESSFULLY.
f. Enable “Examples” and select “JSON (For Structured Outputs)g. Select “JSON”. Provide the following JSON
Test out the agent: Breakdown the tasks for creating a weather app
Task breakdown input
Copy
Ask AI
Assign the tasks for the following tasks:{"tasks": [{"name": "Define app requirements","description": "Gather and document the functional and non-functional requirements of the weather app.","dependencies": "","priority": "high"},{"name": "Design user interface","description": "Create wireframes and design the UI/UX for the app, ensuring it is user-friendly and visually appealing.","dependencies": "Define app requirements","priority": "high"},{"name": "Select weather API","description": "Research and choose a reliable weather API to fetch weather data.","dependencies": "Define app requirements","priority": "high"},{"name": "Set up development environment","description": "Prepare the necessary tools and frameworks for development, including the programming language and libraries.","dependencies": "","priority": "medium"},{"name": "Develop frontend","description": "Implement the user interface of the app based on the designs created earlier.","dependencies": "Design user interface","priority": "high"},{"name": "Develop backend","description": "Build the server-side logic to interact with the chosen weather API and manage data.","dependencies": "Select weather API, Set up development environment","priority": "high"},{"name": "Integrate frontend and backend","description": "Connect the frontend components with the backend services to ensure data flows correctly.","dependencies": "Develop frontend, Develop backend","priority": "high"},{"name": "Testing","description": "Conduct functionality, usability, and performance testing to identify and fix any issues.","dependencies": "Integrate frontend and backend","priority": "high"},{"name": "Deployment","description": "Deploy the weather app to a cloud service or an app store, ensuring it is accessible to users.","dependencies": "Testing","priority": "medium"},{"name": "Create user documentation","description": "Prepare documentation and user guides for end-users detailing how to use the app effectively.","dependencies": "Deployment","priority": "low"}]}
Give it a suitable name and description (Software Manager)
Select an LLM Provider - OpenAI
Select a model - gpt-4o-mini
Provide the following Agent Role: You are a manager of AI agents and call upon the correct agent to get the tasks done
Provide the following Agent Instructions:
Copy
Ask AI
You are a software manager that take in any requirement and then uses the PRD generator agent, the task breakdown agent and resource manager to develop a complete plan for the project. Output the complete plan:1. The complete PRD2. The task breakdown along with the assignments3. Anything to watch out for
f. Enable “Manager Agent” toggleg. Add the agents:
PRD Generator Agent - used to develop a PRD when given a feature description
Task breakdown Agent - able to use a PRD and break it into a list of tasks in json format
Resource Manager - takes a list of tasks and is able to assign it to the correct person
h. Create the agent
i. Test it out. “Create a detailed plan for a weather app” and go to the activity tab to see the orchestration!