solana-agent 29.2.1__py3-none-any.whl → 29.2.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.2.1
3
+ Version: 29.2.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
@@ -54,7 +54,7 @@ Build your AI agents in three lines of code!
54
54
  * Simple Agent Definition
55
55
  * Fast Responses
56
56
  * Multi-Vendor Support
57
- * Solana Ecosystem Integration
57
+ * Solana Integration
58
58
  * Multi-Agent Swarm
59
59
  * Multi-Modal (Images & Audio & Text)
60
60
  * Conversational Memory & History
@@ -79,7 +79,7 @@ Build your AI agents in three lines of code!
79
79
  * Simple agent definition using JSON
80
80
  * Fast AI responses
81
81
  * Multi-vendor support including OpenAI, Grok, and Gemini AI services
82
- * Solana Ecosystem Integration via [AgentiPy](https://github.com/niceberginc/agentipy)
82
+ * Solana Integration
83
83
  * MCP tool usage with first-class support for [Zapier](https://zapier.com/mcp)
84
84
  * Integrated observability and tracing via [Pydantic Logfire](https://pydantic.dev/logfire)
85
85
  * Designed for a multi-agent swarm
@@ -106,7 +106,6 @@ Build your AI agents in three lines of code!
106
106
  * [MongoDB](https://mongodb.com) - Conversational History (optional)
107
107
  * [Zep Cloud](https://getzep.com) - Conversational Memory (optional)
108
108
  * [Pinecone](https://pinecone.io) - Knowledge Base (optional)
109
- * [AgentiPy](https://agentipy.fun) - Solana Ecosystem (optional)
110
109
  * [Zapier](https://zapier.com) - App Integrations (optional)
111
110
  * [Pydantic Logfire](https://pydantic.dev/logfire) - Observability and Tracing (optional)
112
111
 
@@ -656,180 +655,12 @@ Tools empower agents to interact with external systems, fetch data, or perform a
656
655
 
657
656
  Tools can be used from plugins like Solana Agent Kit (sakit) or via inline tools. Tools available via plugins integrate automatically with Solana Agent.
658
657
 
659
- * Agents can use multiple tools per response and should apply the right sequential order (like send an email to bob@bob.com with the latest news on Solana)
660
- * Agents choose the best tools for the job
661
- * Solana Agent doesn't use OpenAI function calling (tools) as they don't support async functions
662
- * Solana Agent tools are async functions
658
+ ### Solana Agent Kit
663
659
 
664
- ### Solana
665
-
666
- `pip install sakit`
667
-
668
- ```python
669
- config = {
670
- "tools": {
671
- "solana": {
672
- "private_key": "your-solana-wallet-private-key", # base58 encoded string
673
- "rpc_url": "your-solana-rpc-url",
674
- },
675
- },
676
- "agents": [
677
- {
678
- "name": "solana_expert",
679
- "instructions": "You are an expert Solana blockchain assistant. You always use the Solana tool to perform actions on the Solana blockchain.",
680
- "specialization": "Solana blockchain interaction",
681
- "tools": ["solana"], # Enable the tool for this agent
682
- }
683
- ]
684
- }
685
-
686
- solana_agent = SolanaAgent(config=config)
687
-
688
- async for response in solana_agent.process("user123", "What is my SOL balance?"):
689
- print(response, end="")
690
- ```
691
-
692
- ### Internet Search
693
-
694
- `pip install sakit`
695
-
696
- ```python
697
- from solana_agent import SolanaAgent
698
-
699
- config = {
700
- "openai": {
701
- "api_key": "your-openai-api-key",
702
- },
703
- "tools": {
704
- "search_internet": {
705
- "api_key": "your-openai-api-key",
706
- },
707
- },
708
- "agents": [
709
- {
710
- "name": "news_specialist",
711
- "instructions": "You are an expert news agent. You use your search_internet tool to get the latest information.",
712
- "specialization": "News researcher and specialist",
713
- "tools": ["search_internet"], # Enable the tool for this agent
714
- }
715
- ],
716
- }
717
-
718
- solana_agent = SolanaAgent(config=config)
719
-
720
- async for response in solana_agent.process("user123", "What is the latest news on Elon Musk?"):
721
- print(response, end="")
722
- ```
723
-
724
- ### MCP
725
-
726
- [Zapier](https://zapier.com/mcp) MCP has been tested, works, and is supported.
727
-
728
- Zapier integrates over 7,000+ apps with 30,000+ actions that your Solana Agent can utilize.
729
-
730
- Other MCP servers may work but are not supported.
731
-
732
- `pip install sakit`
733
-
734
- ```python
735
- from solana_agent import SolanaAgent
736
-
737
- config = {
738
- "tools": {
739
- "mcp": {
740
- "urls": ["my-zapier-mcp-url"],
741
- }
742
- },
743
- "agents": [
744
- {
745
- "name": "zapier_expert",
746
- "instructions": "You are an expert in using Zapier integrations using MCP. You always use the mcp tool to perform Zapier AI like actions.",
747
- "specialization": "Zapier service integration expert",
748
- "tools": ["mcp"], # Enable the tool for this agent
749
- }
750
- ]
751
- }
752
-
753
- solana_agent = SolanaAgent(config=config)
754
-
755
- async for response in solana_agent.process("user123", "Send an email to bob@bob.com to clean his room!"):
756
- print(response, end="")
757
- ```
758
-
759
- ### Image Generation
760
-
761
- Generate images using OpenAI, Grok, or Gemini image models and upload them to S3-compatible storage.
762
-
763
- `pip install sakit`
764
-
765
- ```python
766
- from solana_agent import SolanaAgent
767
-
768
- config = {
769
- "tools": {
770
- "image_gen": {
771
- "provider": "openai", # Required: either "openai", "grok", or "gemini"
772
- "api_key": "your-api-key", # Required: your OpenAI or Grok or Gemini API key
773
- "s3_endpoint_url": "https://your-s3-endpoint.com", # Required: e.g., https://nyc3.digitaloceanspaces.com
774
- "s3_access_key_id": "YOUR_S3_ACCESS_KEY", # Required: Your S3 access key ID
775
- "s3_secret_access_key": "YOUR_S3_SECRET_KEY", # Required: Your S3 secret access key
776
- "s3_bucket_name": "your-bucket-name", # Required: The name of your S3 bucket
777
- "s3_region_name": "your-region", # Optional: e.g., "nyc3", needed by some providers
778
- "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.
779
- }
780
- },
781
- "agents": [
782
- {
783
- "name": "image_creator",
784
- "instructions": "You are a creative assistant that generates images based on user descriptions. Use the image_gen tool to create and store the image.",
785
- "specialization": "Image generation and storage",
786
- "tools": ["image_gen"], # Enable the tool for this agent
787
- }
788
- ]
789
- }
790
-
791
- solana_agent = SolanaAgent(config=config)
792
-
793
- async for response in solana_agent.process("user123", "Generate an image of a smiling unicorn!"):
794
- print(response, end="")
795
- ```
796
-
797
- ### Nemo Agent
798
-
799
- 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.
800
-
801
- This has been tested using [Cloudflare R2](https://developers.cloudflare.com/r2/).
802
-
803
- ```python
804
- from solana_agent import SolanaAgent
805
-
806
- config = {
807
- "tools": {
808
- "nemo_agent": {
809
- "provider": "openai", # Required: either "openai" or "gemini"
810
- "api_key": "your-api-key", # Required: your OpenAI or Gemini API key
811
- "s3_endpoint_url": "https://your-s3-endpoint.com", # Required: e.g., https://nyc3.digitaloceanspaces.com
812
- "s3_access_key_id": "YOUR_S3_ACCESS_KEY", # Required: Your S3 access key ID
813
- "s3_secret_access_key": "YOUR_S3_SECRET_KEY", # Required: Your S3 secret access key
814
- "s3_bucket_name": "your-bucket-name", # Required: The name of your S3 bucket
815
- "s3_region_name": "your-region", # Optional: e.g., "nyc3", needed by some providers
816
- "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.
817
- }
818
- },
819
- "agents": [
820
- {
821
- "name": "python_dev",
822
- "instructions": "You are an expert Python Developer. You always use your nemo_agent tool to generate python code.",
823
- "specialization": "Python Developer",
824
- "tools": ["nemo_agent"], # Enable the tool for this agent
825
- }
826
- ]
827
- }
828
-
829
- solana_agent = SolanaAgent(config=config)
660
+ [Solana Agent Kit](https://github.com/truemagic-coder/solana-agent-kit)
830
661
 
831
- async for response in solana_agent.process("user123", "Generate an example leetcode medium in Python and give me the zip file."):
832
- print(response, end="")
662
+ ```bash
663
+ pip install sakit
833
664
  ```
834
665
 
835
666
  ### Inline Tool Example
@@ -36,8 +36,8 @@ solana_agent/services/agent.py,sha256=q5cYzY6Jp5HFtYgJtrqTBWp5Z2n3dXdpQ5YScSKfvP
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.2.1.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
40
- solana_agent-29.2.1.dist-info/METADATA,sha256=5yfqF9bxgPvHMjsxgor_vHhpmnRHODY8N3IQ4QgexQU,35620
41
- solana_agent-29.2.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
42
- solana_agent-29.2.1.dist-info/entry_points.txt,sha256=-AuT_mfqk8dlZ0pHuAjx1ouAWpTRjpqvEUa6YV3lmc0,53
43
- solana_agent-29.2.1.dist-info/RECORD,,
39
+ solana_agent-29.2.3.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
40
+ solana_agent-29.2.3.dist-info/METADATA,sha256=tQgYee62kteB-uJScA1UsE6GItQpJQe63AY7AR2nWJ0,28982
41
+ solana_agent-29.2.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
42
+ solana_agent-29.2.3.dist-info/entry_points.txt,sha256=-AuT_mfqk8dlZ0pHuAjx1ouAWpTRjpqvEUa6YV3lmc0,53
43
+ solana_agent-29.2.3.dist-info/RECORD,,