solana-agent 22.0.4__py3-none-any.whl → 22.0.6__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.
@@ -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
@@ -29,7 +29,7 @@ solana_agent/services/__init__.py,sha256=ab_NXJmwYUCmCrCzuTlZ47bJZINW0Y0F5jfQ9Oo
29
29
  solana_agent/services/agent.py,sha256=bIVC4VGCv8qS5AF0nh_hfUjz8nu70Owll-VuvHJ9X48,20047
30
30
  solana_agent/services/query.py,sha256=os_LRkDIwXQuWW_zJMtm__n0Lvi-AvItdanpCs1bXv0,11362
31
31
  solana_agent/services/routing.py,sha256=PMCSG5m3uLMaHMj3dxNvNfcFZaeaDi7kMr7AEBCzwDE,6499
32
- solana_agent-22.0.4.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
33
- solana_agent-22.0.4.dist-info/METADATA,sha256=1Ek0Si7v2t-LuLMC0YUnoKF8sxATs728NhjPoDT4OMc,14882
34
- solana_agent-22.0.4.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
35
- solana_agent-22.0.4.dist-info/RECORD,,
32
+ solana_agent-22.0.6.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
33
+ solana_agent-22.0.6.dist-info/METADATA,sha256=TTSOlQ4oTi2lhOsJ9i_eVoHkz3We63p5gE4umyPaVwc,14505
34
+ solana_agent-22.0.6.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
35
+ solana_agent-22.0.6.dist-info/RECORD,,