intentkit 0.8.12rc0__py3-none-any.whl → 0.8.13.dev1__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.

Potentially problematic release.


This version of intentkit might be problematic. Click here for more details.

Files changed (175) hide show
  1. intentkit/__init__.py +1 -1
  2. intentkit/abstracts/skill.py +2 -59
  3. intentkit/clients/twitter.py +35 -28
  4. intentkit/config/config.py +1 -0
  5. intentkit/core/agent.py +2 -279
  6. intentkit/core/asset.py +63 -16
  7. intentkit/core/engine.py +9 -5
  8. intentkit/core/scheduler.py +8 -8
  9. intentkit/models/agent.py +138 -94
  10. intentkit/models/agent_schema.json +6 -9
  11. intentkit/models/chat.py +1 -0
  12. intentkit/models/llm.csv +15 -12
  13. intentkit/skills/acolyt/__init__.py +2 -9
  14. intentkit/skills/acolyt/base.py +2 -5
  15. intentkit/skills/aixbt/__init__.py +2 -13
  16. intentkit/skills/aixbt/base.py +0 -4
  17. intentkit/skills/aixbt/projects.py +1 -2
  18. intentkit/skills/allora/__init__.py +2 -9
  19. intentkit/skills/allora/base.py +2 -5
  20. intentkit/skills/base.py +101 -27
  21. intentkit/skills/basename/__init__.py +1 -3
  22. intentkit/skills/carv/__init__.py +116 -121
  23. intentkit/skills/carv/base.py +184 -185
  24. intentkit/skills/casino/__init__.py +4 -15
  25. intentkit/skills/casino/base.py +0 -4
  26. intentkit/skills/casino/deck_draw.py +1 -2
  27. intentkit/skills/casino/deck_shuffle.py +1 -2
  28. intentkit/skills/casino/dice_roll.py +1 -2
  29. intentkit/skills/cdp/__init__.py +0 -5
  30. intentkit/skills/cdp/base.py +0 -4
  31. intentkit/skills/cdp/schema.json +1 -17
  32. intentkit/skills/chainlist/__init__.py +2 -7
  33. intentkit/skills/chainlist/base.py +0 -4
  34. intentkit/skills/common/__init__.py +2 -9
  35. intentkit/skills/common/base.py +0 -4
  36. intentkit/skills/cookiefun/__init__.py +6 -9
  37. intentkit/skills/cookiefun/base.py +0 -4
  38. intentkit/skills/cryptocompare/__init__.py +7 -24
  39. intentkit/skills/cryptocompare/base.py +0 -5
  40. intentkit/skills/cryptopanic/__init__.py +3 -6
  41. intentkit/skills/cryptopanic/base.py +53 -55
  42. intentkit/skills/cryptopanic/fetch_crypto_news.py +0 -2
  43. intentkit/skills/cryptopanic/fetch_crypto_sentiment.py +1 -3
  44. intentkit/skills/dapplooker/__init__.py +2 -9
  45. intentkit/skills/dapplooker/base.py +2 -5
  46. intentkit/skills/defillama/__init__.py +24 -74
  47. intentkit/skills/defillama/base.py +0 -4
  48. intentkit/skills/defillama/coins/fetch_batch_historical_prices.py +2 -2
  49. intentkit/skills/defillama/coins/fetch_block.py +2 -2
  50. intentkit/skills/defillama/coins/fetch_current_prices.py +2 -2
  51. intentkit/skills/defillama/coins/fetch_first_price.py +2 -2
  52. intentkit/skills/defillama/coins/fetch_historical_prices.py +2 -2
  53. intentkit/skills/defillama/coins/fetch_price_chart.py +2 -2
  54. intentkit/skills/defillama/coins/fetch_price_percentage.py +2 -2
  55. intentkit/skills/defillama/fees/fetch_fees_overview.py +2 -2
  56. intentkit/skills/defillama/stablecoins/fetch_stablecoin_chains.py +2 -2
  57. intentkit/skills/defillama/stablecoins/fetch_stablecoin_charts.py +2 -2
  58. intentkit/skills/defillama/stablecoins/fetch_stablecoin_prices.py +2 -2
  59. intentkit/skills/defillama/stablecoins/fetch_stablecoins.py +2 -2
  60. intentkit/skills/defillama/tvl/fetch_chain_historical_tvl.py +2 -2
  61. intentkit/skills/defillama/tvl/fetch_chains.py +2 -2
  62. intentkit/skills/defillama/tvl/fetch_historical_tvl.py +2 -2
  63. intentkit/skills/defillama/tvl/fetch_protocol.py +2 -2
  64. intentkit/skills/defillama/tvl/fetch_protocol_current_tvl.py +2 -2
  65. intentkit/skills/defillama/tvl/fetch_protocols.py +2 -2
  66. intentkit/skills/defillama/volumes/fetch_dex_overview.py +2 -2
  67. intentkit/skills/defillama/volumes/fetch_dex_summary.py +2 -2
  68. intentkit/skills/defillama/volumes/fetch_options_overview.py +2 -2
  69. intentkit/skills/defillama/yields/fetch_pool_chart.py +2 -2
  70. intentkit/skills/defillama/yields/fetch_pools.py +2 -2
  71. intentkit/skills/dexscreener/__init__.py +97 -102
  72. intentkit/skills/dexscreener/base.py +125 -130
  73. intentkit/skills/dexscreener/get_pair_info.py +2 -3
  74. intentkit/skills/dexscreener/get_token_pairs.py +2 -3
  75. intentkit/skills/dexscreener/get_tokens_info.py +2 -3
  76. intentkit/skills/dexscreener/search_token.py +2 -4
  77. intentkit/skills/dune_analytics/__init__.py +4 -6
  78. intentkit/skills/dune_analytics/base.py +50 -52
  79. intentkit/skills/dune_analytics/fetch_kol_buys.py +0 -2
  80. intentkit/skills/dune_analytics/fetch_nation_metrics.py +0 -2
  81. intentkit/skills/elfa/__init__.py +5 -18
  82. intentkit/skills/elfa/base.py +8 -10
  83. intentkit/skills/enso/__init__.py +9 -29
  84. intentkit/skills/enso/base.py +3 -6
  85. intentkit/skills/enso/route.py +1 -3
  86. intentkit/skills/erc20/__init__.py +1 -5
  87. intentkit/skills/erc721/__init__.py +1 -3
  88. intentkit/skills/firecrawl/__init__.py +5 -18
  89. intentkit/skills/firecrawl/base.py +2 -5
  90. intentkit/skills/firecrawl/crawl.py +10 -9
  91. intentkit/skills/firecrawl/query.py +3 -1
  92. intentkit/skills/firecrawl/scrape.py +8 -10
  93. intentkit/skills/firecrawl/utils.py +25 -26
  94. intentkit/skills/github/__init__.py +2 -7
  95. intentkit/skills/github/base.py +0 -4
  96. intentkit/skills/heurist/__init__.py +8 -27
  97. intentkit/skills/heurist/base.py +2 -5
  98. intentkit/skills/heurist/image_generation_animagine_xl.py +5 -5
  99. intentkit/skills/heurist/image_generation_arthemy_comics.py +5 -5
  100. intentkit/skills/heurist/image_generation_arthemy_real.py +5 -5
  101. intentkit/skills/heurist/image_generation_braindance.py +5 -5
  102. intentkit/skills/heurist/image_generation_cyber_realistic_xl.py +5 -5
  103. intentkit/skills/heurist/image_generation_flux_1_dev.py +5 -5
  104. intentkit/skills/heurist/image_generation_sdxl.py +5 -5
  105. intentkit/skills/http/__init__.py +4 -15
  106. intentkit/skills/http/base.py +0 -4
  107. intentkit/skills/lifi/__init__.py +1 -6
  108. intentkit/skills/lifi/base.py +0 -4
  109. intentkit/skills/lifi/token_execute.py +1 -4
  110. intentkit/skills/lifi/token_quote.py +1 -3
  111. intentkit/skills/moralis/__init__.py +3 -7
  112. intentkit/skills/moralis/base.py +2 -5
  113. intentkit/skills/morpho/__init__.py +1 -3
  114. intentkit/skills/nation/__init__.py +2 -7
  115. intentkit/skills/nation/base.py +4 -7
  116. intentkit/skills/openai/__init__.py +5 -18
  117. intentkit/skills/openai/base.py +8 -10
  118. intentkit/skills/openai/dalle_image_generation.py +2 -5
  119. intentkit/skills/openai/gpt_image_generation.py +2 -5
  120. intentkit/skills/openai/gpt_image_to_image.py +2 -5
  121. intentkit/skills/openai/image_to_text.py +2 -5
  122. intentkit/skills/portfolio/__init__.py +11 -35
  123. intentkit/skills/portfolio/base.py +2 -5
  124. intentkit/skills/pyth/__init__.py +1 -5
  125. intentkit/skills/slack/__init__.py +5 -17
  126. intentkit/skills/slack/base.py +0 -4
  127. intentkit/skills/supabase/__init__.py +7 -23
  128. intentkit/skills/supabase/base.py +0 -4
  129. intentkit/skills/superfluid/__init__.py +1 -3
  130. intentkit/skills/system/__init__.py +7 -24
  131. intentkit/skills/system/add_autonomous_task.py +2 -2
  132. intentkit/skills/system/delete_autonomous_task.py +2 -2
  133. intentkit/skills/system/edit_autonomous_task.py +2 -4
  134. intentkit/skills/system/list_autonomous_tasks.py +2 -2
  135. intentkit/skills/system/read_agent_api_key.py +6 -4
  136. intentkit/skills/system/regenerate_agent_api_key.py +6 -4
  137. intentkit/skills/tavily/__init__.py +3 -12
  138. intentkit/skills/tavily/base.py +2 -5
  139. intentkit/skills/tavily/tavily_extract.py +1 -2
  140. intentkit/skills/tavily/tavily_search.py +3 -3
  141. intentkit/skills/token/__init__.py +5 -10
  142. intentkit/skills/token/base.py +2 -6
  143. intentkit/skills/twitter/__init__.py +11 -35
  144. intentkit/skills/twitter/base.py +14 -16
  145. intentkit/skills/twitter/follow_user.py +0 -1
  146. intentkit/skills/twitter/get_mentions.py +0 -1
  147. intentkit/skills/twitter/get_timeline.py +0 -1
  148. intentkit/skills/twitter/get_user_by_username.py +0 -1
  149. intentkit/skills/twitter/get_user_tweets.py +0 -1
  150. intentkit/skills/twitter/like_tweet.py +0 -1
  151. intentkit/skills/twitter/post_tweet.py +2 -2
  152. intentkit/skills/twitter/reply_tweet.py +2 -2
  153. intentkit/skills/twitter/retweet.py +0 -1
  154. intentkit/skills/twitter/search_tweets.py +0 -1
  155. intentkit/skills/unrealspeech/__init__.py +2 -7
  156. intentkit/skills/unrealspeech/base.py +0 -4
  157. intentkit/skills/venice_audio/__init__.py +99 -106
  158. intentkit/skills/venice_audio/base.py +118 -121
  159. intentkit/skills/venice_audio/venice_audio.py +1 -5
  160. intentkit/skills/venice_image/__init__.py +147 -154
  161. intentkit/skills/venice_image/base.py +185 -192
  162. intentkit/skills/web_scraper/__init__.py +5 -18
  163. intentkit/skills/web_scraper/base.py +20 -4
  164. intentkit/skills/web_scraper/document_indexer.py +6 -4
  165. intentkit/skills/web_scraper/scrape_and_index.py +11 -8
  166. intentkit/skills/web_scraper/utils.py +31 -27
  167. intentkit/skills/web_scraper/website_indexer.py +7 -8
  168. intentkit/skills/weth/__init__.py +1 -5
  169. intentkit/skills/wow/__init__.py +1 -5
  170. intentkit/skills/xmtp/__init__.py +4 -15
  171. intentkit/utils/schema.py +100 -0
  172. {intentkit-0.8.12rc0.dist-info → intentkit-0.8.13.dev1.dist-info}/METADATA +1 -1
  173. {intentkit-0.8.12rc0.dist-info → intentkit-0.8.13.dev1.dist-info}/RECORD +175 -174
  174. {intentkit-0.8.12rc0.dist-info → intentkit-0.8.13.dev1.dist-info}/WHEEL +0 -0
  175. {intentkit-0.8.12rc0.dist-info → intentkit-0.8.13.dev1.dist-info}/licenses/LICENSE +0 -0
@@ -3,7 +3,6 @@
3
3
  import logging
4
4
  from typing import TypedDict
5
5
 
6
- from intentkit.abstracts.skill import SkillStoreABC
7
6
  from intentkit.skills.base import SkillConfig, SkillState
8
7
  from intentkit.skills.defillama.base import DefiLlamaBaseTool
9
8
  from intentkit.skills.defillama.coins.fetch_batch_historical_prices import (
@@ -124,7 +123,6 @@ class Config(SkillConfig):
124
123
  async def get_skills(
125
124
  config: "Config",
126
125
  is_private: bool,
127
- store: SkillStoreABC,
128
126
  **_,
129
127
  ) -> list[DefiLlamaBaseTool]:
130
128
  """Get all DeFi Llama skills."""
@@ -140,7 +138,7 @@ async def get_skills(
140
138
  # Get each skill using the cached getter
141
139
  result = []
142
140
  for name in available_skills:
143
- skill = get_defillama_skill(name, store)
141
+ skill = get_defillama_skill(name)
144
142
  if skill:
145
143
  result.append(skill)
146
144
  return result
@@ -148,13 +146,11 @@ async def get_skills(
148
146
 
149
147
  def get_defillama_skill(
150
148
  name: str,
151
- store: SkillStoreABC,
152
149
  ) -> DefiLlamaBaseTool:
153
150
  """Get a DeFi Llama skill by name.
154
151
 
155
152
  Args:
156
153
  name: The name of the skill to get
157
- store: The skill store for persisting data
158
154
 
159
155
  Returns:
160
156
  The requested DeFi Llama skill
@@ -167,145 +163,101 @@ def get_defillama_skill(
167
163
  # TVL Skills
168
164
  if name == "fetch_protocols":
169
165
  if name not in _cache:
170
- _cache[name] = DefiLlamaFetchProtocols(
171
- skill_store=store,
172
- )
166
+ _cache[name] = DefiLlamaFetchProtocols()
173
167
  return _cache[name]
174
168
  elif name == "fetch_protocol":
175
169
  if name not in _cache:
176
- _cache[name] = DefiLlamaFetchProtocol(
177
- skill_store=store,
178
- )
170
+ _cache[name] = DefiLlamaFetchProtocol()
179
171
  return _cache[name]
180
172
  elif name == "fetch_historical_tvl":
181
173
  if name not in _cache:
182
- _cache[name] = DefiLlamaFetchHistoricalTvl(
183
- skill_store=store,
184
- )
174
+ _cache[name] = DefiLlamaFetchHistoricalTvl()
185
175
  return _cache[name]
186
176
  elif name == "fetch_chain_historical_tvl":
187
177
  if name not in _cache:
188
- _cache[name] = DefiLlamaFetchChainHistoricalTvl(
189
- skill_store=store,
190
- )
178
+ _cache[name] = DefiLlamaFetchChainHistoricalTvl()
191
179
  return _cache[name]
192
180
  elif name == "fetch_protocol_current_tvl":
193
181
  if name not in _cache:
194
- _cache[name] = DefiLlamaFetchProtocolCurrentTvl(
195
- skill_store=store,
196
- )
182
+ _cache[name] = DefiLlamaFetchProtocolCurrentTvl()
197
183
  return _cache[name]
198
184
  elif name == "fetch_chains":
199
185
  if name not in _cache:
200
- _cache[name] = DefiLlamaFetchChains(
201
- skill_store=store,
202
- )
186
+ _cache[name] = DefiLlamaFetchChains()
203
187
  return _cache[name]
204
188
 
205
189
  # Coins Skills
206
190
  elif name == "fetch_current_prices":
207
191
  if name not in _cache:
208
- _cache[name] = DefiLlamaFetchCurrentPrices(
209
- skill_store=store,
210
- )
192
+ _cache[name] = DefiLlamaFetchCurrentPrices()
211
193
  return _cache[name]
212
194
  elif name == "fetch_historical_prices":
213
195
  if name not in _cache:
214
- _cache[name] = DefiLlamaFetchHistoricalPrices(
215
- skill_store=store,
216
- )
196
+ _cache[name] = DefiLlamaFetchHistoricalPrices()
217
197
  return _cache[name]
218
198
  elif name == "fetch_batch_historical_prices":
219
199
  if name not in _cache:
220
- _cache[name] = DefiLlamaFetchBatchHistoricalPrices(
221
- skill_store=store,
222
- )
200
+ _cache[name] = DefiLlamaFetchBatchHistoricalPrices()
223
201
  return _cache[name]
224
202
  elif name == "fetch_price_chart":
225
203
  if name not in _cache:
226
- _cache[name] = DefiLlamaFetchPriceChart(
227
- skill_store=store,
228
- )
204
+ _cache[name] = DefiLlamaFetchPriceChart()
229
205
  return _cache[name]
230
206
  elif name == "fetch_price_percentage":
231
207
  if name not in _cache:
232
- _cache[name] = DefiLlamaFetchPricePercentage(
233
- skill_store=store,
234
- )
208
+ _cache[name] = DefiLlamaFetchPricePercentage()
235
209
  return _cache[name]
236
210
  elif name == "fetch_first_price":
237
211
  if name not in _cache:
238
- _cache[name] = DefiLlamaFetchFirstPrice(
239
- skill_store=store,
240
- )
212
+ _cache[name] = DefiLlamaFetchFirstPrice()
241
213
  return _cache[name]
242
214
  elif name == "fetch_block":
243
215
  if name not in _cache:
244
- _cache[name] = DefiLlamaFetchBlock(
245
- skill_store=store,
246
- )
216
+ _cache[name] = DefiLlamaFetchBlock()
247
217
  return _cache[name]
248
218
 
249
219
  # Stablecoins Skills
250
220
  elif name == "fetch_stablecoins":
251
221
  if name not in _cache:
252
- _cache[name] = DefiLlamaFetchStablecoins(
253
- skill_store=store,
254
- )
222
+ _cache[name] = DefiLlamaFetchStablecoins()
255
223
  return _cache[name]
256
224
  elif name == "fetch_stablecoin_charts":
257
225
  if name not in _cache:
258
- _cache[name] = DefiLlamaFetchStablecoinCharts(
259
- skill_store=store,
260
- )
226
+ _cache[name] = DefiLlamaFetchStablecoinCharts()
261
227
  return _cache[name]
262
228
  elif name == "fetch_stablecoin_chains":
263
229
  if name not in _cache:
264
- _cache[name] = DefiLlamaFetchStablecoinChains(
265
- skill_store=store,
266
- )
230
+ _cache[name] = DefiLlamaFetchStablecoinChains()
267
231
  return _cache[name]
268
232
  elif name == "fetch_stablecoin_prices":
269
233
  if name not in _cache:
270
- _cache[name] = DefiLlamaFetchStablecoinPrices(
271
- skill_store=store,
272
- )
234
+ _cache[name] = DefiLlamaFetchStablecoinPrices()
273
235
  return _cache[name]
274
236
 
275
237
  # Yields Skills
276
238
  elif name == "fetch_pools":
277
239
  if name not in _cache:
278
- _cache[name] = DefiLlamaFetchPools(
279
- skill_store=store,
280
- )
240
+ _cache[name] = DefiLlamaFetchPools()
281
241
  return _cache[name]
282
242
  elif name == "fetch_pool_chart":
283
243
  if name not in _cache:
284
- _cache[name] = DefiLlamaFetchPoolChart(
285
- skill_store=store,
286
- )
244
+ _cache[name] = DefiLlamaFetchPoolChart()
287
245
  return _cache[name]
288
246
 
289
247
  # Volumes Skills
290
248
  elif name == "fetch_dex_overview": # Handles both base and chain-specific overviews
291
249
  if name not in _cache:
292
- _cache[name] = DefiLlamaFetchDexOverview(
293
- skill_store=store,
294
- )
250
+ _cache[name] = DefiLlamaFetchDexOverview()
295
251
  return _cache[name]
296
252
  elif name == "fetch_dex_summary":
297
253
  if name not in _cache:
298
- _cache[name] = DefiLlamaFetchDexSummary(
299
- skill_store=store,
300
- )
254
+ _cache[name] = DefiLlamaFetchDexSummary()
301
255
  return _cache[name]
302
256
  elif (
303
257
  name == "fetch_options_overview"
304
258
  ): # Handles both base and chain-specific overviews
305
259
  if name not in _cache:
306
- _cache[name] = DefiLlamaFetchOptionsOverview(
307
- skill_store=store,
308
- )
260
+ _cache[name] = DefiLlamaFetchOptionsOverview()
309
261
  return _cache[name]
310
262
 
311
263
  # Fees Skills
@@ -313,9 +265,7 @@ def get_defillama_skill(
313
265
  name == "fetch_fees_overview"
314
266
  ): # Handles both base and chain-specific overviews
315
267
  if name not in _cache:
316
- _cache[name] = DefiLlamaFetchFeesOverview(
317
- skill_store=store,
318
- )
268
+ _cache[name] = DefiLlamaFetchFeesOverview()
319
269
  return _cache[name]
320
270
 
321
271
  else:
@@ -6,7 +6,6 @@ from typing import Type
6
6
  from pydantic import BaseModel, Field
7
7
 
8
8
  from intentkit.abstracts.graph import AgentContext
9
- from intentkit.abstracts.skill import SkillStoreABC
10
9
  from intentkit.skills.base import IntentKitSkill
11
10
  from intentkit.skills.defillama.config.chains import (
12
11
  get_chain_from_alias,
@@ -28,9 +27,6 @@ class DefiLlamaBaseTool(IntentKitSkill):
28
27
  name: str = Field(description="The name of the tool")
29
28
  description: str = Field(description="A description of what the tool does")
30
29
  args_schema: Type[BaseModel]
31
- skill_store: SkillStoreABC = Field(
32
- description="The skill store for persisting data"
33
- )
34
30
  base_url: str = Field(
35
31
  default=DEFILLAMA_BASE_URL, description="Base URL for DeFi Llama API"
36
32
  )
@@ -64,9 +64,9 @@ class DefiLlamaFetchBatchHistoricalPrices(DefiLlamaBaseTool):
64
64
 
65
65
  Example:
66
66
  prices_tool = DefiLlamaFetchBatchHistoricalPrices(
67
- skill_store=store,
67
+ ,
68
68
  agent_id="agent_123",
69
- agent_store=agent_store
69
+ agent=agent
70
70
  )
71
71
  result = await prices_tool._arun(
72
72
  coins_timestamps={
@@ -46,9 +46,9 @@ class DefiLlamaFetchBlock(DefiLlamaBaseTool):
46
46
 
47
47
  Example:
48
48
  block_tool = DefiLlamaFetchBlock(
49
- skill_store=store,
49
+ ,
50
50
  agent_id="agent_123",
51
- agent_store=agent_store
51
+ agent=agent
52
52
  )
53
53
  result = await block_tool._arun(chain="ethereum")
54
54
  """
@@ -58,9 +58,9 @@ class DefiLlamaFetchCurrentPrices(DefiLlamaBaseTool):
58
58
 
59
59
  Example:
60
60
  prices_tool = DefiLlamaFetchCurrentPrices(
61
- skill_store=store,
61
+ ,
62
62
  agent_id="agent_123",
63
- agent_store=agent_store
63
+ agent=agent
64
64
  )
65
65
  result = await prices_tool._arun(
66
66
  coins=["ethereum:0x...", "coingecko:bitcoin"]
@@ -53,9 +53,9 @@ class DefiLlamaFetchFirstPrice(DefiLlamaBaseTool):
53
53
 
54
54
  Example:
55
55
  first_price_tool = DefiLlamaFetchFirstPrice(
56
- skill_store=store,
56
+ ,
57
57
  agent_id="agent_123",
58
- agent_store=agent_store
58
+ agent=agent
59
59
  )
60
60
  result = await first_price_tool._arun(
61
61
  coins=["ethereum:0x...", "coingecko:ethereum"]
@@ -61,9 +61,9 @@ class DefiLlamaFetchHistoricalPrices(DefiLlamaBaseTool):
61
61
 
62
62
  Example:
63
63
  prices_tool = DefiLlamaFetchHistoricalPrices(
64
- skill_store=store,
64
+ ,
65
65
  agent_id="agent_123",
66
- agent_store=agent_store
66
+ agent=agent
67
67
  )
68
68
  result = await prices_tool._arun(
69
69
  timestamp=1640995200, # Jan 1, 2022
@@ -62,9 +62,9 @@ class DefiLlamaFetchPriceChart(DefiLlamaBaseTool):
62
62
 
63
63
  Example:
64
64
  chart_tool = DefiLlamaFetchPriceChart(
65
- skill_store=store,
65
+ ,
66
66
  agent_id="agent_123",
67
- agent_store=agent_store
67
+ agent=agent
68
68
  )
69
69
  result = await chart_tool._arun(
70
70
  coins=["ethereum:0x...", "coingecko:ethereum"]
@@ -46,9 +46,9 @@ class DefiLlamaFetchPricePercentage(DefiLlamaBaseTool):
46
46
 
47
47
  Example:
48
48
  percentage_tool = DefiLlamaFetchPricePercentage(
49
- skill_store=store,
49
+ ,
50
50
  agent_id="agent_123",
51
- agent_store=agent_store
51
+ agent=agent
52
52
  )
53
53
  result = await percentage_tool._arun(
54
54
  coins=["ethereum:0x...", "coingecko:ethereum"]
@@ -85,9 +85,9 @@ class DefiLlamaFetchFeesOverview(DefiLlamaBaseTool):
85
85
 
86
86
  Example:
87
87
  overview_tool = DefiLlamaFetchFeesOverview(
88
- skill_store=store,
88
+ ,
89
89
  agent_id="agent_123",
90
- agent_store=agent_store
90
+ agent=agent
91
91
  )
92
92
  result = await overview_tool._arun()
93
93
  """
@@ -61,9 +61,9 @@ class DefiLlamaFetchStablecoinChains(DefiLlamaBaseTool):
61
61
 
62
62
  Example:
63
63
  chains_tool = DefiLlamaFetchStablecoinChains(
64
- skill_store=store,
64
+ ,
65
65
  agent_id="agent_123",
66
- agent_store=agent_store
66
+ agent=agent
67
67
  )
68
68
  result = await chains_tool._arun()
69
69
  """
@@ -69,9 +69,9 @@ class DefiLlamaFetchStablecoinCharts(DefiLlamaBaseTool):
69
69
 
70
70
  Example:
71
71
  charts_tool = DefiLlamaFetchStablecoinCharts(
72
- skill_store=store,
72
+ ,
73
73
  agent_id="agent_123",
74
- agent_store=agent_store
74
+ agent=agent
75
75
  )
76
76
  # Get all chains data
77
77
  result = await charts_tool._arun(stablecoin_id="1")
@@ -42,9 +42,9 @@ class DefiLlamaFetchStablecoinPrices(DefiLlamaBaseTool):
42
42
 
43
43
  Example:
44
44
  prices_tool = DefiLlamaFetchStablecoinPrices(
45
- skill_store=store,
45
+ ,
46
46
  agent_id="agent_123",
47
- agent_store=agent_store
47
+ agent=agent
48
48
  )
49
49
  result = await prices_tool._arun()
50
50
  """
@@ -87,9 +87,9 @@ class DefiLlamaFetchStablecoins(DefiLlamaBaseTool):
87
87
 
88
88
  Example:
89
89
  stablecoins_tool = DefiLlamaFetchStablecoins(
90
- skill_store=store,
90
+ ,
91
91
  agent_id="agent_123",
92
- agent_store=agent_store
92
+ agent=agent
93
93
  )
94
94
  result = await stablecoins_tool._arun()
95
95
  """
@@ -48,9 +48,9 @@ class DefiLlamaFetchChainHistoricalTvl(DefiLlamaBaseTool):
48
48
 
49
49
  Example:
50
50
  tvl_tool = DefiLlamaFetchChainHistoricalTvl(
51
- skill_store=store,
51
+ ,
52
52
  agent_id="agent_123",
53
- agent_store=agent_store
53
+ agent=agent
54
54
  )
55
55
  result = await tvl_tool._arun(chain="ethereum")
56
56
  """
@@ -63,9 +63,9 @@ class DefiLlamaFetchChains(DefiLlamaBaseTool):
63
63
 
64
64
  Example:
65
65
  chains_tool = DefiLlamaFetchChains(
66
- skill_store=store,
66
+ ,
67
67
  agent_id="agent_123",
68
- agent_store=agent_store
68
+ agent=agent
69
69
  )
70
70
  result = await chains_tool._arun()
71
71
  """
@@ -50,9 +50,9 @@ class DefiLlamaFetchHistoricalTvl(DefiLlamaBaseTool):
50
50
 
51
51
  Example:
52
52
  tvl_tool = DefiLlamaFetchHistoricalTvl(
53
- skill_store=store,
53
+ ,
54
54
  agent_id="agent_123",
55
- agent_store=agent_store
55
+ agent=agent
56
56
  )
57
57
  result = await tvl_tool._arun()
58
58
  """
@@ -144,9 +144,9 @@ class DefiLlamaFetchProtocol(DefiLlamaBaseTool):
144
144
 
145
145
  Example:
146
146
  protocol_tool = DefiLlamaFetchProtocol(
147
- skill_store=store,
147
+ ,
148
148
  agent_id="agent_123",
149
- agent_store=agent_store
149
+ agent=agent
150
150
  )
151
151
  result = await protocol_tool._arun(protocol="aave")
152
152
  """
@@ -38,9 +38,9 @@ class DefiLlamaFetchProtocolCurrentTvl(DefiLlamaBaseTool):
38
38
 
39
39
  Example:
40
40
  tvl_tool = DefiLlamaFetchProtocolCurrentTvl(
41
- skill_store=store,
41
+ ,
42
42
  agent_id="agent_123",
43
- agent_store=agent_store
43
+ agent=agent
44
44
  )
45
45
  result = await tvl_tool._arun(protocol="aave")
46
46
  """
@@ -128,9 +128,9 @@ class DefiLlamaFetchProtocols(DefiLlamaBaseTool):
128
128
 
129
129
  Example:
130
130
  protocols_tool = DefiLlamaFetchProtocols(
131
- skill_store=store,
131
+ ,
132
132
  agent_id="agent_123",
133
- agent_store=agent_store
133
+ agent=agent
134
134
  )
135
135
  result = await protocols_tool._arun()
136
136
  """
@@ -118,9 +118,9 @@ class DefiLlamaFetchDexOverview(DefiLlamaBaseTool):
118
118
 
119
119
  Example:
120
120
  overview_tool = DefiLlamaFetchDexOverview(
121
- skill_store=store,
121
+ ,
122
122
  agent_id="agent_123",
123
- agent_store=agent_store
123
+ agent=agent
124
124
  )
125
125
  result = await overview_tool._arun()
126
126
  """
@@ -78,9 +78,9 @@ class DefiLlamaFetchDexSummary(DefiLlamaBaseTool):
78
78
 
79
79
  Example:
80
80
  summary_tool = DefiLlamaFetchDexSummary(
81
- skill_store=store,
81
+ ,
82
82
  agent_id="agent_123",
83
- agent_store=agent_store
83
+ agent=agent
84
84
  )
85
85
  result = await summary_tool._arun(protocol="uniswap")
86
86
  """
@@ -86,9 +86,9 @@ class DefiLlamaFetchOptionsOverview(DefiLlamaBaseTool):
86
86
 
87
87
  Example:
88
88
  overview_tool = DefiLlamaFetchOptionsOverview(
89
- skill_store=store,
89
+ ,
90
90
  agent_id="agent_123",
91
- agent_store=agent_store
91
+ agent=agent
92
92
  )
93
93
  result = await overview_tool._arun()
94
94
  """
@@ -54,9 +54,9 @@ class DefiLlamaFetchPoolChart(DefiLlamaBaseTool):
54
54
 
55
55
  Example:
56
56
  chart_tool = DefiLlamaFetchPoolChart(
57
- skill_store=store,
57
+ ,
58
58
  agent_id="agent_123",
59
- agent_store=agent_store
59
+ agent=agent
60
60
  )
61
61
  result = await chart_tool._arun(
62
62
  pool_id="747c1d2a-c668-4682-b9f9-296708a3dd90"
@@ -87,9 +87,9 @@ class DefiLlamaFetchPools(DefiLlamaBaseTool):
87
87
 
88
88
  Example:
89
89
  pools_tool = DefiLlamaFetchPools(
90
- skill_store=store,
90
+ ,
91
91
  agent_id="agent_123",
92
- agent_store=agent_store
92
+ agent=agent
93
93
  )
94
94
  result = await pools_tool._arun()
95
95
  """