solana-agent 19.0.0__tar.gz → 19.0.2__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.
Files changed (35) hide show
  1. {solana_agent-19.0.0 → solana_agent-19.0.2}/PKG-INFO +19 -24
  2. {solana_agent-19.0.0 → solana_agent-19.0.2}/README.md +18 -23
  3. {solana_agent-19.0.0 → solana_agent-19.0.2}/pyproject.toml +1 -1
  4. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/services/agent.py +5 -2
  5. {solana_agent-19.0.0 → solana_agent-19.0.2}/LICENSE +0 -0
  6. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/__init__.py +0 -0
  7. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/adapters/__init__.py +0 -0
  8. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/adapters/llm_adapter.py +0 -0
  9. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/adapters/mongodb_adapter.py +0 -0
  10. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/client/__init__.py +0 -0
  11. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/client/solana_agent.py +0 -0
  12. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/domains/__init__.py +0 -0
  13. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/domains/agent.py +0 -0
  14. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/domains/routing.py +0 -0
  15. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/factories/__init__.py +0 -0
  16. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/factories/agent_factory.py +0 -0
  17. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/interfaces/__init__.py +0 -0
  18. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/interfaces/client/client.py +0 -0
  19. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/interfaces/plugins/plugins.py +0 -0
  20. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/interfaces/providers/data_storage.py +0 -0
  21. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/interfaces/providers/llm.py +0 -0
  22. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/interfaces/providers/memory.py +0 -0
  23. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/interfaces/services/agent.py +0 -0
  24. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/interfaces/services/query.py +0 -0
  25. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/interfaces/services/routing.py +0 -0
  26. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/plugins/__init__.py +0 -0
  27. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/plugins/manager.py +0 -0
  28. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/plugins/registry.py +0 -0
  29. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/plugins/tools/__init__.py +0 -0
  30. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/plugins/tools/auto_tool.py +0 -0
  31. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/repositories/__init__.py +0 -0
  32. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/repositories/memory.py +0 -0
  33. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/services/__init__.py +0 -0
  34. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/services/query.py +0 -0
  35. {solana_agent-19.0.0 → solana_agent-19.0.2}/solana_agent/services/routing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: solana-agent
3
- Version: 19.0.0
3
+ Version: 19.0.2
4
4
  Summary: Agentic IQ
5
5
  License: MIT
6
6
  Keywords: ai,openai,ai agents,agi
@@ -35,41 +35,36 @@ Description-Content-Type: text/markdown
35
35
 
36
36
  ## Agentic IQ
37
37
 
38
- Power your business using Solana Agent!
38
+ Build your AI business in three lines of code!
39
39
 
40
- * **Brand:** AI agents will speak in your brand voice
41
- * **Expert:** The AI agent with the most expertise will answer your users' inquiries
42
- * **Extend:** Assign tools for your AI agents to perform actions
40
+ ## Why?
41
+ * Three lines of code required
42
+ * Multi-Modal Streaming
43
+ * Conversational Memory & History
44
+ * Intelligent Routing
45
+ * Business Alignment
46
+ * Extensible Tooling
47
+ * Simple Business Definition
48
+ * Tested & Secure
49
+ * Built in Python
50
+ * Deployed by [CometHeart](https://cometheart.com) & [WalletBubbles](https://walletbubbles.com)
43
51
 
44
52
  ## Features
45
53
 
46
54
  * Seamless text and audio streaming with real-time multi-modal processing
47
- * Persistent memory that preserves context across all agent interactions (optional)
55
+ * Persistent memory that preserves context across all agent interactions
56
+ * Streamlined message history for all agent interactions
48
57
  * Intelligent query routing to agents with optimal domain expertise
49
58
  * Unified value system ensuring brand-aligned agent responses
50
59
  * Powerful tool integration using standard Python packages and/or inline classes
51
60
  * Assigned tools are utilized by agents automatically and effectively
52
61
  * Simple business definition using JSON
53
62
 
54
- ## Why?
55
- * Multi-Modal Streaming
56
- * Conversational Memory
57
- * Intelligent Routing
58
- * Business Alignment
59
- * Extensible Tooling
60
- * Simple Business Definition
61
- * Built using OOP & SOLID in Python - the language of AI
62
- * Batteries Included
63
- * Small Library: ~2,000 LOC of code & ~1,200 LOC of tests
64
- * Few Dependencies
65
- * Well Tested
66
- * Used in production by [CometHeart](https://cometheart.com) and [WalletBubbles](https://walletbubbles.com)
67
-
68
63
  ## Stack
69
64
 
70
65
  * [Python](https://python.org) - Programming Language
71
66
  * [OpenAI](https://openai.com) - LLMs
72
- * [MongoDB](https://mongodb.com) - Database
67
+ * [MongoDB](https://mongodb.com) - Conversational History
73
68
  * [Zep](https://getzep.com) - Conversational Memory (optional)
74
69
 
75
70
  ## Installation
@@ -84,7 +79,7 @@ You can install Solana Agent using pip:
84
79
  from solana_agent import SolanaAgent
85
80
 
86
81
  config = {
87
- "business": {
82
+ "business": { # optional
88
83
  "mission": "To provide users with a one-stop shop for their queries.",
89
84
  "values": {
90
85
  "Friendliness": "Users must be treated fairly, openly, and with friendliness.",
@@ -136,7 +131,7 @@ Plugins like Solana Agent Kit (sakit) integrate automatically with Solana Agent.
136
131
  from solana_agent import SolanaAgent
137
132
 
138
133
  config = {
139
- "business": {
134
+ "business": { # optional
140
135
  "mission": "To provide users with a one-stop shop for their queries.",
141
136
  "values": {
142
137
  "Friendliness": "Users must be treated fairly, openly, and with friendliness.",
@@ -241,7 +236,7 @@ class TestTool(Tool):
241
236
  }
242
237
 
243
238
  config = {
244
- "business": {
239
+ "business": { # optional
245
240
  "mission": "To provide users with a one-stop shop for their queries.",
246
241
  "values": {
247
242
  "Friendliness": "Users must be treated fairly, openly, and with friendliness.",
@@ -12,41 +12,36 @@
12
12
 
13
13
  ## Agentic IQ
14
14
 
15
- Power your business using Solana Agent!
15
+ Build your AI business in three lines of code!
16
16
 
17
- * **Brand:** AI agents will speak in your brand voice
18
- * **Expert:** The AI agent with the most expertise will answer your users' inquiries
19
- * **Extend:** Assign tools for your AI agents to perform actions
17
+ ## Why?
18
+ * Three lines of code required
19
+ * Multi-Modal Streaming
20
+ * Conversational Memory & History
21
+ * Intelligent Routing
22
+ * Business Alignment
23
+ * Extensible Tooling
24
+ * Simple Business Definition
25
+ * Tested & Secure
26
+ * Built in Python
27
+ * Deployed by [CometHeart](https://cometheart.com) & [WalletBubbles](https://walletbubbles.com)
20
28
 
21
29
  ## Features
22
30
 
23
31
  * Seamless text and audio streaming with real-time multi-modal processing
24
- * Persistent memory that preserves context across all agent interactions (optional)
32
+ * Persistent memory that preserves context across all agent interactions
33
+ * Streamlined message history for all agent interactions
25
34
  * Intelligent query routing to agents with optimal domain expertise
26
35
  * Unified value system ensuring brand-aligned agent responses
27
36
  * Powerful tool integration using standard Python packages and/or inline classes
28
37
  * Assigned tools are utilized by agents automatically and effectively
29
38
  * Simple business definition using JSON
30
39
 
31
- ## Why?
32
- * Multi-Modal Streaming
33
- * Conversational Memory
34
- * Intelligent Routing
35
- * Business Alignment
36
- * Extensible Tooling
37
- * Simple Business Definition
38
- * Built using OOP & SOLID in Python - the language of AI
39
- * Batteries Included
40
- * Small Library: ~2,000 LOC of code & ~1,200 LOC of tests
41
- * Few Dependencies
42
- * Well Tested
43
- * Used in production by [CometHeart](https://cometheart.com) and [WalletBubbles](https://walletbubbles.com)
44
-
45
40
  ## Stack
46
41
 
47
42
  * [Python](https://python.org) - Programming Language
48
43
  * [OpenAI](https://openai.com) - LLMs
49
- * [MongoDB](https://mongodb.com) - Database
44
+ * [MongoDB](https://mongodb.com) - Conversational History
50
45
  * [Zep](https://getzep.com) - Conversational Memory (optional)
51
46
 
52
47
  ## Installation
@@ -61,7 +56,7 @@ You can install Solana Agent using pip:
61
56
  from solana_agent import SolanaAgent
62
57
 
63
58
  config = {
64
- "business": {
59
+ "business": { # optional
65
60
  "mission": "To provide users with a one-stop shop for their queries.",
66
61
  "values": {
67
62
  "Friendliness": "Users must be treated fairly, openly, and with friendliness.",
@@ -113,7 +108,7 @@ Plugins like Solana Agent Kit (sakit) integrate automatically with Solana Agent.
113
108
  from solana_agent import SolanaAgent
114
109
 
115
110
  config = {
116
- "business": {
111
+ "business": { # optional
117
112
  "mission": "To provide users with a one-stop shop for their queries.",
118
113
  "values": {
119
114
  "Friendliness": "Users must be treated fairly, openly, and with friendliness.",
@@ -218,7 +213,7 @@ class TestTool(Tool):
218
213
  }
219
214
 
220
215
  config = {
221
- "business": {
216
+ "business": { # optional
222
217
  "mission": "To provide users with a one-stop shop for their queries.",
223
218
  "values": {
224
219
  "Friendliness": "Users must be treated fairly, openly, and with friendliness.",
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "solana-agent"
3
- version = "19.0.0"
3
+ version = "19.0.2"
4
4
  description = "Agentic IQ"
5
5
  authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
6
6
  license = "MIT"
@@ -267,13 +267,16 @@ class AgentService(AgentServiceInterface):
267
267
  json_chunk=json_buffer
268
268
  )
269
269
 
270
- system_prompt = self.get_agent_system_prompt(agent_name) + \
270
+ system_prompt = system_prompt + \
271
271
  "\n DO NOT make any tool calls or return JSON."
272
272
 
273
+ user_prompt = f"\n USER QUERY: {query_text} \n"
274
+ user_prompt += f"\n TOOL RESPONSE: {response_text} \n"
275
+
273
276
  # Collect all processed text first
274
277
  processed_text = ""
275
278
  async for processed_chunk in self.llm_provider.generate_text(
276
- prompt=response_text,
279
+ prompt=user_prompt,
277
280
  system_prompt=system_prompt,
278
281
  ):
279
282
  processed_text += processed_chunk
File without changes