solana-agent 27.3.0__tar.gz → 27.3.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.
- {solana_agent-27.3.0 → solana_agent-27.3.1}/PKG-INFO +54 -4
- {solana_agent-27.3.0 → solana_agent-27.3.1}/README.md +52 -2
- {solana_agent-27.3.0 → solana_agent-27.3.1}/pyproject.toml +2 -2
- {solana_agent-27.3.0 → solana_agent-27.3.1}/LICENSE +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/__init__.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/adapters/__init__.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/adapters/mongodb_adapter.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/adapters/openai_adapter.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/adapters/pinecone_adapter.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/client/__init__.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/client/solana_agent.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/domains/__init__.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/domains/agent.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/domains/routing.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/factories/__init__.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/factories/agent_factory.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/__init__.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/client/client.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/plugins/plugins.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/providers/data_storage.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/providers/llm.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/providers/memory.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/providers/vector_storage.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/services/agent.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/services/knowledge_base.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/services/query.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/services/routing.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/plugins/__init__.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/plugins/manager.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/plugins/registry.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/plugins/tools/__init__.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/plugins/tools/auto_tool.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/repositories/__init__.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/repositories/memory.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/services/__init__.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/services/agent.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/services/knowledge_base.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/services/query.py +0 -0
- {solana_agent-27.3.0 → solana_agent-27.3.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: 27.3.
|
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
|
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
|
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
|
538
|
+
async for response in solana_agent.process("user123", "What is my SOL balance?"):
|
489
539
|
print(response, end="")
|
490
540
|
```
|
491
541
|
|
@@ -18,6 +18,7 @@ Build your AI business in three lines of code!
|
|
18
18
|
## Why?
|
19
19
|
* Three lines of code setup
|
20
20
|
* Fast Responses
|
21
|
+
* Solana Integration
|
21
22
|
* Multi-Agent Swarm
|
22
23
|
* Multi-Modal Streaming (Text & Audio)
|
23
24
|
* Conversational Memory & History
|
@@ -35,6 +36,7 @@ Build your AI business in three lines of code!
|
|
35
36
|
|
36
37
|
* Easy three lines of code setup
|
37
38
|
* Fast AI responses
|
39
|
+
* Solana Integration via [AgentiPy](https://github.com/niceberginc/agentipy)
|
38
40
|
* Designed for a multi-agent swarm
|
39
41
|
* Seamless text and audio streaming with real-time multi-modal processing
|
40
42
|
* Configurable audio voice characteristics via prompting
|
@@ -423,7 +425,7 @@ Tools can be used from plugins like Solana Agent Kit (sakit) or via inline tools
|
|
423
425
|
* Solana Agent doesn't use OpenAI function calling (tools) as they don't support async functions
|
424
426
|
* Solana Agent tools are async functions
|
425
427
|
|
426
|
-
### Internet Search
|
428
|
+
### Internet Search
|
427
429
|
|
428
430
|
`pip install sakit`
|
429
431
|
|
@@ -453,10 +455,58 @@ config = {
|
|
453
455
|
}
|
454
456
|
],
|
455
457
|
}
|
458
|
+
```
|
459
|
+
|
460
|
+
### Solana Actions
|
461
|
+
|
462
|
+
`pip install sakit`
|
463
|
+
|
464
|
+
```python
|
465
|
+
config = {
|
466
|
+
"tools": {
|
467
|
+
"solana": {
|
468
|
+
# Core Solana Settings
|
469
|
+
"private_key": "YOUR_SOLANA_WALLET_PRIVATE_KEY", # Required (unless generate_wallet=True): Your wallet's private key (base58 encoded string).
|
470
|
+
"rpc_url": "https://api.mainnet-beta.solana.com", # Optional: Defaults to Solana mainnet RPC.
|
471
|
+
"generate_wallet": False, # Optional: If True, ignores private_key and generates a new wallet. Defaults to False.
|
472
|
+
|
473
|
+
# Optional RPC/Service API Keys & URLs
|
474
|
+
"helius_api_key": "YOUR_HELIUS_API_KEY", # Optional: Helius API key for enhanced data/RPC.
|
475
|
+
"helius_rpc_url": "YOUR_HELIUS_RPC_URL", # Optional: Specific Helius RPC URL.
|
476
|
+
"quicknode_rpc_url": "YOUR_QUICKNODE_RPC_URL", # Optional: QuickNode RPC URL.
|
477
|
+
"jito_block_engine_url": "YOUR_JITO_BLOCK_ENGINE_URL", # Optional: Jito block engine URL for bundles.
|
478
|
+
"jito_uuid": "YOUR_JITO_UUID", # Optional: Jito authentication UUID.
|
479
|
+
|
480
|
+
# Optional Integration API Keys
|
481
|
+
"openai_api_key": "YOUR_OPENAI_API_KEY", # Optional: OpenAI API key (if needed by specific agentipy features).
|
482
|
+
"backpack_api_key": "YOUR_BACKPACK_API_KEY", # Optional: Backpack Exchange API key.
|
483
|
+
"backpack_api_secret": "YOUR_BACKPACK_API_SECRET", # Optional: Backpack Exchange API secret.
|
484
|
+
"stork_api_key": "YOUR_STORK_API_KEY", # Optional: Stork oracle API key.
|
485
|
+
"coingecko_api_key": "YOUR_COINGECKO_PRO_API_KEY", # Optional: CoinGecko Pro API key.
|
486
|
+
"coingecko_demo_api_key": "YOUR_COINGECKO_DEMO_KEY", # Optional: CoinGecko Demo API key.
|
487
|
+
"elfa_ai_api_key": "YOUR_ELFA_AI_API_KEY", # Optional: Elfa AI API key.
|
488
|
+
"flexland_api_key": "YOUR_FLEXLAND_API_KEY", # Optional: Flexlend API key.
|
489
|
+
"allora_api_key": "YOUR_ALLORA_API_KEY", # Optional: Allora Network API key.
|
490
|
+
"solutiofi_api_key": "YOUR_SOLUTIOFI_API_KEY" # Optional: Solutio Finance API key.
|
491
|
+
},
|
492
|
+
},
|
493
|
+
"ai_agents": [
|
494
|
+
{
|
495
|
+
"name": "solana_expert",
|
496
|
+
"instructions": """
|
497
|
+
You are an expert Solana blockchain assistant.
|
498
|
+
Use the solana tool to perform any action on the Solana blockchain.
|
499
|
+
Always perform the solana tool actions when requested and not use your memory.
|
500
|
+
""",
|
501
|
+
"specialization": "Solana blockchain interaction",
|
502
|
+
"tools": ["solana"], # Enable the tool for this agent
|
503
|
+
}
|
504
|
+
]
|
505
|
+
}
|
456
506
|
|
457
507
|
solana_agent = SolanaAgent(config=config)
|
458
508
|
|
459
|
-
async for response in solana_agent.process("user123", "What
|
509
|
+
async for response in solana_agent.process("user123", "What is my SOL balance?"):
|
460
510
|
print(response, end="")
|
461
511
|
```
|
462
512
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "solana-agent"
|
3
|
-
version = "27.3.
|
3
|
+
version = "27.3.1"
|
4
4
|
description = "Agentic IQ"
|
5
5
|
authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
|
6
6
|
license = "MIT"
|
@@ -24,7 +24,7 @@ python_paths = [".", "tests"]
|
|
24
24
|
[tool.poetry.dependencies]
|
25
25
|
python = ">=3.12,<4.0"
|
26
26
|
openai = "^1.74.0"
|
27
|
-
pydantic = "
|
27
|
+
pydantic = ">=2"
|
28
28
|
pymongo = "^4.12.0"
|
29
29
|
zep-cloud = "^2.10.1"
|
30
30
|
instructor = "^1.7.9"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/providers/data_storage.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/providers/vector_storage.py
RENAMED
File without changes
|
File without changes
|
{solana_agent-27.3.0 → solana_agent-27.3.1}/solana_agent/interfaces/services/knowledge_base.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|