@@ -93,35 +93,35 @@ <h3>Installation<a class="headerlink" href="#installation" title="Link to this h
93
93
</ section >
94
94
< section id ="flows ">
95
95
< h3 > Flows< a class ="headerlink " href ="#flows " title ="Link to this heading "> </ a > </ h3 >
96
- < p > In both flows of single and multiple agents - it is one user query to one agent using one tool (if needed).</ p >
97
- < p > An agent can have multiple tools and will choose the best one to answer the user query.</ p >
98
- < p > Routing is determined by optimal domain expertise of the agent for the user query.</ p >
99
- < p > When the agent uses a tool it feeds the tool output back into the agent to generate the final response.</ p >
96
+ < p > In both flows of single and multiple agents - it is one user query to one agent using one or many tools (if needed).</ p >
97
+ < p > An agent can have multiple tools and will choose the best ones to fulfill the user’s query.</ p >
98
+ < p > Routing is determined by optimal domain expertise of the agent for the user’s query.</ p >
99
+ < p > When the agent uses tools it feeds the tools output back to itself to generate the final response.</ p >
100
100
< p > This is important as tools generally output unstructured and unformatted data that the agent needs to prepare for the user.</ p >
101
101
< p > Keep this in mind while designing your agentic systems using Solana Agent.</ p >
102
102
< div class ="highlight-ascii notranslate "> < div class ="highlight "> < pre > < span > </ span > Single Agent
103
103
104
- ┌────────┐ ┌─────────┐ ┌────────┐
105
- │ │ │ │ │ │
106
- │ │ │ │ │ │
107
- │ User │◄──────►│ Agent │◄──────►│ Tool │
108
- │ │ │ │ │ │
109
- │ │ │ │ │ │
110
- └────────┘ └─────────┘ └────────┘
104
+ ┌────────┐ ┌─────────┐ ┌────────- ┐
105
+ │ │ │ │ │ │
106
+ │ │ │ │ │ │
107
+ │ User │◄──────►│ Agent │◄──────►│ Tools │
108
+ │ │ │ │ │ │
109
+ │ │ │ │ │ │
110
+ └────────┘ └─────────┘ └────────- ┘
111
111
112
112
113
113
114
114
115
115
116
116
Multiple Agents
117
117
118
- ┌────────┐ ┌──────────┐ ┌─────────┐ ┌────────┐
119
- │ │ │ │ │ │ │ │
120
- │ │ │ │ │ │ │ │
121
- ┌───►│ User ├───────►│ Router ├───────►│ Agent │◄──────►│ Tool │
122
- │ │ │ │ │ │ │ │ │
123
- │ │ │ │ │ │ │ │ │
124
- │ └────────┘ └──────────┘ └────┬────┘ └────────┘
118
+ ┌────────┐ ┌──────────┐ ┌─────────┐ ┌────────- ┐
119
+ │ │ │ │ │ │ │ │
120
+ │ │ │ │ │ │ │ │
121
+ ┌───►│ User ├───────►│ Router ├───────►│ Agent │◄──────►│ Tools │
122
+ │ │ │ │ │ │ │ │ │
123
+ │ │ │ │ │ │ │ │ │
124
+ │ └────────┘ └──────────┘ └────┬────┘ └────────- ┘
125
125
│ │
126
126
│ │
127
127
│ │
@@ -378,6 +378,28 @@ <h3>Observability and Tracing - Optional<a class="headerlink" href="#observabili
378
378
</ pre > </ div >
379
379
</ div >
380
380
</ section >
381
+ < section id ="grok-optional ">
382
+ < h3 > Grok - Optional< a class ="headerlink " href ="#grok-optional " title ="Link to this heading "> </ a > </ h3 >
383
+ < p > < cite > grok-3-fast</ cite > can be used instead of < cite > gpt-4.1</ cite > for the agent model</ p >
384
+ < div class ="highlight-python notranslate "> < div class ="highlight "> < pre > < span > </ span > < span class ="n "> config</ span > < span class ="o "> =</ span > < span class ="p "> {</ span >
385
+ < span class ="s2 "> "grok"</ span > < span class ="p "> :</ span > < span class ="p "> {</ span >
386
+ < span class ="s2 "> "api_key"</ span > < span class ="p "> :</ span > < span class ="s2 "> "your-grok-api-key"</ span > < span class ="p "> ,</ span >
387
+ < span class ="p "> },</ span >
388
+ < span class ="p "> }</ span >
389
+ </ pre > </ div >
390
+ </ div >
391
+ </ section >
392
+ < section id ="gemini-optional ">
393
+ < h3 > Gemini - Optional< a class ="headerlink " href ="#gemini-optional " title ="Link to this heading "> </ a > </ h3 >
394
+ < p > < cite > gemini-2.5-pro-preview-03-25</ cite > can be used instead of < cite > gpt-4.1</ cite > for the agent model</ p >
395
+ < div class ="highlight-python notranslate "> < div class ="highlight "> < pre > < span > </ span > < span class ="n "> config</ span > < span class ="o "> =</ span > < span class ="p "> {</ span >
396
+ < span class ="s2 "> "gemini"</ span > < span class ="p "> :</ span > < span class ="p "> {</ span >
397
+ < span class ="s2 "> "api_key"</ span > < span class ="p "> :</ span > < span class ="s2 "> "your-gemini-api-key"</ span > < span class ="p "> ,</ span >
398
+ < span class ="p "> },</ span >
399
+ < span class ="p "> }</ span >
400
+ </ pre > </ div >
401
+ </ div >
402
+ </ section >
381
403
< section id ="knowledge-base-optional ">
382
404
< h3 > Knowledge Base - Optional< a class ="headerlink " href ="#knowledge-base-optional " title ="Link to this heading "> </ a > </ h3 >
383
405
< p > The Knowledge Base (KB) is meant to store text values and/or small PDFs.</ p >
0 commit comments