solana-agent 27.3.0__py3-none-any.whl → 27.3.1__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: 27.3.0
3
+ Version: 27.3.1
4
4
  Summary: Agentic IQ
5
5
  License: MIT
6
6
  Keywords: ai,openai,ai agents,agi
@@ -19,7 +19,7 @@ Requires-Dist: llama-index-core (>=0.12.30,<0.13.0)
19
19
  Requires-Dist: llama-index-embeddings-openai (>=0.3.1,<0.4.0)
20
20
  Requires-Dist: openai (>=1.74.0,<2.0.0)
21
21
  Requires-Dist: pinecone (>=6.0.2,<7.0.0)
22
- Requires-Dist: pydantic (>=2.11.3,<3.0.0)
22
+ Requires-Dist: pydantic (>=2)
23
23
  Requires-Dist: pymongo (>=4.12.0,<5.0.0)
24
24
  Requires-Dist: pypdf (>=5.4.0,<6.0.0)
25
25
  Requires-Dist: zep-cloud (>=2.10.1,<3.0.0)
@@ -47,6 +47,7 @@ Build your AI business in three lines of code!
47
47
  ## Why?
48
48
  * Three lines of code setup
49
49
  * Fast Responses
50
+ * Solana Integration
50
51
  * Multi-Agent Swarm
51
52
  * Multi-Modal Streaming (Text & Audio)
52
53
  * Conversational Memory & History
@@ -64,6 +65,7 @@ Build your AI business in three lines of code!
64
65
 
65
66
  * Easy three lines of code setup
66
67
  * Fast AI responses
68
+ * Solana Integration via [AgentiPy](https://github.com/niceberginc/agentipy)
67
69
  * Designed for a multi-agent swarm
68
70
  * Seamless text and audio streaming with real-time multi-modal processing
69
71
  * Configurable audio voice characteristics via prompting
@@ -452,7 +454,7 @@ Tools can be used from plugins like Solana Agent Kit (sakit) or via inline tools
452
454
  * Solana Agent doesn't use OpenAI function calling (tools) as they don't support async functions
453
455
  * Solana Agent tools are async functions
454
456
 
455
- ### Internet Search (Plugin Example)
457
+ ### Internet Search
456
458
 
457
459
  `pip install sakit`
458
460
 
@@ -482,10 +484,58 @@ config = {
482
484
  }
483
485
  ],
484
486
  }
487
+ ```
488
+
489
+ ### Solana Actions
490
+
491
+ `pip install sakit`
492
+
493
+ ```python
494
+ config = {
495
+ "tools": {
496
+ "solana": {
497
+ # Core Solana Settings
498
+ "private_key": "YOUR_SOLANA_WALLET_PRIVATE_KEY", # Required (unless generate_wallet=True): Your wallet's private key (base58 encoded string).
499
+ "rpc_url": "https://api.mainnet-beta.solana.com", # Optional: Defaults to Solana mainnet RPC.
500
+ "generate_wallet": False, # Optional: If True, ignores private_key and generates a new wallet. Defaults to False.
501
+
502
+ # Optional RPC/Service API Keys & URLs
503
+ "helius_api_key": "YOUR_HELIUS_API_KEY", # Optional: Helius API key for enhanced data/RPC.
504
+ "helius_rpc_url": "YOUR_HELIUS_RPC_URL", # Optional: Specific Helius RPC URL.
505
+ "quicknode_rpc_url": "YOUR_QUICKNODE_RPC_URL", # Optional: QuickNode RPC URL.
506
+ "jito_block_engine_url": "YOUR_JITO_BLOCK_ENGINE_URL", # Optional: Jito block engine URL for bundles.
507
+ "jito_uuid": "YOUR_JITO_UUID", # Optional: Jito authentication UUID.
508
+
509
+ # Optional Integration API Keys
510
+ "openai_api_key": "YOUR_OPENAI_API_KEY", # Optional: OpenAI API key (if needed by specific agentipy features).
511
+ "backpack_api_key": "YOUR_BACKPACK_API_KEY", # Optional: Backpack Exchange API key.
512
+ "backpack_api_secret": "YOUR_BACKPACK_API_SECRET", # Optional: Backpack Exchange API secret.
513
+ "stork_api_key": "YOUR_STORK_API_KEY", # Optional: Stork oracle API key.
514
+ "coingecko_api_key": "YOUR_COINGECKO_PRO_API_KEY", # Optional: CoinGecko Pro API key.
515
+ "coingecko_demo_api_key": "YOUR_COINGECKO_DEMO_KEY", # Optional: CoinGecko Demo API key.
516
+ "elfa_ai_api_key": "YOUR_ELFA_AI_API_KEY", # Optional: Elfa AI API key.
517
+ "flexland_api_key": "YOUR_FLEXLAND_API_KEY", # Optional: Flexlend API key.
518
+ "allora_api_key": "YOUR_ALLORA_API_KEY", # Optional: Allora Network API key.
519
+ "solutiofi_api_key": "YOUR_SOLUTIOFI_API_KEY" # Optional: Solutio Finance API key.
520
+ },
521
+ },
522
+ "ai_agents": [
523
+ {
524
+ "name": "solana_expert",
525
+ "instructions": """
526
+ You are an expert Solana blockchain assistant.
527
+ Use the solana tool to perform any action on the Solana blockchain.
528
+ Always perform the solana tool actions when requested and not use your memory.
529
+ """,
530
+ "specialization": "Solana blockchain interaction",
531
+ "tools": ["solana"], # Enable the tool for this agent
532
+ }
533
+ ]
534
+ }
485
535
 
486
536
  solana_agent = SolanaAgent(config=config)
487
537
 
488
- async for response in solana_agent.process("user123", "What are the latest AI developments?"):
538
+ async for response in solana_agent.process("user123", "What is my SOL balance?"):
489
539
  print(response, end="")
490
540
  ```
491
541
 
@@ -33,7 +33,7 @@ solana_agent/services/agent.py,sha256=M1Aukr9xKGP9mL0jM_JqdRdWSqG4LxF0y0PDAzE_fp
33
33
  solana_agent/services/knowledge_base.py,sha256=bvoLZHSrfp6BhT8i4fKhxOkaUkYGCFedLp2uTzL-7xI,32379
34
34
  solana_agent/services/query.py,sha256=TAPwgeQViCEg71q9u8oaqD0-W5sR1ipDlPAFkqGlRA8,12528
35
35
  solana_agent/services/routing.py,sha256=hC5t98KZPHty9kMX27KcuxcmZlwjm0g59uMkR8n7k_w,6818
36
- solana_agent-27.3.0.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
37
- solana_agent-27.3.0.dist-info/METADATA,sha256=Rij3Z-DwLTDbKX0Max2mmuOE7LcbDLyOPC6dey7tJwU,22183
38
- solana_agent-27.3.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
39
- solana_agent-27.3.0.dist-info/RECORD,,
36
+ solana_agent-27.3.1.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
37
+ solana_agent-27.3.1.dist-info/METADATA,sha256=KYj2t-L1vxJjqViYGdL5JdIUcKBWl_SnZEzQ2y0VxR4,25019
38
+ solana_agent-27.3.1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
39
+ solana_agent-27.3.1.dist-info/RECORD,,