solana-agent 27.3.3__tar.gz → 27.3.4__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.4}/PKG-INFO +36 -2
  2. {solana_agent-27.3.3 → solana_agent-27.3.4}/README.md +34 -0
  3. {solana_agent-27.3.3 → solana_agent-27.3.4}/pyproject.toml +2 -2
  4. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/repositories/memory.py +0 -14
  5. {solana_agent-27.3.3 → solana_agent-27.3.4}/LICENSE +0 -0
  6. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/__init__.py +0 -0
  7. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/adapters/__init__.py +0 -0
  8. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/adapters/mongodb_adapter.py +0 -0
  9. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/adapters/openai_adapter.py +0 -0
  10. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/adapters/pinecone_adapter.py +0 -0
  11. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/client/__init__.py +0 -0
  12. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/client/solana_agent.py +0 -0
  13. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/domains/__init__.py +0 -0
  14. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/domains/agent.py +0 -0
  15. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/domains/routing.py +0 -0
  16. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/factories/__init__.py +0 -0
  17. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/factories/agent_factory.py +0 -0
  18. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/interfaces/__init__.py +0 -0
  19. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/interfaces/client/client.py +0 -0
  20. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/interfaces/plugins/plugins.py +0 -0
  21. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/interfaces/providers/data_storage.py +0 -0
  22. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/interfaces/providers/llm.py +0 -0
  23. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/interfaces/providers/memory.py +0 -0
  24. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/interfaces/providers/vector_storage.py +0 -0
  25. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/interfaces/services/agent.py +0 -0
  26. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/interfaces/services/knowledge_base.py +0 -0
  27. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/interfaces/services/query.py +0 -0
  28. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/interfaces/services/routing.py +0 -0
  29. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/plugins/__init__.py +0 -0
  30. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/plugins/manager.py +0 -0
  31. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/plugins/registry.py +0 -0
  32. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/plugins/tools/__init__.py +0 -0
  33. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/plugins/tools/auto_tool.py +0 -0
  34. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/repositories/__init__.py +0 -0
  35. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/services/__init__.py +0 -0
  36. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/services/agent.py +0 -0
  37. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/services/knowledge_base.py +0 -0
  38. {solana_agent-27.3.3 → solana_agent-27.3.4}/solana_agent/services/query.py +0 -0
  39. {solana_agent-27.3.3 → solana_agent-27.3.4}/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.4
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)
@@ -514,6 +514,40 @@ async for response in solana_agent.process("user123", "What is the latest news o
514
514
  print(response, end="")
515
515
  ```
516
516
 
517
+ ### MCP
518
+
519
+ [Zapier](https://zapier.com) MCP has been tested, works, and is supported.
520
+
521
+ Other MCP servers may work but are not supported.
522
+
523
+ `pip install sakit`
524
+
525
+ ```python
526
+
527
+ from solana_agent import SolanaAgent
528
+
529
+ config = {
530
+ "tools": {
531
+ "mcp": {
532
+ "urls": ["my-zapier-mcp-url"],
533
+ }
534
+ },
535
+ "agents": [
536
+ {
537
+ "name": "zapier_expert",
538
+ "instructions": "You are an expert in using Zapier integrations using MCP. You always use the mcp tool to perform Zapier AI like actions.",
539
+ "specialization": "Zapier service integration expert",
540
+ "tools": ["mcp"], # Enable the tool for this agent
541
+ }
542
+ ]
543
+ }
544
+
545
+ solana_agent = SolanaAgent(config=config)
546
+
547
+ async for response in solana_agent.process("user123", "Send an email to bob@bob.com to clean his room!"):
548
+ print(response, end="")
549
+ ```
550
+
517
551
  ### Inline Tool Example
518
552
 
519
553
  ```python
@@ -485,6 +485,40 @@ async for response in solana_agent.process("user123", "What is the latest news o
485
485
  print(response, end="")
486
486
  ```
487
487
 
488
+ ### MCP
489
+
490
+ [Zapier](https://zapier.com) MCP has been tested, works, and is supported.
491
+
492
+ Other MCP servers may work but are not supported.
493
+
494
+ `pip install sakit`
495
+
496
+ ```python
497
+
498
+ from solana_agent import SolanaAgent
499
+
500
+ config = {
501
+ "tools": {
502
+ "mcp": {
503
+ "urls": ["my-zapier-mcp-url"],
504
+ }
505
+ },
506
+ "agents": [
507
+ {
508
+ "name": "zapier_expert",
509
+ "instructions": "You are an expert in using Zapier integrations using MCP. You always use the mcp tool to perform Zapier AI like actions.",
510
+ "specialization": "Zapier service integration expert",
511
+ "tools": ["mcp"], # Enable the tool for this agent
512
+ }
513
+ ]
514
+ }
515
+
516
+ solana_agent = SolanaAgent(config=config)
517
+
518
+ async for response in solana_agent.process("user123", "Send an email to bob@bob.com to clean his room!"):
519
+ print(response, end="")
520
+ ```
521
+
488
522
  ### Inline Tool Example
489
523
 
490
524
  ```python
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "solana-agent"
3
- version = "27.3.3"
3
+ version = "27.3.4"
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