solana-agent 20.1.1__py3-none-any.whl → 20.1.3__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: 20.1.1
3
+ Version: 20.1.3
4
4
  Summary: Agentic IQ
5
5
  License: MIT
6
6
  Keywords: ai,openai,ai agents,agi
@@ -48,6 +48,7 @@ Build your AI business in three lines of code!
48
48
  * Extensible Tooling
49
49
  * Simple Business Definition
50
50
  * Tested & Secure
51
+ * Support for MCP
51
52
  * Built in Python
52
53
  * Deployed by [CometHeart](https://cometheart.com) & [WalletBubbles](https://walletbubbles.com)
53
54
 
@@ -61,6 +62,7 @@ Build your AI business in three lines of code!
61
62
  * Powerful tool integration using standard Python packages and/or inline classes
62
63
  * Assigned tools are utilized by agents automatically and effectively
63
64
  * Simple business definition using JSON
65
+ * Ability to access any MCP via a URL
64
66
 
65
67
  ## Stack
66
68
 
@@ -77,13 +79,11 @@ You can install Solana Agent using pip:
77
79
 
78
80
  ## Usage
79
81
 
80
- ### Text/Text Streaming
82
+ ### Business Alignment Config - Optional
81
83
 
82
84
  ```python
83
- from solana_agent import SolanaAgent
84
-
85
85
  config = {
86
- "business": { # optional
86
+ "business": {
87
87
  "mission": "To provide users with a one-stop shop for their queries.",
88
88
  "values": {
89
89
  "Friendliness": "Users must be treated fairly, openly, and with friendliness.",
@@ -94,14 +94,37 @@ config = {
94
94
  ],
95
95
  "voice": "The voice of the brand is that of a research business."
96
96
  },
97
- "mongo": { # optional
97
+ }
98
+ ```
99
+
100
+ ### Conversational History Config - Optional
101
+
102
+ ```python
103
+ config = {
104
+ "mongo": {
98
105
  "connection_string": "mongodb://localhost:27017",
99
106
  "database": "solana_agent"
100
107
  },
101
- "zep": { # optional
108
+ }
109
+ ```
110
+
111
+ ### Conversational Memory Config - Optional
112
+
113
+ ```python
114
+ config = {
115
+ "zep": {
102
116
  "api_key": "your-zep-api-key",
103
117
  "base_url": "your-zep-base-url", # not applicable if using Zep Cloud
104
118
  },
119
+ }
120
+ ```
121
+
122
+ ### Text/Text Streaming
123
+
124
+ ```python
125
+ from solana_agent import SolanaAgent
126
+
127
+ config = {
105
128
  "openai": {
106
129
  "api_key": "your-openai-api-key",
107
130
  },
@@ -222,6 +245,7 @@ Plugins like Solana Agent Kit (sakit) integrate automatically with Solana Agent.
222
245
 
223
246
  `pip install sakit`
224
247
 
248
+ #### Internet Search
225
249
  ```python
226
250
  from solana_agent import SolanaAgent
227
251
 
@@ -257,6 +281,44 @@ async for response in solana_agent.process("user123", "What are the latest AI de
257
281
  print(response, end="")
258
282
  ```
259
283
 
284
+ #### MCP
285
+ ```python
286
+ from solana_agent import SolanaAgent
287
+
288
+ config = {
289
+ "openai": {
290
+ "api_key": "your-openai-api-key",
291
+ },
292
+ "tools": {
293
+ "mcp": {
294
+ "server_urls": [
295
+ "http://mcp-server1.com/mcp",
296
+ "http://mcp-server2.com/mcp",
297
+ "http://mcp-server3.com/mcp"
298
+ ]
299
+ }
300
+ },
301
+ "agents": [
302
+ {
303
+ "name": "research_specialist",
304
+ "instructions": "You are an expert researcher who synthesizes complex information clearly.",
305
+ "specialization": "Research and knowledge synthesis",
306
+ "tools": ["mcp"],
307
+ },
308
+ {
309
+ "name": "customer_support",
310
+ "instructions": "You provide friendly, helpful customer support responses.",
311
+ "specialization": "Customer inquiries",
312
+ }
313
+ ],
314
+ }
315
+
316
+ solana_agent = SolanaAgent(config=config)
317
+
318
+ async for response in solana_agent.process("user123", "What are the latest AI developments?"):
319
+ print(response, end="")
320
+ ```
321
+
260
322
  To create a plugin like Solana Agent Kit - read the [code](https://github.com/truemagic-coder/solana-agent-kit)
261
323
 
262
324
  ### Custom Inline Tools
@@ -29,7 +29,7 @@ solana_agent/services/__init__.py,sha256=ab_NXJmwYUCmCrCzuTlZ47bJZINW0Y0F5jfQ9Oo
29
29
  solana_agent/services/agent.py,sha256=MdSPIC81JNuP2hfzXNGWOnRfe7OxwYHgDVZAphVCCo8,16450
30
30
  solana_agent/services/query.py,sha256=QduAeiltFTwNDlAbC_emu544U4XGNioj-OauRGt9HSY,11070
31
31
  solana_agent/services/routing.py,sha256=PMCSG5m3uLMaHMj3dxNvNfcFZaeaDi7kMr7AEBCzwDE,6499
32
- solana_agent-20.1.1.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
33
- solana_agent-20.1.1.dist-info/METADATA,sha256=fcYHLCTEpheJ-rr6VhRye5I2_kLpqUKXU0hyAMF3l5Q,13782
34
- solana_agent-20.1.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
35
- solana_agent-20.1.1.dist-info/RECORD,,
32
+ solana_agent-20.1.3.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
33
+ solana_agent-20.1.3.dist-info/METADATA,sha256=NCCIvPbuwEEh8AdJ9pHx4ZcsQmWCXFgEUYctcqAfVNE,15068
34
+ solana_agent-20.1.3.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
35
+ solana_agent-20.1.3.dist-info/RECORD,,