solana-agent 27.3.3__tar.gz → 27.3.5__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 (39) hide show
  1. {solana_agent-27.3.3 → solana_agent-27.3.5}/PKG-INFO +38 -2
  2. {solana_agent-27.3.3 → solana_agent-27.3.5}/README.md +36 -0
  3. {solana_agent-27.3.3 → solana_agent-27.3.5}/pyproject.toml +2 -2
  4. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/repositories/memory.py +0 -14
  5. {solana_agent-27.3.3 → solana_agent-27.3.5}/LICENSE +0 -0
  6. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/__init__.py +0 -0
  7. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/adapters/__init__.py +0 -0
  8. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/adapters/mongodb_adapter.py +0 -0
  9. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/adapters/openai_adapter.py +0 -0
  10. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/adapters/pinecone_adapter.py +0 -0
  11. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/client/__init__.py +0 -0
  12. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/client/solana_agent.py +0 -0
  13. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/domains/__init__.py +0 -0
  14. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/domains/agent.py +0 -0
  15. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/domains/routing.py +0 -0
  16. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/factories/__init__.py +0 -0
  17. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/factories/agent_factory.py +0 -0
  18. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/interfaces/__init__.py +0 -0
  19. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/interfaces/client/client.py +0 -0
  20. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/interfaces/plugins/plugins.py +0 -0
  21. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/interfaces/providers/data_storage.py +0 -0
  22. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/interfaces/providers/llm.py +0 -0
  23. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/interfaces/providers/memory.py +0 -0
  24. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/interfaces/providers/vector_storage.py +0 -0
  25. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/interfaces/services/agent.py +0 -0
  26. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/interfaces/services/knowledge_base.py +0 -0
  27. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/interfaces/services/query.py +0 -0
  28. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/interfaces/services/routing.py +0 -0
  29. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/plugins/__init__.py +0 -0
  30. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/plugins/manager.py +0 -0
  31. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/plugins/registry.py +0 -0
  32. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/plugins/tools/__init__.py +0 -0
  33. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/plugins/tools/auto_tool.py +0 -0
  34. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/repositories/__init__.py +0 -0
  35. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/services/__init__.py +0 -0
  36. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/services/agent.py +0 -0
  37. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/services/knowledge_base.py +0 -0
  38. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/services/query.py +0 -0
  39. {solana_agent-27.3.3 → solana_agent-27.3.5}/solana_agent/services/routing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: solana-agent
3
- Version: 27.3.3
3
+ Version: 27.3.5
4
4
  Summary: Agentic IQ
5
5
  License: MIT
6
6
  Keywords: ai,openai,ai agents,agi
@@ -17,7 +17,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
17
17
  Requires-Dist: instructor (>=1.7.9,<2.0.0)
18
18
  Requires-Dist: llama-index-core (>=0.12.30,<0.13.0)
19
19
  Requires-Dist: llama-index-embeddings-openai (>=0.3.1,<0.4.0)
20
- Requires-Dist: openai (>=1.74.0,<2.0.0)
20
+ Requires-Dist: openai (>=1.75.0,<2.0.0)
21
21
  Requires-Dist: pinecone (>=6.0.2,<7.0.0)
22
22
  Requires-Dist: pydantic (>=2)
23
23
  Requires-Dist: pymongo (>=4.12.0,<5.0.0)
@@ -57,6 +57,7 @@ Build your AI business in three lines of code!
57
57
  * Extensible Tooling
58
58
  * Simple Business Definition
59
59
  * Knowledge Base with PDF support
60
+ * MCP Support
60
61
  * Tested & Secure
61
62
  * Built in Python
62
63
  * Powers [CometHeart](https://cometheart.com) & [WalletBubbles](https://walletbubbles.com)
@@ -66,6 +67,7 @@ Build your AI business in three lines of code!
66
67
  * Easy three lines of code setup
67
68
  * Fast AI responses
68
69
  * Solana Ecosystem Integration via [AgentiPy](https://github.com/niceberginc/agentipy)
70
+ * MCP tool usage with first-class support for [Zapier](https://zapier.com)
69
71
  * Designed for a multi-agent swarm
70
72
  * Seamless text and audio streaming with real-time multi-modal processing
71
73
  * Configurable audio voice characteristics via prompting
@@ -514,6 +516,40 @@ async for response in solana_agent.process("user123", "What is the latest news o
514
516
  print(response, end="")
515
517
  ```
516
518
 
519
+ ### MCP
520
+
521
+ [Zapier](https://zapier.com) MCP has been tested, works, and is supported.
522
+
523
+ Other MCP servers may work but are not supported.
524
+
525
+ `pip install sakit`
526
+
527
+ ```python
528
+
529
+ from solana_agent import SolanaAgent
530
+
531
+ config = {
532
+ "tools": {
533
+ "mcp": {
534
+ "urls": ["my-zapier-mcp-url"],
535
+ }
536
+ },
537
+ "agents": [
538
+ {
539
+ "name": "zapier_expert",
540
+ "instructions": "You are an expert in using Zapier integrations using MCP. You always use the mcp tool to perform Zapier AI like actions.",
541
+ "specialization": "Zapier service integration expert",
542
+ "tools": ["mcp"], # Enable the tool for this agent
543
+ }
544
+ ]
545
+ }
546
+
547
+ solana_agent = SolanaAgent(config=config)
548
+
549
+ async for response in solana_agent.process("user123", "Send an email to bob@bob.com to clean his room!"):
550
+ print(response, end="")
551
+ ```
552
+
517
553
  ### Inline Tool Example
518
554
 
519
555
  ```python
@@ -28,6 +28,7 @@ Build your AI business in three lines of code!
28
28
  * Extensible Tooling
29
29
  * Simple Business Definition
30
30
  * Knowledge Base with PDF support
31
+ * MCP Support
31
32
  * Tested & Secure
32
33
  * Built in Python
33
34
  * Powers [CometHeart](https://cometheart.com) & [WalletBubbles](https://walletbubbles.com)
@@ -37,6 +38,7 @@ Build your AI business in three lines of code!
37
38
  * Easy three lines of code setup
38
39
  * Fast AI responses
39
40
  * Solana Ecosystem Integration via [AgentiPy](https://github.com/niceberginc/agentipy)
41
+ * MCP tool usage with first-class support for [Zapier](https://zapier.com)
40
42
  * Designed for a multi-agent swarm
41
43
  * Seamless text and audio streaming with real-time multi-modal processing
42
44
  * Configurable audio voice characteristics via prompting
@@ -485,6 +487,40 @@ async for response in solana_agent.process("user123", "What is the latest news o
485
487
  print(response, end="")
486
488
  ```
487
489
 
490
+ ### MCP
491
+
492
+ [Zapier](https://zapier.com) MCP has been tested, works, and is supported.
493
+
494
+ Other MCP servers may work but are not supported.
495
+
496
+ `pip install sakit`
497
+
498
+ ```python
499
+
500
+ from solana_agent import SolanaAgent
501
+
502
+ config = {
503
+ "tools": {
504
+ "mcp": {
505
+ "urls": ["my-zapier-mcp-url"],
506
+ }
507
+ },
508
+ "agents": [
509
+ {
510
+ "name": "zapier_expert",
511
+ "instructions": "You are an expert in using Zapier integrations using MCP. You always use the mcp tool to perform Zapier AI like actions.",
512
+ "specialization": "Zapier service integration expert",
513
+ "tools": ["mcp"], # Enable the tool for this agent
514
+ }
515
+ ]
516
+ }
517
+
518
+ solana_agent = SolanaAgent(config=config)
519
+
520
+ async for response in solana_agent.process("user123", "Send an email to bob@bob.com to clean his room!"):
521
+ print(response, end="")
522
+ ```
523
+
488
524
  ### Inline Tool Example
489
525
 
490
526
  ```python
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "solana-agent"
3
- version = "27.3.3"
3
+ version = "27.3.5"
4
4
  description = "Agentic IQ"
5
5
  authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
6
6
  license = "MIT"
@@ -23,7 +23,7 @@ python_paths = [".", "tests"]
23
23
 
24
24
  [tool.poetry.dependencies]
25
25
  python = ">=3.12,<4.0"
26
- openai = "^1.74.0"
26
+ openai = "^1.75.0"
27
27
  pydantic = ">=2"
28
28
  pymongo = "^4.12.0"
29
29
  zep-cloud = "^2.10.1"
@@ -127,20 +127,6 @@ class MemoryRepository(MemoryProvider):
127
127
  memory = await self.zep.memory.get(session_id=user_id)
128
128
  if memory and memory.context:
129
129
  memories = memory.context
130
- if self.mongo:
131
- mongo_memory = self.mongo.find(
132
- self.collection,
133
- {"user_id": user_id},
134
- sort=[("timestamp", -1)],
135
- limit=3
136
- )
137
- if mongo_memory:
138
- # Concatenate MongoDB memory with Zep memory
139
- mongo_memory = [
140
- f"{msg['user_message']} {msg['assistant_message']}"
141
- for msg in mongo_memory
142
- ]
143
- memories += " ".join(mongo_memory)
144
130
  return memories
145
131
 
146
132
  except Exception as e:
File without changes