solana-agent 22.0.5__py3-none-any.whl → 22.0.7__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.
- {solana_agent-22.0.5.dist-info → solana_agent-22.0.7.dist-info}/METADATA +30 -26
- {solana_agent-22.0.5.dist-info → solana_agent-22.0.7.dist-info}/RECORD +4 -4
- {solana_agent-22.0.5.dist-info → solana_agent-22.0.7.dist-info}/LICENSE +0 -0
- {solana_agent-22.0.5.dist-info → solana_agent-22.0.7.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: solana-agent
|
3
|
-
Version: 22.0.
|
3
|
+
Version: 22.0.7
|
4
4
|
Summary: Agentic IQ
|
5
5
|
License: MIT
|
6
6
|
Keywords: ai,openai,ai agents,agi
|
@@ -25,12 +25,13 @@ Description-Content-Type: text/markdown
|
|
25
25
|
# Solana Agent
|
26
26
|
|
27
27
|
[](https://pypi.org/project/solana-agent/)
|
28
|
-
[](https://www.python.org/downloads/)
|
29
|
+
[](https://pypi.org/project/solana-agent/)
|
29
30
|
[](https://opensource.org/licenses/MIT)
|
30
|
-
[](https://www.python.org/downloads/)
|
31
31
|
[](https://codecov.io/gh/truemagic-coder/solana-agent)
|
32
32
|
[](https://github.com/truemagic-coder/solana-agent/actions/workflows/ci.yml)
|
33
33
|
[](https://github.com/truemagic-coder/solana-agent)
|
34
|
+
[](https://libraries.io/pypi/solana-agent)
|
34
35
|
|
35
36
|

|
36
37
|
|
@@ -41,7 +42,7 @@ Build your AI business in three lines of code!
|
|
41
42
|
## Why?
|
42
43
|
* Three lines of code setup
|
43
44
|
* Multi-Agent Swarm
|
44
|
-
* Multi-Modal Streaming
|
45
|
+
* Multi-Modal Streaming (Text & Audio)
|
45
46
|
* Conversational Memory & History
|
46
47
|
* Built-in Internet Search
|
47
48
|
* Intelligent Routing
|
@@ -50,15 +51,16 @@ Build your AI business in three lines of code!
|
|
50
51
|
* Simple Business Definition
|
51
52
|
* Tested & Secure
|
52
53
|
* Built in Python
|
53
|
-
*
|
54
|
+
* Powers [CometHeart](https://cometheart.com) & [WalletBubbles](https://walletbubbles.com)
|
54
55
|
|
55
56
|
## Features
|
56
57
|
|
57
58
|
* Easy three lines of code setup
|
58
59
|
* Designed for a multi-agent swarm
|
59
60
|
* Seamless text and audio streaming with real-time multi-modal processing
|
61
|
+
* Configurable audio voice characteristics via prompting
|
60
62
|
* Persistent memory that preserves context across all agent interactions
|
61
|
-
* Quick built-in Internet
|
63
|
+
* Quick built-in Internet search to answer your queries
|
62
64
|
* Streamlined message history for all agent interactions
|
63
65
|
* Intelligent query routing to agents with optimal domain expertise or your own custom routing
|
64
66
|
* Unified value system ensuring brand-aligned agent responses
|
@@ -249,10 +251,20 @@ async for response in solana_agent.process("user123", "Write me a poem.", intern
|
|
249
251
|
print(response, end="")
|
250
252
|
```
|
251
253
|
|
252
|
-
### Customize
|
254
|
+
### Customize Speech
|
253
255
|
|
254
256
|
This is an audio to audio example using the `audio_instructions` parameter.
|
255
257
|
|
258
|
+
You can prompt to control aspects of speech, including:
|
259
|
+
|
260
|
+
* Accent
|
261
|
+
* Emotional range
|
262
|
+
* Intonation
|
263
|
+
* Impressions
|
264
|
+
* Speed of speech
|
265
|
+
* Tone
|
266
|
+
* Whispering
|
267
|
+
|
256
268
|
```python
|
257
269
|
async for response in solana_agent.process("user123", audio_content, output_format="audio", audio_voice="nova", audio_input_format="webm", audio_output_format="aac", audio_instructions="You speak with an American southern accent"):
|
258
270
|
print(response, end="")
|
@@ -262,7 +274,12 @@ async for response in solana_agent.process("user123", audio_content, output_form
|
|
262
274
|
|
263
275
|
Tools can be used from plugins like Solana Agent Kit (sakit) or via custom inline tools. Tools available via plugins integrate automatically with Solana Agent.
|
264
276
|
|
265
|
-
|
277
|
+
* Agents can only call one tool per response
|
278
|
+
* Agents choose the best tool for the job
|
279
|
+
* Tools do not use OpenAI function calling
|
280
|
+
* Tools are async functions
|
281
|
+
|
282
|
+
### Tool Example
|
266
283
|
|
267
284
|
`pip install sakit`
|
268
285
|
|
@@ -379,11 +396,13 @@ async for response in solana_agent.process("user123", "What are the latest AI de
|
|
379
396
|
print(response, end="")
|
380
397
|
```
|
381
398
|
|
382
|
-
## Training
|
399
|
+
## Agent Training
|
383
400
|
|
384
401
|
Many use-cases for Solana Agent require training your agents on your company data.
|
385
402
|
|
386
|
-
This can be accomplished via runtime prompt injection. Integrations that work well with this method are
|
403
|
+
This can be accomplished via runtime prompt injection. Integrations that work well with this method are vector stores like Pinecone and FAQs.
|
404
|
+
|
405
|
+
This knowledge applies to all your AI agents.
|
387
406
|
|
388
407
|
```python
|
389
408
|
from solana_agent import SolanaAgent
|
@@ -393,11 +412,6 @@ config = {
|
|
393
412
|
"api_key": "your-openai-api-key",
|
394
413
|
},
|
395
414
|
"agents": [
|
396
|
-
{
|
397
|
-
"name": "research_specialist",
|
398
|
-
"instructions": "You are an expert researcher who synthesizes complex information clearly.",
|
399
|
-
"specialization": "Research and knowledge synthesis",
|
400
|
-
},
|
401
415
|
{
|
402
416
|
"name": "customer_support",
|
403
417
|
"instructions": "You provide friendly, helpful customer support responses.",
|
@@ -408,7 +422,7 @@ config = {
|
|
408
422
|
|
409
423
|
solana_agent = SolanaAgent(config=config)
|
410
424
|
|
411
|
-
async for response in solana_agent.process("user123", "
|
425
|
+
async for response in solana_agent.process("user123", "How do replace the latch on my dishwasher?", "This is my corporate appliance fixing FAQ"):
|
412
426
|
print(response, end="")
|
413
427
|
```
|
414
428
|
|
@@ -455,16 +469,6 @@ async for response in solana_agent.process("user123", "What are the latest AI de
|
|
455
469
|
print(response, end="")
|
456
470
|
```
|
457
471
|
|
458
|
-
## Notes
|
459
|
-
* Solana Agent agents can only call one tool per response.
|
460
|
-
* Solana Agent agents choose the best tool for the job.
|
461
|
-
* Solana Agent tools do not use OpenAI function calling.
|
462
|
-
* Solana Agent tools are async functions.
|
463
|
-
|
464
|
-
## Local Setup
|
465
|
-
|
466
|
-
A Docker Compose and Zep Config file is available at the root of this project
|
467
|
-
|
468
472
|
## API Documentation
|
469
473
|
|
470
474
|
The official up-to-date documentation site
|
@@ -29,7 +29,7 @@ solana_agent/services/__init__.py,sha256=ab_NXJmwYUCmCrCzuTlZ47bJZINW0Y0F5jfQ9Oo
|
|
29
29
|
solana_agent/services/agent.py,sha256=bIVC4VGCv8qS5AF0nh_hfUjz8nu70Owll-VuvHJ9X48,20047
|
30
30
|
solana_agent/services/query.py,sha256=os_LRkDIwXQuWW_zJMtm__n0Lvi-AvItdanpCs1bXv0,11362
|
31
31
|
solana_agent/services/routing.py,sha256=PMCSG5m3uLMaHMj3dxNvNfcFZaeaDi7kMr7AEBCzwDE,6499
|
32
|
-
solana_agent-22.0.
|
33
|
-
solana_agent-22.0.
|
34
|
-
solana_agent-22.0.
|
35
|
-
solana_agent-22.0.
|
32
|
+
solana_agent-22.0.7.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
33
|
+
solana_agent-22.0.7.dist-info/METADATA,sha256=SU8DjN7nJMUhyDN-frupbBqd8avzHkgj89r3SjHhjro,14860
|
34
|
+
solana_agent-22.0.7.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
35
|
+
solana_agent-22.0.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|