solana-agent 29.1.2__py3-none-any.whl → 29.1.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: solana-agent
3
- Version: 29.1.2
3
+ Version: 29.1.3
4
4
  Summary: AI Agents for Solana
5
5
  License: MIT
6
6
  Keywords: solana,solana ai,solana agent,ai,ai agent,ai agents
@@ -14,16 +14,16 @@ Classifier: Programming Language :: Python :: 3
14
14
  Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Programming Language :: Python :: 3.13
16
16
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
17
- Requires-Dist: instructor (==1.7.9)
18
- Requires-Dist: llama-index-core (==0.12.32)
17
+ Requires-Dist: instructor (==1.8.1)
18
+ Requires-Dist: llama-index-core (==0.12.35)
19
19
  Requires-Dist: llama-index-embeddings-openai (==0.3.1)
20
- Requires-Dist: logfire (==3.14.1)
21
- Requires-Dist: openai (==1.77.0)
20
+ Requires-Dist: logfire (==3.15.1)
21
+ Requires-Dist: openai (==1.78.1)
22
22
  Requires-Dist: pillow (==11.2.1)
23
23
  Requires-Dist: pinecone (==6.0.2)
24
24
  Requires-Dist: pydantic (>=2)
25
25
  Requires-Dist: pymongo (==4.12.1)
26
- Requires-Dist: pypdf (==5.4.0)
26
+ Requires-Dist: pypdf (==5.5.0)
27
27
  Requires-Dist: rich (>=13,<14.0)
28
28
  Requires-Dist: scrubadub (==2.0.1)
29
29
  Requires-Dist: typer (==0.15.3)
@@ -760,7 +760,7 @@ from solana_agent import SolanaAgent
760
760
  config = {
761
761
  "tools": {
762
762
  "image_gen": {
763
- "provider": "grok", # Required: either "openai", "grok", or "gemini"
763
+ "provider": "openai", # Required: either "openai", "grok", or "gemini"
764
764
  "api_key": "your-api-key", # Required: your OpenAI or Grok or Gemini API key
765
765
  "s3_endpoint_url": "https://your-s3-endpoint.com", # Required: e.g., https://nyc3.digitaloceanspaces.com
766
766
  "s3_access_key_id": "YOUR_S3_ACCESS_KEY", # Required: Your S3 access key ID
@@ -786,6 +786,44 @@ async for response in solana_agent.process("user123", "Generate an image of a sm
786
786
  print(response, end="")
787
787
  ```
788
788
 
789
+ ### Nemo Agent
790
+
791
+ This plugin allows the agent to generate python programs using [Nemo Agent](https://nemo-agent.com) and uploads the files in a ZIP file to s3-compatible storage. It returns the public URL of the zip file.
792
+
793
+ This has been tested using [Cloudflare R2](https://developers.cloudflare.com/r2/).
794
+
795
+ ```python
796
+ from solana_agent import SolanaAgent
797
+
798
+ config = {
799
+ "tools": {
800
+ "nemo_agent": {
801
+ "provider": "openai", # Required: either "openai" or "gemini"
802
+ "api_key": "your-api-key", # Required: your OpenAI or Gemini API key
803
+ "s3_endpoint_url": "https://your-s3-endpoint.com", # Required: e.g., https://nyc3.digitaloceanspaces.com
804
+ "s3_access_key_id": "YOUR_S3_ACCESS_KEY", # Required: Your S3 access key ID
805
+ "s3_secret_access_key": "YOUR_S3_SECRET_KEY", # Required: Your S3 secret access key
806
+ "s3_bucket_name": "your-bucket-name", # Required: The name of your S3 bucket
807
+ "s3_region_name": "your-region", # Optional: e.g., "nyc3", needed by some providers
808
+ "s3_public_url_base": "https://your-cdn-or-bucket-url.com/", # Optional: Custom base URL for public links (include trailing slash). If omitted, a standard URL is constructed.
809
+ }
810
+ },
811
+ "agents": [
812
+ {
813
+ "name": "python_dev",
814
+ "instructions": "You are an expert Python Developer. You always use your nemo_agent tool to generate python code.",
815
+ "specialization": "Python Developer",
816
+ "tools": ["nemo_agent"], # Enable the tool for this agent
817
+ }
818
+ ]
819
+ }
820
+
821
+ solana_agent = SolanaAgent(config=config)
822
+
823
+ async for response in solana_agent.process("user123", "Generate an example leetcode medium in Python and give me the zip file."):
824
+ print(response, end="")
825
+ ```
826
+
789
827
  ### Inline Tool Example
790
828
 
791
829
  ```python
@@ -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.1.2.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
40
- solana_agent-29.1.2.dist-info/METADATA,sha256=VKt0dOQeSe8wkiTeAmKPtwbRmU1tvOxJTGDfT5HY3fs,33853
41
- solana_agent-29.1.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
42
- solana_agent-29.1.2.dist-info/entry_points.txt,sha256=-AuT_mfqk8dlZ0pHuAjx1ouAWpTRjpqvEUa6YV3lmc0,53
43
- solana_agent-29.1.2.dist-info/RECORD,,
39
+ solana_agent-29.1.3.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
40
+ solana_agent-29.1.3.dist-info/METADATA,sha256=s1u3DVFDUR051DLgBWWtVvUa-o9zKeZW24Uax_3PWic,35804
41
+ solana_agent-29.1.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
42
+ solana_agent-29.1.3.dist-info/entry_points.txt,sha256=-AuT_mfqk8dlZ0pHuAjx1ouAWpTRjpqvEUa6YV3lmc0,53
43
+ solana_agent-29.1.3.dist-info/RECORD,,