Skip to content

Instantly share code, notes, and snippets.

@solyarisoftware
Created November 5, 2024 11:07
Show Gist options
  • Save solyarisoftware/f240c1ac652a597a483a657f66354a3a to your computer and use it in GitHub Desktop.
Save solyarisoftware/f240c1ac652a597a483a657f66354a3a to your computer and use it in GitHub Desktop.
sequenceDiagram
    autonumber
    participant User
    participant UI_Msg as User Interface & Messages
    participant Orch as Orchestrator
    participant SBA as Specialized Backend Agent
    participant UIA as User Interface Agent

    %% User initiates interaction
    User->>UI_Msg: Start interaction
    %% UI forwards user input as a message
    UI_Msg->>Orch: Forward message for processing
    %% Orchestrator requests specialized data
    Orch->>SBA: Request specialized data
    %% Specialized Backend Agent returns data to Orchestrator
    SBA-->>Orch: Return data
    %% Orchestrator adapts data for user interface
    Orch->>UIA: Adapt data for user interface
    %% User Interface Agent sends adapted data as a message
    UIA-->>UI_Msg: Send adapted data
    %% Final response sent to the User Interface
    UI_Msg->>User: Display response


Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment