solana-agent 23.0.0__tar.gz → 23.0.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.
Files changed (35) hide show
  1. {solana_agent-23.0.0 → solana_agent-23.0.1}/PKG-INFO +57 -4
  2. {solana_agent-23.0.0 → solana_agent-23.0.1}/README.md +56 -3
  3. {solana_agent-23.0.0 → solana_agent-23.0.1}/pyproject.toml +1 -1
  4. {solana_agent-23.0.0 → solana_agent-23.0.1}/LICENSE +0 -0
  5. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/__init__.py +0 -0
  6. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/adapters/__init__.py +0 -0
  7. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/adapters/llm_adapter.py +0 -0
  8. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/adapters/mongodb_adapter.py +0 -0
  9. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/client/__init__.py +0 -0
  10. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/client/solana_agent.py +0 -0
  11. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/domains/__init__.py +0 -0
  12. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/domains/agent.py +0 -0
  13. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/domains/routing.py +0 -0
  14. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/factories/__init__.py +0 -0
  15. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/factories/agent_factory.py +0 -0
  16. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/interfaces/__init__.py +0 -0
  17. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/interfaces/client/client.py +0 -0
  18. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/interfaces/plugins/plugins.py +0 -0
  19. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/interfaces/providers/data_storage.py +0 -0
  20. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/interfaces/providers/llm.py +0 -0
  21. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/interfaces/providers/memory.py +0 -0
  22. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/interfaces/services/agent.py +0 -0
  23. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/interfaces/services/query.py +0 -0
  24. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/interfaces/services/routing.py +0 -0
  25. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/plugins/__init__.py +0 -0
  26. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/plugins/manager.py +0 -0
  27. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/plugins/registry.py +0 -0
  28. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/plugins/tools/__init__.py +0 -0
  29. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/plugins/tools/auto_tool.py +0 -0
  30. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/repositories/__init__.py +0 -0
  31. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/repositories/memory.py +0 -0
  32. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/services/__init__.py +0 -0
  33. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/services/agent.py +0 -0
  34. {solana_agent-23.0.0 → solana_agent-23.0.1}/solana_agent/services/query.py +0 -0
  35. {solana_agent-23.0.0 → solana_agent-23.0.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: 23.0.0
3
+ Version: 23.0.1
4
4
  Summary: Agentic IQ
5
5
  License: MIT
6
6
  Keywords: ai,openai,ai agents,agi
@@ -81,6 +81,47 @@ You can install Solana Agent using pip:
81
81
 
82
82
  `pip install solana-agent`
83
83
 
84
+ ## Flows
85
+
86
+ In both flows of single and multiple agents - it is one user query to one agent using one tool (if needed).
87
+
88
+ An agent can have multiple tools and will choose the best one to answer the user query.
89
+
90
+ Routing is determined by optimal domain expertise of the agent for the user query.
91
+
92
+ Keep this in mind while designing your agentic systems using Solana Agent.
93
+
94
+ ```ascii
95
+ Single Agent
96
+
97
+ ┌────────┐ ┌─────────┐ ┌────────┐
98
+ │ │ │ │ │ │
99
+ │ │ │ │ │ │
100
+ │ User │◄──────►│ Agent │◄──────►│ Tool │
101
+ │ │ │ │ │ │
102
+ │ │ │ │ │ │
103
+ └────────┘ └─────────┘ └────────┘
104
+
105
+
106
+
107
+
108
+
109
+ Multiple Agents
110
+
111
+ ┌────────┐ ┌──────────┐ ┌─────────┐ ┌────────┐
112
+ │ │ │ │ │ │ │ │
113
+ │ │ │ │ │ │ │ │
114
+ ┌───►│ User ├───────►│ Router ├───────►│ Agent │◄──────►│ Tool │
115
+ │ │ │ │ │ │ │ │ │
116
+ │ │ │ │ │ │ │ │ │
117
+ │ └────────┘ └──────────┘ └────┬────┘ └────────┘
118
+ │ │
119
+ │ │
120
+ │ │
121
+ │ │
122
+ └───────────────────────────────────────────────┘
123
+ ```
124
+
84
125
  ## Usage
85
126
 
86
127
  ### Text/Text Streaming
@@ -252,10 +293,10 @@ However, it is also found to sometimes not not call tools when the tool should b
252
293
 
253
294
  It is faster than calling `search_internet` from `sakit` and saves at least 2 API calls.
254
295
 
255
- The default mode is disabled due to the issue of not calling tools properly.
296
+ The default mode is disabled due to the issue of not calling tools properly and is not suitable for audio output.
256
297
 
257
298
  ```python
258
- async for response in solana_agent.process("user123", "Write me a poem.", internet_search=True):
299
+ async for response in solana_agent.process("user123", "What is the latest news on Canada?", internet_search=True):
259
300
  print(response, end="")
260
301
  ```
261
302
 
@@ -498,7 +539,19 @@ The official example app written in FastAPI and Next.js
498
539
 
499
540
  ## Agent Framework Comparisons
500
541
 
501
- [Compare Python Agent Frameworks](https://github.com/truemagic-coder/solana-agent/blob/main/compare.md)
542
+ [Compare Python Agent Frameworks](https://github.com/truemagic-coder/solana-agent/wiki/Agent-Framework-Comparisons)
543
+
544
+ ## Contributing
545
+
546
+ If you have a question, feedback, or feature request - please open a GitHub discussion.
547
+
548
+ If you find a bug - please open a GitHub issue.
549
+
550
+ We are currently not accepting pull requests at the moment.
551
+
552
+ To run the documentation site locally run `make livehtml` in the root directory.
553
+
554
+ To run the test suite locally run `poetry run pytest --cov=solana_agent --cov-report=html` in the root directory.
502
555
 
503
556
  ## License
504
557
 
@@ -57,6 +57,47 @@ You can install Solana Agent using pip:
57
57
 
58
58
  `pip install solana-agent`
59
59
 
60
+ ## Flows
61
+
62
+ In both flows of single and multiple agents - it is one user query to one agent using one tool (if needed).
63
+
64
+ An agent can have multiple tools and will choose the best one to answer the user query.
65
+
66
+ Routing is determined by optimal domain expertise of the agent for the user query.
67
+
68
+ Keep this in mind while designing your agentic systems using Solana Agent.
69
+
70
+ ```ascii
71
+ Single Agent
72
+
73
+ ┌────────┐ ┌─────────┐ ┌────────┐
74
+ │ │ │ │ │ │
75
+ │ │ │ │ │ │
76
+ │ User │◄──────►│ Agent │◄──────►│ Tool │
77
+ │ │ │ │ │ │
78
+ │ │ │ │ │ │
79
+ └────────┘ └─────────┘ └────────┘
80
+
81
+
82
+
83
+
84
+
85
+ Multiple Agents
86
+
87
+ ┌────────┐ ┌──────────┐ ┌─────────┐ ┌────────┐
88
+ │ │ │ │ │ │ │ │
89
+ │ │ │ │ │ │ │ │
90
+ ┌───►│ User ├───────►│ Router ├───────►│ Agent │◄──────►│ Tool │
91
+ │ │ │ │ │ │ │ │ │
92
+ │ │ │ │ │ │ │ │ │
93
+ │ └────────┘ └──────────┘ └────┬────┘ └────────┘
94
+ │ │
95
+ │ │
96
+ │ │
97
+ │ │
98
+ └───────────────────────────────────────────────┘
99
+ ```
100
+
60
101
  ## Usage
61
102
 
62
103
  ### Text/Text Streaming
@@ -228,10 +269,10 @@ However, it is also found to sometimes not not call tools when the tool should b
228
269
 
229
270
  It is faster than calling `search_internet` from `sakit` and saves at least 2 API calls.
230
271
 
231
- The default mode is disabled due to the issue of not calling tools properly.
272
+ The default mode is disabled due to the issue of not calling tools properly and is not suitable for audio output.
232
273
 
233
274
  ```python
234
- async for response in solana_agent.process("user123", "Write me a poem.", internet_search=True):
275
+ async for response in solana_agent.process("user123", "What is the latest news on Canada?", internet_search=True):
235
276
  print(response, end="")
236
277
  ```
237
278
 
@@ -474,7 +515,19 @@ The official example app written in FastAPI and Next.js
474
515
 
475
516
  ## Agent Framework Comparisons
476
517
 
477
- [Compare Python Agent Frameworks](https://github.com/truemagic-coder/solana-agent/blob/main/compare.md)
518
+ [Compare Python Agent Frameworks](https://github.com/truemagic-coder/solana-agent/wiki/Agent-Framework-Comparisons)
519
+
520
+ ## Contributing
521
+
522
+ If you have a question, feedback, or feature request - please open a GitHub discussion.
523
+
524
+ If you find a bug - please open a GitHub issue.
525
+
526
+ We are currently not accepting pull requests at the moment.
527
+
528
+ To run the documentation site locally run `make livehtml` in the root directory.
529
+
530
+ To run the test suite locally run `poetry run pytest --cov=solana_agent --cov-report=html` in the root directory.
478
531
 
479
532
  ## License
480
533
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "solana-agent"
3
- version = "23.0.0"
3
+ version = "23.0.1"
4
4
  description = "Agentic IQ"
5
5
  authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
6
6
  license = "MIT"
File without changes