Skip to content

Latest commit

 

History

History
81 lines (63 loc) · 2.46 KB

File metadata and controls

81 lines (63 loc) · 2.46 KB

Beaver's Choice Paper Company - Multi-Agent System Workflow

flowchart TD
    A[Customer Request] --> B[Orchestrator Agent]
    B --> C{Request Type?}
    
    C -->|Quote| D[Quoting Agent]
    C -->|Order| E[Order Fulfillment Agent]
    C -->|Inventory| F[Inventory Agent]
    C -->|Report| G[Reporting Agent]
    
    D --> H[(Database)]
    E --> H
    F --> H
    G --> H
    
    H --> I[Response]
    D --> I
    E --> I
    F --> I
    G --> I
    
    I --> J[Customer]
    
    style A fill:#f9f,stroke:#333,stroke-width:2px
    style B fill:#bbf,stroke:#333,stroke-width:2px
    style D fill:#9cf,stroke:#333,stroke-width:2px
    style E fill:#9cf,stroke:#333,stroke-width:2px
    style F fill:#9cf,stroke:#333,stroke-width:2px
    style G fill:#9cf,stroke:#333,stroke-width:2px
    style H fill:#ff9,stroke:#333,stroke-width:2px
    style I fill:#9f9,stroke:#333,stroke-width:2px
    style J fill:#f9f,stroke:#333,stroke-width:2px
Loading

Workflow Description

  1. Customer Request: The system receives a request from a customer (quote, order, inventory check, or report).

  2. Orchestrator Agent: The orchestrator analyzes the request and routes it to the appropriate agent.

  3. Specialized Agents:

    • Quoting Agent: Generates price quotes based on historical data and inventory levels.
    • Order Fulfillment Agent: Processes orders, updates inventory, and handles transactions.
    • Inventory Agent: Manages stock levels and initiates reordering when needed.
    • Reporting Agent: Generates financial and inventory reports.
  4. Database: All agents interact with a centralized database to read and update information.

  5. Response: The system provides a response back to the customer through the orchestrator.

Agent Responsibilities

Orchestrator Agent

  • Routes requests to the appropriate agent
  • Coordinates communication between agents
  • Returns final responses to the customer

Quoting Agent

  • Generates competitive quotes
  • Considers historical pricing and current inventory
  • Applies bulk discounts when applicable

Order Fulfillment Agent

  • Processes customer orders
  • Updates inventory levels
  • Handles payment processing
  • Manages order status

Inventory Agent

  • Monitors stock levels
  • Identifies items needing reorder
  • Manages supplier relationships
  • Updates inventory records

Reporting Agent

  • Generates financial reports
  • Provides inventory status updates
  • Tracks sales and revenue
  • Identifies trends and insights