solana-agent 29.0.0__tar.gz → 29.1.1__tar.gz

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.
Files changed (42) hide show
  1. {solana_agent-29.0.0 → solana_agent-29.1.1}/PKG-INFO +38 -3
  2. {solana_agent-29.0.0 → solana_agent-29.1.1}/README.md +37 -2
  3. {solana_agent-29.0.0 → solana_agent-29.1.1}/pyproject.toml +1 -1
  4. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/factories/agent_factory.py +24 -0
  5. {solana_agent-29.0.0 → solana_agent-29.1.1}/LICENSE +0 -0
  6. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/__init__.py +0 -0
  7. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/adapters/__init__.py +0 -0
  8. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/adapters/mongodb_adapter.py +0 -0
  9. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/adapters/openai_adapter.py +0 -0
  10. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/adapters/pinecone_adapter.py +0 -0
  11. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/cli.py +0 -0
  12. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/client/__init__.py +0 -0
  13. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/client/solana_agent.py +0 -0
  14. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/domains/__init__.py +0 -0
  15. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/domains/agent.py +0 -0
  16. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/domains/routing.py +0 -0
  17. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/factories/__init__.py +0 -0
  18. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/guardrails/pii.py +0 -0
  19. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/__init__.py +0 -0
  20. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/client/client.py +0 -0
  21. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/guardrails/guardrails.py +0 -0
  22. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/plugins/plugins.py +0 -0
  23. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/providers/data_storage.py +0 -0
  24. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/providers/llm.py +0 -0
  25. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/providers/memory.py +0 -0
  26. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/providers/vector_storage.py +0 -0
  27. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/services/agent.py +0 -0
  28. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/services/knowledge_base.py +0 -0
  29. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/services/query.py +0 -0
  30. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/interfaces/services/routing.py +0 -0
  31. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/plugins/__init__.py +0 -0
  32. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/plugins/manager.py +0 -0
  33. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/plugins/registry.py +0 -0
  34. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/plugins/tools/__init__.py +0 -0
  35. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/plugins/tools/auto_tool.py +0 -0
  36. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/repositories/__init__.py +0 -0
  37. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/repositories/memory.py +0 -0
  38. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/services/__init__.py +0 -0
  39. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/services/agent.py +0 -0
  40. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/services/knowledge_base.py +0 -0
  41. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/services/query.py +0 -0
  42. {solana_agent-29.0.0 → solana_agent-29.1.1}/solana_agent/services/routing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: solana-agent
3
- Version: 29.0.0
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
- * [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)
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.
@@ -20,6 +20,7 @@ Build your AI agents in three lines of code!
20
20
  * Three lines of code setup
21
21
  * Simple Agent Definition
22
22
  * Fast Responses
23
+ * Multi-Vendor Support
23
24
  * Solana Ecosystem Integration
24
25
  * Multi-Agent Swarm
25
26
  * Multi-Modal (Images & Audio & Text)
@@ -44,6 +45,7 @@ Build your AI agents in three lines of code!
44
45
  * Easy three lines of code setup
45
46
  * Simple agent definition using JSON
46
47
  * Fast AI responses
48
+ * Multi-vendor support including OpenAI, Grok, and Gemini AI services
47
49
  * Solana Ecosystem Integration via [AgentiPy](https://github.com/niceberginc/agentipy)
48
50
  * MCP tool usage with first-class support for [Zapier](https://zapier.com/mcp)
49
51
  * Integrated observability and tracing via [Pydantic Logfire](https://pydantic.dev/logfire)
@@ -77,14 +79,23 @@ Build your AI agents in three lines of code!
77
79
 
78
80
  ### AI Models Used
79
81
 
80
- * [gpt-4.1](https://platform.openai.com/docs/models/gpt-4.1) (agent)
82
+ **OpenAI**
83
+ * [gpt-4.1](https://platform.openai.com/docs/models/gpt-4.1) (agent - can be overridden)
81
84
  * [gpt-4.1-nano](https://platform.openai.com/docs/models/gpt-4.1-nano) (router)
82
85
  * [text-embedding-3-large](https://platform.openai.com/docs/models/text-embedding-3-large) (embedding)
83
86
  * [tts-1](https://platform.openai.com/docs/models/tts-1) (audio TTS)
84
87
  * [gpt-4o-mini-transcribe](https://platform.openai.com/docs/models/gpt-4o-mini-transcribe) (audio transcription)
85
- * [gpt-image-1](https://platform.openai.com/docs/models/gpt-image-1) (image generation)
88
+ * [gpt-image-1](https://platform.openai.com/docs/models/gpt-image-1) (image generation - can be overridden)
86
89
  * [gpt-4o-mini-search-preview](https://platform.openai.com/docs/models/gpt-4o-mini-search-preview) (Internet search)
87
90
 
91
+ **Grok**
92
+ * [grok-3-fast](https://x.ai/api#pricing) (agent - optional)
93
+ * [grok-2-image](https://x.ai/api#pricing) (image generation - optional)
94
+
95
+ **Gemini**
96
+ * [gemini-2.5-flash-preview-04-17](https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview) (agent - optional)
97
+ * [imagen-3.0-generate-002](https://ai.google.dev/gemini-api/docs/models#imagen-3) (image generation - optional)
98
+
88
99
  ## Installation
89
100
 
90
101
  You can install Solana Agent using pip:
@@ -386,6 +397,30 @@ config = {
386
397
  }
387
398
  ```
388
399
 
400
+ ### Grok
401
+
402
+ `grok-3-fast` can be used instead of `gpt-4.1` for the agent model
403
+
404
+ ```python
405
+ config = {
406
+ "grok": {
407
+ "api_key": "your-grok-api-key",
408
+ },
409
+ }
410
+ ```
411
+
412
+ ### Gemini
413
+
414
+ `gemini-2.5-pro-preview-03-25` can be used instead of `gpt-4.1` for the agent model
415
+
416
+ ```python
417
+ config = {
418
+ "gemini": {
419
+ "api_key": "your-gemini-api-key",
420
+ },
421
+ }
422
+ ```
423
+
389
424
  ### Knowledge Base
390
425
 
391
426
  The Knowledge Base (KB) is meant to store text values and/or PDFs (extracts text) - can handle very large PDFs.
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "solana-agent"
3
- version = "29.0.0"
3
+ version = "29.1.1"
4
4
  description = "AI Agents for Solana"
5
5
  authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
6
6
  license = "MIT"
@@ -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,
File without changes