solana-agent 29.1.0__tar.gz → 29.1.2__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.1.0 → solana_agent-29.1.2}/PKG-INFO +8 -7
  2. {solana_agent-29.1.0 → solana_agent-29.1.2}/README.md +7 -6
  3. {solana_agent-29.1.0 → solana_agent-29.1.2}/pyproject.toml +1 -1
  4. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/factories/agent_factory.py +1 -1
  5. {solana_agent-29.1.0 → solana_agent-29.1.2}/LICENSE +0 -0
  6. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/__init__.py +0 -0
  7. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/adapters/__init__.py +0 -0
  8. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/adapters/mongodb_adapter.py +0 -0
  9. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/adapters/openai_adapter.py +0 -0
  10. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/adapters/pinecone_adapter.py +0 -0
  11. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/cli.py +0 -0
  12. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/client/__init__.py +0 -0
  13. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/client/solana_agent.py +0 -0
  14. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/domains/__init__.py +0 -0
  15. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/domains/agent.py +0 -0
  16. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/domains/routing.py +0 -0
  17. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/factories/__init__.py +0 -0
  18. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/guardrails/pii.py +0 -0
  19. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/__init__.py +0 -0
  20. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/client/client.py +0 -0
  21. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/guardrails/guardrails.py +0 -0
  22. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/plugins/plugins.py +0 -0
  23. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/providers/data_storage.py +0 -0
  24. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/providers/llm.py +0 -0
  25. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/providers/memory.py +0 -0
  26. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/providers/vector_storage.py +0 -0
  27. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/services/agent.py +0 -0
  28. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/services/knowledge_base.py +0 -0
  29. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/services/query.py +0 -0
  30. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/interfaces/services/routing.py +0 -0
  31. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/plugins/__init__.py +0 -0
  32. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/plugins/manager.py +0 -0
  33. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/plugins/registry.py +0 -0
  34. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/plugins/tools/__init__.py +0 -0
  35. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/plugins/tools/auto_tool.py +0 -0
  36. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/repositories/__init__.py +0 -0
  37. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/repositories/memory.py +0 -0
  38. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/services/__init__.py +0 -0
  39. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/services/agent.py +0 -0
  40. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/services/knowledge_base.py +0 -0
  41. {solana_agent-29.1.0 → solana_agent-29.1.2}/solana_agent/services/query.py +0 -0
  42. {solana_agent-29.1.0 → solana_agent-29.1.2}/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.1.0
3
+ Version: 29.1.2
4
4
  Summary: AI Agents for Solana
5
5
  License: MIT
6
6
  Keywords: solana,solana ai,solana agent,ai,ai agent,ai agents
@@ -120,14 +120,16 @@ Build your AI agents in three lines of code!
120
120
  * [text-embedding-3-large](https://platform.openai.com/docs/models/text-embedding-3-large) (embedding)
121
121
  * [tts-1](https://platform.openai.com/docs/models/tts-1) (audio TTS)
122
122
  * [gpt-4o-mini-transcribe](https://platform.openai.com/docs/models/gpt-4o-mini-transcribe) (audio transcription)
123
- * [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)
124
124
  * [gpt-4o-mini-search-preview](https://platform.openai.com/docs/models/gpt-4o-mini-search-preview) (Internet search)
125
125
 
126
126
  **Grok**
127
127
  * [grok-3-fast](https://x.ai/api#pricing) (agent - optional)
128
+ * [grok-2-image](https://x.ai/api#pricing) (image generation - optional)
128
129
 
129
130
  **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
+ * [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)
131
133
 
132
134
  ## Installation
133
135
 
@@ -748,7 +750,7 @@ async for response in solana_agent.process("user123", "Send an email to bob@bob.
748
750
 
749
751
  ### Image Generation
750
752
 
751
- Generate images using OpenAI's `gpt-image-1` and upload them to S3-compatible storage.
753
+ Generate images using OpenAI, Grok, or Gemini image models and upload them to S3-compatible storage.
752
754
 
753
755
  `pip install sakit`
754
756
 
@@ -756,11 +758,10 @@ Generate images using OpenAI's `gpt-image-1` and upload them to S3-compatible st
756
758
  from solana_agent import SolanaAgent
757
759
 
758
760
  config = {
759
- "openai": {
760
- "api_key": "your-openai-api-key" # Required: Your OpenAI API key
761
- },
762
761
  "tools": {
763
762
  "image_gen": {
763
+ "provider": "grok", # Required: either "openai", "grok", or "gemini"
764
+ "api_key": "your-api-key", # Required: your OpenAI or Grok or Gemini API key
764
765
  "s3_endpoint_url": "https://your-s3-endpoint.com", # Required: e.g., https://nyc3.digitaloceanspaces.com
765
766
  "s3_access_key_id": "YOUR_S3_ACCESS_KEY", # Required: Your S3 access key ID
766
767
  "s3_secret_access_key": "YOUR_S3_SECRET_KEY", # Required: Your S3 secret access key
@@ -85,14 +85,16 @@ Build your AI agents in three lines of code!
85
85
  * [text-embedding-3-large](https://platform.openai.com/docs/models/text-embedding-3-large) (embedding)
86
86
  * [tts-1](https://platform.openai.com/docs/models/tts-1) (audio TTS)
87
87
  * [gpt-4o-mini-transcribe](https://platform.openai.com/docs/models/gpt-4o-mini-transcribe) (audio transcription)
88
- * [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)
89
89
  * [gpt-4o-mini-search-preview](https://platform.openai.com/docs/models/gpt-4o-mini-search-preview) (Internet search)
90
90
 
91
91
  **Grok**
92
92
  * [grok-3-fast](https://x.ai/api#pricing) (agent - optional)
93
+ * [grok-2-image](https://x.ai/api#pricing) (image generation - optional)
93
94
 
94
95
  **Gemini**
95
- * [gemini-2.5-pro-preview-03-25](https://ai.google.dev/gemini-api/docs/models#gemini-2.5-pro-preview-03-25) (agent - optional)
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)
96
98
 
97
99
  ## Installation
98
100
 
@@ -713,7 +715,7 @@ async for response in solana_agent.process("user123", "Send an email to bob@bob.
713
715
 
714
716
  ### Image Generation
715
717
 
716
- Generate images using OpenAI's `gpt-image-1` and upload them to S3-compatible storage.
718
+ Generate images using OpenAI, Grok, or Gemini image models and upload them to S3-compatible storage.
717
719
 
718
720
  `pip install sakit`
719
721
 
@@ -721,11 +723,10 @@ Generate images using OpenAI's `gpt-image-1` and upload them to S3-compatible st
721
723
  from solana_agent import SolanaAgent
722
724
 
723
725
  config = {
724
- "openai": {
725
- "api_key": "your-openai-api-key" # Required: Your OpenAI API key
726
- },
727
726
  "tools": {
728
727
  "image_gen": {
728
+ "provider": "grok", # Required: either "openai", "grok", or "gemini"
729
+ "api_key": "your-api-key", # Required: your OpenAI or Grok or Gemini API key
729
730
  "s3_endpoint_url": "https://your-s3-endpoint.com", # Required: e.g., https://nyc3.digitaloceanspaces.com
730
731
  "s3_access_key_id": "YOUR_S3_ACCESS_KEY", # Required: Your S3 access key ID
731
732
  "s3_secret_access_key": "YOUR_S3_SECRET_KEY", # Required: Your S3 secret access key
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "solana-agent"
3
- version = "29.1.0"
3
+ version = "29.1.2"
4
4
  description = "AI Agents for Solana"
5
5
  authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
6
6
  license = "MIT"
@@ -176,7 +176,7 @@ class SolanaAgentFactory:
176
176
  config=config,
177
177
  api_key=config["gemini"]["api_key"],
178
178
  base_url="https://generativelanguage.googleapis.com/v1beta/openai/",
179
- model="gemini-2.5-pro-preview-03-25",
179
+ model="gemini-2.5-flash-preview-04-17",
180
180
  output_guardrails=output_guardrails,
181
181
  ) # pragma: no cover
182
182
 
File without changes