solana-agent 29.0.0__py3-none-any.whl → 29.1.0__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.
@@ -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-pro-preview-03-25",
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.0.0
3
+ Version: 29.1.0
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,7 +114,8 @@ Build your AI agents in three lines of code!
112
114
 
113
115
  ### AI Models Used
114
116
 
115
- * [gpt-4.1](https://platform.openai.com/docs/models/gpt-4.1) (agent)
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)
@@ -120,6 +123,12 @@ Build your AI agents in three lines of code!
120
123
  * [gpt-image-1](https://platform.openai.com/docs/models/gpt-image-1) (image generation)
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
+
129
+ **Gemini**
130
+ * [gemini-2.5-pro-preview-03-25](https://ai.google.dev/gemini-api/docs/models#gemini-2.5-pro-preview-03-25) (agent - optional)
131
+
123
132
  ## Installation
124
133
 
125
134
  You can install Solana Agent using pip:
@@ -421,6 +430,30 @@ config = {
421
430
  }
422
431
  ```
423
432
 
433
+ ### Grok
434
+
435
+ `grok-3-fast` can be used instead of `gpt-4.1` for the agent model
436
+
437
+ ```python
438
+ config = {
439
+ "grok": {
440
+ "api_key": "your-grok-api-key",
441
+ },
442
+ }
443
+ ```
444
+
445
+ ### Gemini
446
+
447
+ `gemini-2.5-pro-preview-03-25` can be used instead of `gpt-4.1` for the agent model
448
+
449
+ ```python
450
+ config = {
451
+ "gemini": {
452
+ "api_key": "your-gemini-api-key",
453
+ },
454
+ }
455
+ ```
456
+
424
457
  ### Knowledge Base
425
458
 
426
459
  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=kduhtCMAxiPmCW_wx-hGGlhehRRGt4OBKY8r-R-LZnI,13246
13
+ solana_agent/factories/agent_factory.py,sha256=PUjno9bgbkkp0s1oDSR_NXc3b60eb4H44BJF32z9dls,14286
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.0.0.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
40
- solana_agent-29.0.0.dist-info/METADATA,sha256=qkSwE3LeLuAVzy5EvmTmi-bzW08RAqkFbCfFVJCojYw,32795
41
- solana_agent-29.0.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
42
- solana_agent-29.0.0.dist-info/entry_points.txt,sha256=-AuT_mfqk8dlZ0pHuAjx1ouAWpTRjpqvEUa6YV3lmc0,53
43
- solana_agent-29.0.0.dist-info/RECORD,,
39
+ solana_agent-29.1.0.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
40
+ solana_agent-29.1.0.dist-info/METADATA,sha256=bo0_BwDaDVd3URyQhkH-y6TD4e6Dfyt6VjjwvXYjjwU,33486
41
+ solana_agent-29.1.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
42
+ solana_agent-29.1.0.dist-info/entry_points.txt,sha256=-AuT_mfqk8dlZ0pHuAjx1ouAWpTRjpqvEUa6YV3lmc0,53
43
+ solana_agent-29.1.0.dist-info/RECORD,,