solana-agent 22.0.4__tar.gz → 22.0.6__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.4 → solana_agent-22.0.6}/PKG-INFO +14 -24
  2. {solana_agent-22.0.4 → solana_agent-22.0.6}/README.md +13 -23
  3. {solana_agent-22.0.4 → solana_agent-22.0.6}/pyproject.toml +1 -1
  4. {solana_agent-22.0.4 → solana_agent-22.0.6}/LICENSE +0 -0
  5. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/__init__.py +0 -0
  6. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/adapters/__init__.py +0 -0
  7. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/adapters/llm_adapter.py +0 -0
  8. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/adapters/mongodb_adapter.py +0 -0
  9. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/client/__init__.py +0 -0
  10. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/client/solana_agent.py +0 -0
  11. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/domains/__init__.py +0 -0
  12. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/domains/agent.py +0 -0
  13. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/domains/routing.py +0 -0
  14. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/factories/__init__.py +0 -0
  15. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/factories/agent_factory.py +0 -0
  16. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/interfaces/__init__.py +0 -0
  17. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/interfaces/client/client.py +0 -0
  18. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/interfaces/plugins/plugins.py +0 -0
  19. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/interfaces/providers/data_storage.py +0 -0
  20. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/interfaces/providers/llm.py +0 -0
  21. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/interfaces/providers/memory.py +0 -0
  22. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/interfaces/services/agent.py +0 -0
  23. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/interfaces/services/query.py +0 -0
  24. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/interfaces/services/routing.py +0 -0
  25. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/plugins/__init__.py +0 -0
  26. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/plugins/manager.py +0 -0
  27. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/plugins/registry.py +0 -0
  28. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/plugins/tools/__init__.py +0 -0
  29. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/plugins/tools/auto_tool.py +0 -0
  30. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/repositories/__init__.py +0 -0
  31. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/repositories/memory.py +0 -0
  32. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/services/__init__.py +0 -0
  33. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/services/agent.py +0 -0
  34. {solana_agent-22.0.4 → solana_agent-22.0.6}/solana_agent/services/query.py +0 -0
  35. {solana_agent-22.0.4 → solana_agent-22.0.6}/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.4
3
+ Version: 22.0.6
4
4
  Summary: Agentic IQ
5
5
  License: MIT
6
6
  Keywords: ai,openai,ai agents,agi
@@ -262,7 +262,12 @@ async for response in solana_agent.process("user123", audio_content, output_form
262
262
 
263
263
  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.
264
264
 
265
- ### Plugin Usage Example
265
+ * Agents can only call one tool per response
266
+ * Agents choose the best tool for the job
267
+ * Tools do not use OpenAI function calling
268
+ * Tools are async functions
269
+
270
+ ### Tool Usage Example
266
271
 
267
272
  `pip install sakit`
268
273
 
@@ -275,15 +280,13 @@ config = {
275
280
  },
276
281
  "tools": {
277
282
  "search_internet": {
278
- "api_key": "your-perplexity-key", # Required
279
- "citations": True, # Optional, defaults to True
280
- "model": "sonar" # Optional, defaults to "sonar"
283
+ "api_key": "your-perplexity-api-key",
281
284
  },
282
285
  },
283
286
  "agents": [
284
287
  {
285
288
  "name": "research_specialist",
286
- "instructions": "You are an expert researcher who synthesizes complex information clearly.",
289
+ "instructions": "You are an expert researcher who synthesizes complex information clearly. You use your search_internet tool to get the latest information.",
287
290
  "specialization": "Research and knowledge synthesis",
288
291
  "tools": ["search_internet"],
289
292
  },
@@ -381,11 +384,13 @@ async for response in solana_agent.process("user123", "What are the latest AI de
381
384
  print(response, end="")
382
385
  ```
383
386
 
384
- ## Training your Agents
387
+ ## Agent Training
385
388
 
386
389
  Many use-cases for Solana Agent require training your agents on your company data.
387
390
 
388
- This can be accomplished via runtime prompt injection. Integrations that work well with this method are KBs like Pinecone and FAQs.
391
+ This can be accomplished via runtime prompt injection. Integrations that work well with this method are vector stores like Pinecone and FAQs.
392
+
393
+ This knowledge applies to all your AI agents.
389
394
 
390
395
  ```python
391
396
  from solana_agent import SolanaAgent
@@ -395,11 +400,6 @@ config = {
395
400
  "api_key": "your-openai-api-key",
396
401
  },
397
402
  "agents": [
398
- {
399
- "name": "research_specialist",
400
- "instructions": "You are an expert researcher who synthesizes complex information clearly.",
401
- "specialization": "Research and knowledge synthesis",
402
- },
403
403
  {
404
404
  "name": "customer_support",
405
405
  "instructions": "You provide friendly, helpful customer support responses.",
@@ -410,7 +410,7 @@ config = {
410
410
 
411
411
  solana_agent = SolanaAgent(config=config)
412
412
 
413
- async for response in solana_agent.process("user123", "What are the latest AI developments?", "This is my FAQ"):
413
+ async for response in solana_agent.process("user123", "How do replace the latch on my dishwasher?", "This is my corporate appliance fixing FAQ"):
414
414
  print(response, end="")
415
415
  ```
416
416
 
@@ -457,16 +457,6 @@ async for response in solana_agent.process("user123", "What are the latest AI de
457
457
  print(response, end="")
458
458
  ```
459
459
 
460
- ## Notes
461
- * Solana Agent agents can only call one tool per response.
462
- * Solana Agent agents choose the best tool for the job.
463
- * Solana Agent tools do not use OpenAI function calling.
464
- * Solana Agent tools are async functions.
465
-
466
- ## Local Setup
467
-
468
- A Docker Compose and Zep Config file is available at the root of this project
469
-
470
460
  ## API Documentation
471
461
 
472
462
  The official up-to-date documentation site
@@ -238,7 +238,12 @@ async for response in solana_agent.process("user123", audio_content, output_form
238
238
 
239
239
  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.
240
240
 
241
- ### Plugin Usage Example
241
+ * Agents can only call one tool per response
242
+ * Agents choose the best tool for the job
243
+ * Tools do not use OpenAI function calling
244
+ * Tools are async functions
245
+
246
+ ### Tool Usage Example
242
247
 
243
248
  `pip install sakit`
244
249
 
@@ -251,15 +256,13 @@ config = {
251
256
  },
252
257
  "tools": {
253
258
  "search_internet": {
254
- "api_key": "your-perplexity-key", # Required
255
- "citations": True, # Optional, defaults to True
256
- "model": "sonar" # Optional, defaults to "sonar"
259
+ "api_key": "your-perplexity-api-key",
257
260
  },
258
261
  },
259
262
  "agents": [
260
263
  {
261
264
  "name": "research_specialist",
262
- "instructions": "You are an expert researcher who synthesizes complex information clearly.",
265
+ "instructions": "You are an expert researcher who synthesizes complex information clearly. You use your search_internet tool to get the latest information.",
263
266
  "specialization": "Research and knowledge synthesis",
264
267
  "tools": ["search_internet"],
265
268
  },
@@ -357,11 +360,13 @@ async for response in solana_agent.process("user123", "What are the latest AI de
357
360
  print(response, end="")
358
361
  ```
359
362
 
360
- ## Training your Agents
363
+ ## Agent Training
361
364
 
362
365
  Many use-cases for Solana Agent require training your agents on your company data.
363
366
 
364
- This can be accomplished via runtime prompt injection. Integrations that work well with this method are KBs like Pinecone and FAQs.
367
+ This can be accomplished via runtime prompt injection. Integrations that work well with this method are vector stores like Pinecone and FAQs.
368
+
369
+ This knowledge applies to all your AI agents.
365
370
 
366
371
  ```python
367
372
  from solana_agent import SolanaAgent
@@ -371,11 +376,6 @@ config = {
371
376
  "api_key": "your-openai-api-key",
372
377
  },
373
378
  "agents": [
374
- {
375
- "name": "research_specialist",
376
- "instructions": "You are an expert researcher who synthesizes complex information clearly.",
377
- "specialization": "Research and knowledge synthesis",
378
- },
379
379
  {
380
380
  "name": "customer_support",
381
381
  "instructions": "You provide friendly, helpful customer support responses.",
@@ -386,7 +386,7 @@ config = {
386
386
 
387
387
  solana_agent = SolanaAgent(config=config)
388
388
 
389
- async for response in solana_agent.process("user123", "What are the latest AI developments?", "This is my FAQ"):
389
+ async for response in solana_agent.process("user123", "How do replace the latch on my dishwasher?", "This is my corporate appliance fixing FAQ"):
390
390
  print(response, end="")
391
391
  ```
392
392
 
@@ -433,16 +433,6 @@ async for response in solana_agent.process("user123", "What are the latest AI de
433
433
  print(response, end="")
434
434
  ```
435
435
 
436
- ## Notes
437
- * Solana Agent agents can only call one tool per response.
438
- * Solana Agent agents choose the best tool for the job.
439
- * Solana Agent tools do not use OpenAI function calling.
440
- * Solana Agent tools are async functions.
441
-
442
- ## Local Setup
443
-
444
- A Docker Compose and Zep Config file is available at the root of this project
445
-
446
436
  ## API Documentation
447
437
 
448
438
  The official up-to-date documentation site
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "solana-agent"
3
- version = "22.0.4"
3
+ version = "22.0.6"
4
4
  description = "Agentic IQ"
5
5
  authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
6
6
  license = "MIT"
File without changes