solana-agent 22.0.0__py3-none-any.whl → 22.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.
@@ -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
@@ -29,7 +29,7 @@ solana_agent/services/__init__.py,sha256=ab_NXJmwYUCmCrCzuTlZ47bJZINW0Y0F5jfQ9Oo
29
29
  solana_agent/services/agent.py,sha256=uLZvMl8U40H-Lbxsf6PFR4SSfggjByBUoumvB1Afduo,18441
30
30
  solana_agent/services/query.py,sha256=gUIMJaTcGUjn7TuwJHE-CHMjQIdcYUNoxqJ3duE-QUg,11278
31
31
  solana_agent/services/routing.py,sha256=PMCSG5m3uLMaHMj3dxNvNfcFZaeaDi7kMr7AEBCzwDE,6499
32
- solana_agent-22.0.0.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
33
- solana_agent-22.0.0.dist-info/METADATA,sha256=sLsz9J8dpuTDP22Ach0YFD46qBzJMKEYD7T3iU1qVb8,13050
34
- solana_agent-22.0.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
35
- solana_agent-22.0.0.dist-info/RECORD,,
32
+ solana_agent-22.0.1.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
33
+ solana_agent-22.0.1.dist-info/METADATA,sha256=iUmnx3K1S69RYYoBNXE8hYBfXugafCX3r_ZMKOtJEjY,14503
34
+ solana_agent-22.0.1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
35
+ solana_agent-22.0.1.dist-info/RECORD,,