solana-agent 23.0.0__py3-none-any.whl → 23.0.1__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-23.0.0.dist-info → solana_agent-23.0.1.dist-info}/METADATA +57 -4
- {solana_agent-23.0.0.dist-info → solana_agent-23.0.1.dist-info}/RECORD +4 -4
- {solana_agent-23.0.0.dist-info → solana_agent-23.0.1.dist-info}/LICENSE +0 -0
- {solana_agent-23.0.0.dist-info → solana_agent-23.0.1.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: solana-agent
|
3
|
-
Version: 23.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", "
|
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/
|
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
|
|
@@ -29,7 +29,7 @@ solana_agent/services/__init__.py,sha256=ab_NXJmwYUCmCrCzuTlZ47bJZINW0Y0F5jfQ9Oo
|
|
29
29
|
solana_agent/services/agent.py,sha256=-u2rtu6w_0BQoHPFU3GdLuZLinQzQ0cpktOUsCRcbUU,20048
|
30
30
|
solana_agent/services/query.py,sha256=6K5RcxoHXaKMvxmDPo_WInRYtjOKJ8In4BgdLhzc_98,11363
|
31
31
|
solana_agent/services/routing.py,sha256=PMCSG5m3uLMaHMj3dxNvNfcFZaeaDi7kMr7AEBCzwDE,6499
|
32
|
-
solana_agent-23.0.
|
33
|
-
solana_agent-23.0.
|
34
|
-
solana_agent-23.0.
|
35
|
-
solana_agent-23.0.
|
32
|
+
solana_agent-23.0.1.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
33
|
+
solana_agent-23.0.1.dist-info/METADATA,sha256=oO8da4rHmMhyjE2Pa5Nnkn46a_0qy-UqkgfDOObHtDY,19014
|
34
|
+
solana_agent-23.0.1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
35
|
+
solana_agent-23.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|