solana-agent 22.0.0__tar.gz → 22.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-22.0.0 → solana_agent-22.0.1}/PKG-INFO +52 -9
  2. {solana_agent-22.0.0 → solana_agent-22.0.1}/README.md +51 -8
  3. {solana_agent-22.0.0 → solana_agent-22.0.1}/pyproject.toml +1 -1
  4. {solana_agent-22.0.0 → solana_agent-22.0.1}/LICENSE +0 -0
  5. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/__init__.py +0 -0
  6. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/adapters/__init__.py +0 -0
  7. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/adapters/llm_adapter.py +0 -0
  8. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/adapters/mongodb_adapter.py +0 -0
  9. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/client/__init__.py +0 -0
  10. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/client/solana_agent.py +0 -0
  11. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/domains/__init__.py +0 -0
  12. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/domains/agent.py +0 -0
  13. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/domains/routing.py +0 -0
  14. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/factories/__init__.py +0 -0
  15. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/factories/agent_factory.py +0 -0
  16. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/interfaces/__init__.py +0 -0
  17. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/interfaces/client/client.py +0 -0
  18. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/interfaces/plugins/plugins.py +0 -0
  19. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/interfaces/providers/data_storage.py +0 -0
  20. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/interfaces/providers/llm.py +0 -0
  21. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/interfaces/providers/memory.py +0 -0
  22. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/interfaces/services/agent.py +0 -0
  23. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/interfaces/services/query.py +0 -0
  24. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/interfaces/services/routing.py +0 -0
  25. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/plugins/__init__.py +0 -0
  26. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/plugins/manager.py +0 -0
  27. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/plugins/registry.py +0 -0
  28. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/plugins/tools/__init__.py +0 -0
  29. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/plugins/tools/auto_tool.py +0 -0
  30. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/repositories/__init__.py +0 -0
  31. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/repositories/memory.py +0 -0
  32. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/services/__init__.py +0 -0
  33. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/services/agent.py +0 -0
  34. {solana_agent-22.0.0 → solana_agent-22.0.1}/solana_agent/services/query.py +0 -0
  35. {solana_agent-22.0.0 → solana_agent-22.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: 22.0.0
3
+ Version: 22.0.1
4
4
  Summary: Agentic IQ
5
5
  License: MIT
6
6
  Keywords: ai,openai,ai agents,agi
@@ -49,7 +49,6 @@ Build your AI business in three lines of code!
49
49
  * Extensible Tooling
50
50
  * Simple Business Definition
51
51
  * Tested & Secure
52
- * Support for MCP Servers
53
52
  * Built in Python
54
53
  * Deployed by [CometHeart](https://cometheart.com) & [WalletBubbles](https://walletbubbles.com)
55
54
 
@@ -66,7 +65,6 @@ Build your AI business in three lines of code!
66
65
  * Powerful tool integration using standard Python packages and/or inline tools
67
66
  * Assigned tools are utilized by agents automatically and effectively
68
67
  * Simple business definition using JSON
69
- * Ability to access any MCP server via URL
70
68
 
71
69
  ## Stack
72
70
 
@@ -251,9 +249,50 @@ async for response in solana_agent.process("user123", "Write me a poem.", intern
251
249
  print(response, end="")
252
250
  ```
253
251
 
254
- ## Advanced
252
+ ## Tools
255
253
 
256
- ### Custom Inline Tools
254
+ 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.
255
+
256
+ ### Plugin Usage Example
257
+
258
+ `pip install sakit`
259
+
260
+ ```python
261
+ from solana_agent import SolanaAgent
262
+
263
+ config = {
264
+ "openai": {
265
+ "api_key": "your-openai-api-key",
266
+ },
267
+ "tools": {
268
+ "search_internet": {
269
+ "api_key": "your-perplexity-key", # Required
270
+ "citations": True, # Optional, defaults to True
271
+ "model": "sonar" # Optional, defaults to "sonar"
272
+ },
273
+ },
274
+ "agents": [
275
+ {
276
+ "name": "research_specialist",
277
+ "instructions": "You are an expert researcher who synthesizes complex information clearly.",
278
+ "specialization": "Research and knowledge synthesis",
279
+ "tools": ["search_internet"],
280
+ },
281
+ {
282
+ "name": "customer_support",
283
+ "instructions": "You provide friendly, helpful customer support responses.",
284
+ "specialization": "Customer inquiries",
285
+ }
286
+ ],
287
+ }
288
+
289
+ solana_agent = SolanaAgent(config=config)
290
+
291
+ async for response in solana_agent.process("user123", "What are the latest AI developments?", internet_search=False):
292
+ print(response, end="")
293
+ ```
294
+
295
+ ### Custom Inline Tool Example
257
296
 
258
297
  ```python
259
298
  from solana_agent import SolanaAgent
@@ -333,9 +372,11 @@ async for response in solana_agent.process("user123", "What are the latest AI de
333
372
  print(response, end="")
334
373
  ```
335
374
 
336
- ### Custom Prompt Injection at Runtime
375
+ ## Training your Agents
337
376
 
338
- Useful for Knowledge Base answers and FAQs
377
+ Many use-cases for Solana Agent require training your agents on your company data.
378
+
379
+ This can be accomplished via runtime prompt injection. Integrations that work well with this method are KBs like Pinecone and FAQs.
339
380
 
340
381
  ```python
341
382
  from solana_agent import SolanaAgent
@@ -360,11 +401,13 @@ config = {
360
401
 
361
402
  solana_agent = SolanaAgent(config=config)
362
403
 
363
- async for response in solana_agent.process("user123", "What are the latest AI developments?", "Always end your sentences with eh?"):
404
+ async for response in solana_agent.process("user123", "What are the latest AI developments?", "This is my FAQ"):
364
405
  print(response, end="")
365
406
  ```
366
407
 
367
- ### Custom Routing
408
+ ## Custom Routing
409
+
410
+ In advanced cases like implementing a ticketing system on-top of Solana Agent - you can use your own router.
368
411
 
369
412
  ```python
370
413
  from solana_agent import SolanaAgent
@@ -25,7 +25,6 @@ Build your AI business in three lines of code!
25
25
  * Extensible Tooling
26
26
  * Simple Business Definition
27
27
  * Tested & Secure
28
- * Support for MCP Servers
29
28
  * Built in Python
30
29
  * Deployed by [CometHeart](https://cometheart.com) & [WalletBubbles](https://walletbubbles.com)
31
30
 
@@ -42,7 +41,6 @@ Build your AI business in three lines of code!
42
41
  * Powerful tool integration using standard Python packages and/or inline tools
43
42
  * Assigned tools are utilized by agents automatically and effectively
44
43
  * Simple business definition using JSON
45
- * Ability to access any MCP server via URL
46
44
 
47
45
  ## Stack
48
46
 
@@ -227,9 +225,50 @@ async for response in solana_agent.process("user123", "Write me a poem.", intern
227
225
  print(response, end="")
228
226
  ```
229
227
 
230
- ## Advanced
228
+ ## Tools
231
229
 
232
- ### Custom Inline Tools
230
+ 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.
231
+
232
+ ### Plugin Usage Example
233
+
234
+ `pip install sakit`
235
+
236
+ ```python
237
+ from solana_agent import SolanaAgent
238
+
239
+ config = {
240
+ "openai": {
241
+ "api_key": "your-openai-api-key",
242
+ },
243
+ "tools": {
244
+ "search_internet": {
245
+ "api_key": "your-perplexity-key", # Required
246
+ "citations": True, # Optional, defaults to True
247
+ "model": "sonar" # Optional, defaults to "sonar"
248
+ },
249
+ },
250
+ "agents": [
251
+ {
252
+ "name": "research_specialist",
253
+ "instructions": "You are an expert researcher who synthesizes complex information clearly.",
254
+ "specialization": "Research and knowledge synthesis",
255
+ "tools": ["search_internet"],
256
+ },
257
+ {
258
+ "name": "customer_support",
259
+ "instructions": "You provide friendly, helpful customer support responses.",
260
+ "specialization": "Customer inquiries",
261
+ }
262
+ ],
263
+ }
264
+
265
+ solana_agent = SolanaAgent(config=config)
266
+
267
+ async for response in solana_agent.process("user123", "What are the latest AI developments?", internet_search=False):
268
+ print(response, end="")
269
+ ```
270
+
271
+ ### Custom Inline Tool Example
233
272
 
234
273
  ```python
235
274
  from solana_agent import SolanaAgent
@@ -309,9 +348,11 @@ async for response in solana_agent.process("user123", "What are the latest AI de
309
348
  print(response, end="")
310
349
  ```
311
350
 
312
- ### Custom Prompt Injection at Runtime
351
+ ## Training your Agents
313
352
 
314
- Useful for Knowledge Base answers and FAQs
353
+ Many use-cases for Solana Agent require training your agents on your company data.
354
+
355
+ This can be accomplished via runtime prompt injection. Integrations that work well with this method are KBs like Pinecone and FAQs.
315
356
 
316
357
  ```python
317
358
  from solana_agent import SolanaAgent
@@ -336,11 +377,13 @@ config = {
336
377
 
337
378
  solana_agent = SolanaAgent(config=config)
338
379
 
339
- async for response in solana_agent.process("user123", "What are the latest AI developments?", "Always end your sentences with eh?"):
380
+ async for response in solana_agent.process("user123", "What are the latest AI developments?", "This is my FAQ"):
340
381
  print(response, end="")
341
382
  ```
342
383
 
343
- ### Custom Routing
384
+ ## Custom Routing
385
+
386
+ In advanced cases like implementing a ticketing system on-top of Solana Agent - you can use your own router.
344
387
 
345
388
  ```python
346
389
  from solana_agent import SolanaAgent
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "solana-agent"
3
- version = "22.0.0"
3
+ version = "22.0.1"
4
4
  description = "Agentic IQ"
5
5
  authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
6
6
  license = "MIT"
File without changes