Skip to main content
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.

Pre-requisites

  1. Signup / login to https://studio.lyzr.ai/
  2. That’s it!

Orchestration

product_manager_orchestration.png

Step 1: Let’s get those guidelines

We will be creating an agent to just give us those PRD guidelines
  1. Navigate to Agents in the sidebar
  2. Click on the button “Create New”
  3. Create the agent
    1. Give it a suitable name and description (PRD Guidelines Generator)
    2. Select an LLM Provider - OpenAI
    3. Select a model - gpt-4o-mini
    4. Provide the following Agent Role: You are an expert product manager that give clear and concise guidelines on how to create a PRD document
    5. Hit “Improve” button to instantly get a high quality prompt!
    6. You can select short term memory to enable full conversation style
    7. Create! prd_guidelines_agent.png
  4. Ask the agent: Create guidelines for creating a PRD document
  5. Copy the generated guidelines

Step 2: Create a knowledge base to store the PRD guidelines of the company

  1. Navigate to Knowledge Base in the sidebar
  2. Click on the button “Create New”
    1. Provide a name and description
    2. Select Qdrant as the vector store
    3. Select text-embedding-adda-002 as the embedding model
  3. Click “Upload” and in the Raw Text area paste the guidelines you had copied earlier prd_guidelines_kb.png
  4. Upload
  5. You can test out retrieval right here in the knowledge base playground

Step 3: Create the PRD Generator Agent

  1. Navigate to Agents in the sidebar
  2. Click on the button “Create New”
  3. Create the agent
    1. Give it a suitable name and description (PRD Generator)
    2. Select an LLM Provider - OpenAI
    3. Select a model - gpt-4o-mini
    4. Provide the following Agent Role: You are an expert product manager that can create PRD documents based on the guidelines fetched from RAG
    5. Hit “Improve” button
    6. Select the feature “Knowledge Base” and select the knowledge base you have created
    7. Create the agent prd_generator_agent.png
  4. Test out the agent: Create a PRD document for a weather app

Step 4: Create the Task Breakdown Agent

  1. Navigate to Agents in the sidebar
  2. Click on the button “Create New”
  3. Create the agent
    1. Give it a suitable name and description (Task breakdown agent)
    2. Select an LLM Provider - OpenAI
    3. Select a model - gpt-4o-mini
    4. 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
    5. Hit “Improve” button
    6. Enable “Examples” and select “JSON (For Structured Outputs)
    7. Select “JSON”. Provide the following JSON
    1. Create the agent task_breakdown_agent.png
  4. Test out the agent: Breakdown the tasks for creating a weather app

Step 5: Create the Resource Assignment Agent

  1. Navigate to Agents in the sidebar
  2. Click on the button “Create New”
  3. Create the agent
    1. Give it a suitable name and description (Resource Manager agent)
    2. Select an LLM Provider - OpenAI
    3. Select a model - gpt-4o-mini
    4. 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.
    5. Provide the following in agent instructions (feel free to change the assignments):
    f. Enable “Examples” and select “JSON (For Structured Outputs) g. Select “JSON”. Provide the following JSON
    h. Create the agent resource_manager_agent.png
  4. Test out the agent: Breakdown the tasks for creating a weather app

Step 6: Create a manager / supervisor agent

  1. Navigate to Agents in the sidebar
  2. Click on the button “Create New”
  3. Create the agent
    1. Give it a suitable name and description (Software Manager)
    2. Select an LLM Provider - OpenAI
    3. Select a model - gpt-4o-mini
    4. Provide the following Agent Role: You are a manager of AI agents and call upon the correct agent to get the tasks done
    5. Provide the following Agent Instructions:
    f. Enable “Manager Agent” toggle g. Add the agents:
    1. PRD Generator Agent - used to develop a PRD when given a feature description
    2. Task breakdown Agent - able to use a PRD and break it into a list of tasks in json format
    3. Resource Manager - takes a list of tasks and is able to assign it to the correct person
    h. Create the agent software_manager_agent.png i. Test it out. “Create a detailed plan for a weather app” and go to the activity tab to see the orchestration! software_manager_activity.png