File size: 1,659 Bytes
d26c7f3
 
 
 
 
 
 
 
 
 
 
 
 
cc6bd3b
d26c7f3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cc6bd3b
 
 
 
d26c7f3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
@startuml

!include style.puml

' left to right direction

' Hide the class indicators (C)
hide circle
hide empty members

' Agent Definitions (Use class notation for agents with tools as fields)


class "Assistant" as Assistant <<M>> {
}

class "Manager" as Manager <<M>> {
    - Solver() {trivial task}
    - Manager() {complex task}
}

class "Solver" as Solver {
    - Researcher()
    - EncryptionExpert()
    - MathExpert()
    - Reasoner()
    - ImageHandler()
    - VideoHandler()
}

class "Researcher" as Researcher {
    + DuckDuckGoSearchToolSpec
}

class "EncryptionExpert" as EncryptionExpert {
    + ASCII Encode
    + ASCII Decode
    + ChrToInt Encode
    + ChrToInt Decode
    + Base64 Encode
    + Base64 Decode
    + Caesar Cipher Encode
    + Caesar Cipher Decode
    + Caesar Cipher Brute Force
    + Reverse String
    - MathExpert()
    - Reasoner()
}

class "MathExpert" as MathExpert {
    + Symbolic Math Calculator
    + Unit Converter
    - Reasoner()
}

class "Reasoner" as Reasoner {
}

class "ImageHandler" as ImageHandler {
}

class "VideoHandler" as VideoHandler {
}

' Agent-to-Agent Connections
Query --> Assistant
Assistant --> Manager : request
Manager --> Assistant : solution
Assistant --> Final_Answer : problem solved

Manager ..> Manager : complex task
Manager ..> Solver : trivial task
Solver ..> Manager : solution

Solver .. Researcher : query
Solver .. EncryptionExpert : query
Solver .. MathExpert : query
Solver .. Reasoner : query
Solver .. ImageHandler : query
Solver .. VideoHandler : query

EncryptionExpert .. MathExpert : query
EncryptionExpert .. Reasoner : query
MathExpert .. Reasoner : query


@enduml