solana-agent 29.0.0__py3-none-any.whl → 29.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- solana_agent/factories/agent_factory.py +24 -0
- {solana_agent-29.0.0.dist-info → solana_agent-29.1.1.dist-info}/METADATA +38 -3
- {solana_agent-29.0.0.dist-info → solana_agent-29.1.1.dist-info}/RECORD +6 -6
- {solana_agent-29.0.0.dist-info → solana_agent-29.1.1.dist-info}/WHEEL +1 -1
- {solana_agent-29.0.0.dist-info → solana_agent-29.1.1.dist-info}/LICENSE +0 -0
- {solana_agent-29.0.0.dist-info → solana_agent-29.1.1.dist-info}/entry_points.txt +0 -0
@@ -168,6 +168,30 @@ class SolanaAgentFactory:
|
|
168
168
|
output_guardrails=output_guardrails,
|
169
169
|
)
|
170
170
|
|
171
|
+
if "gemini" in config and "api_key" in config["gemini"]:
|
172
|
+
# Create primary services
|
173
|
+
agent_service = AgentService(
|
174
|
+
llm_provider=llm_adapter,
|
175
|
+
business_mission=business_mission,
|
176
|
+
config=config,
|
177
|
+
api_key=config["gemini"]["api_key"],
|
178
|
+
base_url="https://generativelanguage.googleapis.com/v1beta/openai/",
|
179
|
+
model="gemini-2.5-flash-preview-04-17",
|
180
|
+
output_guardrails=output_guardrails,
|
181
|
+
) # pragma: no cover
|
182
|
+
|
183
|
+
elif "grok" in config and "api_key" in config["grok"]:
|
184
|
+
# Create primary services
|
185
|
+
agent_service = AgentService(
|
186
|
+
llm_provider=llm_adapter,
|
187
|
+
business_mission=business_mission,
|
188
|
+
config=config,
|
189
|
+
api_key=config["grok"]["api_key"],
|
190
|
+
base_url="https://api.x.ai/v1",
|
191
|
+
model="grok-3-fast",
|
192
|
+
output_guardrails=output_guardrails,
|
193
|
+
) # pragma: no cover
|
194
|
+
|
171
195
|
# Create routing service
|
172
196
|
routing_service = RoutingService(
|
173
197
|
llm_provider=llm_adapter,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: solana-agent
|
3
|
-
Version: 29.
|
3
|
+
Version: 29.1.1
|
4
4
|
Summary: AI Agents for Solana
|
5
5
|
License: MIT
|
6
6
|
Keywords: solana,solana ai,solana agent,ai,ai agent,ai agents
|
@@ -55,6 +55,7 @@ Build your AI agents in three lines of code!
|
|
55
55
|
* Three lines of code setup
|
56
56
|
* Simple Agent Definition
|
57
57
|
* Fast Responses
|
58
|
+
* Multi-Vendor Support
|
58
59
|
* Solana Ecosystem Integration
|
59
60
|
* Multi-Agent Swarm
|
60
61
|
* Multi-Modal (Images & Audio & Text)
|
@@ -79,6 +80,7 @@ Build your AI agents in three lines of code!
|
|
79
80
|
* Easy three lines of code setup
|
80
81
|
* Simple agent definition using JSON
|
81
82
|
* Fast AI responses
|
83
|
+
* Multi-vendor support including OpenAI, Grok, and Gemini AI services
|
82
84
|
* Solana Ecosystem Integration via [AgentiPy](https://github.com/niceberginc/agentipy)
|
83
85
|
* MCP tool usage with first-class support for [Zapier](https://zapier.com/mcp)
|
84
86
|
* Integrated observability and tracing via [Pydantic Logfire](https://pydantic.dev/logfire)
|
@@ -112,14 +114,23 @@ Build your AI agents in three lines of code!
|
|
112
114
|
|
113
115
|
### AI Models Used
|
114
116
|
|
115
|
-
|
117
|
+
**OpenAI**
|
118
|
+
* [gpt-4.1](https://platform.openai.com/docs/models/gpt-4.1) (agent - can be overridden)
|
116
119
|
* [gpt-4.1-nano](https://platform.openai.com/docs/models/gpt-4.1-nano) (router)
|
117
120
|
* [text-embedding-3-large](https://platform.openai.com/docs/models/text-embedding-3-large) (embedding)
|
118
121
|
* [tts-1](https://platform.openai.com/docs/models/tts-1) (audio TTS)
|
119
122
|
* [gpt-4o-mini-transcribe](https://platform.openai.com/docs/models/gpt-4o-mini-transcribe) (audio transcription)
|
120
|
-
* [gpt-image-1](https://platform.openai.com/docs/models/gpt-image-1) (image generation)
|
123
|
+
* [gpt-image-1](https://platform.openai.com/docs/models/gpt-image-1) (image generation - can be overridden)
|
121
124
|
* [gpt-4o-mini-search-preview](https://platform.openai.com/docs/models/gpt-4o-mini-search-preview) (Internet search)
|
122
125
|
|
126
|
+
**Grok**
|
127
|
+
* [grok-3-fast](https://x.ai/api#pricing) (agent - optional)
|
128
|
+
* [grok-2-image](https://x.ai/api#pricing) (image generation - optional)
|
129
|
+
|
130
|
+
**Gemini**
|
131
|
+
* [gemini-2.5-flash-preview-04-17](https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview) (agent - optional)
|
132
|
+
* [imagen-3.0-generate-002](https://ai.google.dev/gemini-api/docs/models#imagen-3) (image generation - optional)
|
133
|
+
|
123
134
|
## Installation
|
124
135
|
|
125
136
|
You can install Solana Agent using pip:
|
@@ -421,6 +432,30 @@ config = {
|
|
421
432
|
}
|
422
433
|
```
|
423
434
|
|
435
|
+
### Grok
|
436
|
+
|
437
|
+
`grok-3-fast` can be used instead of `gpt-4.1` for the agent model
|
438
|
+
|
439
|
+
```python
|
440
|
+
config = {
|
441
|
+
"grok": {
|
442
|
+
"api_key": "your-grok-api-key",
|
443
|
+
},
|
444
|
+
}
|
445
|
+
```
|
446
|
+
|
447
|
+
### Gemini
|
448
|
+
|
449
|
+
`gemini-2.5-pro-preview-03-25` can be used instead of `gpt-4.1` for the agent model
|
450
|
+
|
451
|
+
```python
|
452
|
+
config = {
|
453
|
+
"gemini": {
|
454
|
+
"api_key": "your-gemini-api-key",
|
455
|
+
},
|
456
|
+
}
|
457
|
+
```
|
458
|
+
|
424
459
|
### Knowledge Base
|
425
460
|
|
426
461
|
The Knowledge Base (KB) is meant to store text values and/or PDFs (extracts text) - can handle very large PDFs.
|
@@ -10,7 +10,7 @@ solana_agent/domains/__init__.py,sha256=HiC94wVPRy-QDJSSRywCRrhrFfTBeHjfi5z-QfZv
|
|
10
10
|
solana_agent/domains/agent.py,sha256=3Q1wg4eIul0CPpaYBOjEthKTfcdhf1SAiWc2R-IMGO8,2561
|
11
11
|
solana_agent/domains/routing.py,sha256=1yR4IswGcmREGgbOOI6TKCfuM7gYGOhQjLkBqnZ-rNo,582
|
12
12
|
solana_agent/factories/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
|
-
solana_agent/factories/agent_factory.py,sha256=
|
13
|
+
solana_agent/factories/agent_factory.py,sha256=hnnFy1zw_nKjt34xOncqF1VgQaOoGKJI_0ClHMS_HVI,14288
|
14
14
|
solana_agent/guardrails/pii.py,sha256=FCz1IC3mmkr41QFFf5NaC0fwJrVkwFsxgyOCS2POO5I,4428
|
15
15
|
solana_agent/interfaces/__init__.py,sha256=IQs1WIM1FeKP1-kY2FEfyhol_dB-I-VAe2rD6jrVF6k,355
|
16
16
|
solana_agent/interfaces/client/client.py,sha256=hFYe04lFGbp4BDlUMOnYQrp_SQXFPcktGOwsi0F87vU,3140
|
@@ -36,8 +36,8 @@ solana_agent/services/agent.py,sha256=QoeQq_OEWyLdBS0FPa-lXm5qiE0RnRfrCKiFTfOSGE
|
|
36
36
|
solana_agent/services/knowledge_base.py,sha256=ZvOPrSmcNDgUzz4bJIQ4LeRl9vMZiK9hOfs71IpB7Bk,32735
|
37
37
|
solana_agent/services/query.py,sha256=ENUfs4WSTpODMRXppDVW-Y3li9jYn8pOfQIHIPerUdQ,18498
|
38
38
|
solana_agent/services/routing.py,sha256=C5Ku4t9TqvY7S8wlUPMTC04HCrT4Ib3E8Q8yX0lVU_s,7137
|
39
|
-
solana_agent-29.
|
40
|
-
solana_agent-29.
|
41
|
-
solana_agent-29.
|
42
|
-
solana_agent-29.
|
43
|
-
solana_agent-29.
|
39
|
+
solana_agent-29.1.1.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
40
|
+
solana_agent-29.1.1.dist-info/METADATA,sha256=zSuFCG70cS2hrz9U6eu43Ea_ZhhsdJ6KpwX1Q8K1wLs,33690
|
41
|
+
solana_agent-29.1.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
42
|
+
solana_agent-29.1.1.dist-info/entry_points.txt,sha256=-AuT_mfqk8dlZ0pHuAjx1ouAWpTRjpqvEUa6YV3lmc0,53
|
43
|
+
solana_agent-29.1.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|