solana-agent 22.0.6__py3-none-any.whl → 22.0.8__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: 22.0.6
3
+ Version: 22.0.8
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
  [![PyPI - Version](https://img.shields.io/pypi/v/solana-agent)](https://pypi.org/project/solana-agent/)
28
- [![PyPI - Downloads](https://img.shields.io/pypi/dm/solana-agent?color=yellow)](https://pypi.org/project/solana-agent/)
28
+ [![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
29
+ [![PyPI - Downloads](https://img.shields.io/pypi/dm/solana-agent)](https://pypi.org/project/solana-agent/)
29
30
  [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
30
- [![Python 3.12+](https://img.shields.io/badge/python-3.12+-orange.svg)](https://www.python.org/downloads/)
31
31
  [![codecov](https://img.shields.io/codecov/c/github/truemagic-coder/solana-agent/main.svg)](https://codecov.io/gh/truemagic-coder/solana-agent)
32
32
  [![Build Status](https://img.shields.io/github/actions/workflow/status/truemagic-coder/solana-agent/ci.yml?branch=main)](https://github.com/truemagic-coder/solana-agent/actions/workflows/ci.yml)
33
33
  [![Lines of Code](https://tokei.rs/b1/github/truemagic-coder/solana-agent?type=python&category=code&style=flat)](https://github.com/truemagic-coder/solana-agent)
34
+ [![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/truemagic-coder/solana-agent)](https://libraries.io/pypi/solana-agent)
34
35
 
35
36
  ![Solana Agent Logo](https://dl.walletbubbles.com/solana-agent-logo.png?width=200)
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
- * Deployed by [CometHeart](https://cometheart.com) & [WalletBubbles](https://walletbubbles.com)
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 Search to answer your queries
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
@@ -69,7 +71,7 @@ Build your AI business in three lines of code!
69
71
  ## Stack
70
72
 
71
73
  * [Python](https://python.org) - Programming Language
72
- * [OpenAI](https://openai.com) - LLMs
74
+ * [OpenAI](https://openai.com) - LLM Provider
73
75
  * [MongoDB](https://mongodb.com) - Conversational History (optional)
74
76
  * [Zep Cloud](https://getzep.com) - Conversational Memory (optional)
75
77
 
@@ -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 Audio Voice
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="")
@@ -267,7 +279,7 @@ Tools can be used from plugins like Solana Agent Kit (sakit) or via custom inlin
267
279
  * Tools do not use OpenAI function calling
268
280
  * Tools are async functions
269
281
 
270
- ### Tool Usage Example
282
+ ### Tool Example
271
283
 
272
284
  `pip install sakit`
273
285
 
@@ -479,3 +491,111 @@ The official example app written in FastAPI and Next.js
479
491
 
480
492
  This project is licensed under the MIT License - see the LICENSE file for details.
481
493
 
494
+ ## Agent Framework Comparisons
495
+
496
+ ### Solana Agent vs OpenAI Agents SDK
497
+
498
+ | Feature | Solana Agent | OpenAI Agents SDK |
499
+ |------------------------|-----------------------------------------------|-----------------------------------------------|
500
+ | **Architecture** | Service-oriented with query routing | Agent-based with explicit handoffs |
501
+ | **Configuration** | JSON-based config with minimal code | Python code-based agent definitions |
502
+ | **Multi-Agent** | Automatic specialization routing | Direct agent-to-agent handoffs |
503
+ | **Memory** | Integrated MongoDB/Zep persistence | In-context memory within message history |
504
+ | **Multi-Modal** | Full audio/text streaming built-in | Optional voice support via add-on package |
505
+ | **Model Support** | Currently OpenAI focused | Any provider with OpenAI-compatible API |
506
+ | **Tool Integration** | Class-based tools with registry | Function decorators with `@function_tool` |
507
+ | **Debugging** | Standard logging | Advanced tracing with visualization |
508
+ | **Safety** | Basic error handling | Configurable guardrails for I/O validation |
509
+ | **Output Handling** | Streaming yield pattern | Structured output types with validation |
510
+ | **Business Focus** | Business mission/values framework | General purpose agent framework |
511
+
512
+ ---
513
+
514
+ ### Solana Agent vs LangGraph
515
+
516
+ | Feature | Solana Agent | LangGraph |
517
+ |------------------------|-----------------------------------------------|-----------------------------------------------|
518
+ | **Architecture** | Service-oriented with agents | Graph-based state machine |
519
+ | **Workflow Design** | Implicit routing by specialization | Explicit node connections and state transitions |
520
+ | **Learning Curve** | Simple setup with config objects | Steeper with graph concepts and states |
521
+ | **Streaming** | Native streaming for all I/O | Requires additional configuration |
522
+ | **Visualization** | None built-in | Graph visualization of agent workflows |
523
+ | **State Management** | Implicit state via memory | Explicit state transitions and persistence |
524
+ | **Integration** | Standalone framework | Part of LangChain ecosystem |
525
+ | **Flexibility** | Fixed routing paradigm | Highly customizable flow control |
526
+
527
+ ---
528
+
529
+ ### Solana Agent vs CrewAI
530
+
531
+ | Feature | Solana Agent | CrewAI |
532
+ |------------------------|-----------------------------------------------|-----------------------------------------------|
533
+ | **Multi-Agent Design** | Specialist agents with router | Agent crews with explicit roles |
534
+ | **Agent Interaction** | Query router determines agent | Direct agent-to-agent delegation |
535
+ | **Configuration** | JSON-based configuration | Python class-based agent definitions |
536
+ | **Task Structure** | Query-based interactions | Task-based with goals and workflows |
537
+ | **Memory Sharing** | Shared memory store | Agent-specific memories |
538
+ | **Human Interaction** | Built for direct human queries | Designed for autonomous operation |
539
+ | **Streaming** | Native streaming support | Limited streaming support |
540
+ | **Team Dynamics** | Flat specialist structure | Hierarchical with managers and workers |
541
+
542
+ ---
543
+
544
+ ### Solana Agent vs PydanticAI
545
+
546
+ | Feature | Solana Agent | PydanticAI |
547
+ |------------------------|-----------------------------------------------|---------------------------------------------|
548
+ | **Multi-Modal** | Full audio/text streaming built-in | Text output only, input depends on LLM |
549
+ | **Memory** | Built-in conversation history | Not included |
550
+ | **Multi-Agent** | First-class multi-agent support | Single agent focus with composition patterns|
551
+ | **Tool Creation** | Python classes with execute method | Function decorators with schema |
552
+ | **Model Support** | Currently OpenAI focused | Integrates with many LLMs |
553
+ | **Debugging** | Standard logging | Pydantic Logfire integration |
554
+ | **Flow Control** | Implicit routing | Python control flow with graph support |
555
+
556
+ ---
557
+
558
+ ### When to Use Each Framework
559
+
560
+ #### Choose **Solana Agent** when:
561
+ - You need a simple, quick-to-deploy agent system.
562
+ - Multi-modal support (text/audio) is essential.
563
+ - You want automatic routing between specialized agents.
564
+ - Business mission alignment is important.
565
+ - You prefer configuration over code.
566
+ - Persistent memory across conversations is needed.
567
+ - You want streaming responses out of the box.
568
+
569
+ #### Choose **OpenAI Agents SDK** when:
570
+ - You need detailed tracing for debugging complex agent workflows.
571
+ - You want explicit control over agent handoffs.
572
+ - Your architecture requires structured output validation.
573
+ - You're using multiple LLM providers with OpenAI-compatible APIs.
574
+ - You need configurable guardrails for safety.
575
+ - You prefer a code-first approach to agent definition.
576
+
577
+ #### Choose **LangGraph** when:
578
+ - You need complex, multi-step workflows with branching logic.
579
+ - Your use case requires explicit state management.
580
+ - You want to visualize the flow of your agent system.
581
+ - You're already in the LangChain ecosystem.
582
+ - You need fine-grained control over agent decision paths.
583
+ - Your application has complex conditional flows.
584
+ - You want to model your agent system as a state machine.
585
+
586
+ #### Choose **CrewAI** when:
587
+ - You need agents to work together with minimal human input.
588
+ - Your use case involves complex team collaboration.
589
+ - You need hierarchical task delegation between agents.
590
+ - You want agents with specific roles and responsibilities.
591
+ - Your application requires autonomous operation.
592
+ - You need explicit agent-to-agent communication.
593
+ - Your workflow involves complex multi-step tasks.
594
+
595
+ #### Choose **PydanticAI** when:
596
+ - You want to use multiple LLM providers in one codebase.
597
+ - You need real-time debugging and monitoring of agent behavior.
598
+ - You require structured responses with validation guarantees.
599
+ - Your application needs dependency injection for easier testing.
600
+ - You want to leverage your existing Pydantic knowledge.
601
+ - You need both simple control flow and complex graph capabilities.
@@ -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.6.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
33
- solana_agent-22.0.6.dist-info/METADATA,sha256=TTSOlQ4oTi2lhOsJ9i_eVoHkz3We63p5gE4umyPaVwc,14505
34
- solana_agent-22.0.6.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
35
- solana_agent-22.0.6.dist-info/RECORD,,
32
+ solana_agent-22.0.8.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
33
+ solana_agent-22.0.8.dist-info/METADATA,sha256=vOxA88MO2CxulEn1VYPiuU368AUpI00EYyJ99x48jF4,22230
34
+ solana_agent-22.0.8.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
35
+ solana_agent-22.0.8.dist-info/RECORD,,