intentkit 0.7.5.dev1__py3-none-any.whl → 0.7.5.dev2__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.
- intentkit/__init__.py +1 -1
- intentkit/models/agent.py +206 -187
- intentkit/models/agent_public.json +98 -0
- intentkit/models/agent_schema.json +0 -97
- {intentkit-0.7.5.dev1.dist-info → intentkit-0.7.5.dev2.dist-info}/METADATA +1 -1
- {intentkit-0.7.5.dev1.dist-info → intentkit-0.7.5.dev2.dist-info}/RECORD +8 -7
- {intentkit-0.7.5.dev1.dist-info → intentkit-0.7.5.dev2.dist-info}/WHEEL +0 -0
- {intentkit-0.7.5.dev1.dist-info → intentkit-0.7.5.dev2.dist-info}/licenses/LICENSE +0 -0
intentkit/__init__.py
CHANGED
intentkit/models/agent.py
CHANGED
|
@@ -166,61 +166,22 @@ class AgentExample(BaseModel):
|
|
|
166
166
|
]
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
class
|
|
170
|
-
"""
|
|
169
|
+
class AgentUserInputColumns:
|
|
170
|
+
"""Abstract base class containing columns that are common to AgentTable and other tables."""
|
|
171
171
|
|
|
172
|
-
|
|
172
|
+
__abstract__ = True
|
|
173
173
|
|
|
174
|
-
|
|
175
|
-
String,
|
|
176
|
-
primary_key=True,
|
|
177
|
-
comment="Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens",
|
|
178
|
-
)
|
|
174
|
+
# Basic information fields from AgentCore
|
|
179
175
|
name = Column(
|
|
180
176
|
String,
|
|
181
177
|
nullable=True,
|
|
182
178
|
comment="Display name of the agent",
|
|
183
179
|
)
|
|
184
|
-
slug = Column(
|
|
185
|
-
String,
|
|
186
|
-
nullable=True,
|
|
187
|
-
comment="Slug of the agent, used for URL generation",
|
|
188
|
-
)
|
|
189
|
-
description = Column(
|
|
190
|
-
String,
|
|
191
|
-
nullable=True,
|
|
192
|
-
comment="Description of the agent, for public view, not contained in prompt",
|
|
193
|
-
)
|
|
194
|
-
external_website = Column(
|
|
195
|
-
String,
|
|
196
|
-
nullable=True,
|
|
197
|
-
comment="Link of external website of the agent, if you have one",
|
|
198
|
-
)
|
|
199
180
|
picture = Column(
|
|
200
181
|
String,
|
|
201
182
|
nullable=True,
|
|
202
183
|
comment="Picture of the agent",
|
|
203
184
|
)
|
|
204
|
-
ticker = Column(
|
|
205
|
-
String,
|
|
206
|
-
nullable=True,
|
|
207
|
-
comment="Ticker symbol of the agent",
|
|
208
|
-
)
|
|
209
|
-
token_address = Column(
|
|
210
|
-
String,
|
|
211
|
-
nullable=True,
|
|
212
|
-
comment="Token address of the agent",
|
|
213
|
-
)
|
|
214
|
-
token_pool = Column(
|
|
215
|
-
String,
|
|
216
|
-
nullable=True,
|
|
217
|
-
comment="Pool of the agent token",
|
|
218
|
-
)
|
|
219
|
-
fee_percentage = Column(
|
|
220
|
-
Numeric(22, 4),
|
|
221
|
-
nullable=True,
|
|
222
|
-
comment="Fee percentage of the agent",
|
|
223
|
-
)
|
|
224
185
|
purpose = Column(
|
|
225
186
|
String,
|
|
226
187
|
nullable=True,
|
|
@@ -236,39 +197,8 @@ class AgentTable(Base):
|
|
|
236
197
|
nullable=True,
|
|
237
198
|
comment="Principles or values of the agent",
|
|
238
199
|
)
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
nullable=True,
|
|
242
|
-
comment="Owner identifier of the agent, used for access control",
|
|
243
|
-
)
|
|
244
|
-
upstream_id = Column(
|
|
245
|
-
String,
|
|
246
|
-
index=True,
|
|
247
|
-
nullable=True,
|
|
248
|
-
comment="Upstream reference ID for idempotent operations",
|
|
249
|
-
)
|
|
250
|
-
upstream_extra = Column(
|
|
251
|
-
JSON().with_variant(JSONB(), "postgresql"),
|
|
252
|
-
nullable=True,
|
|
253
|
-
comment="Additional data store for upstream use",
|
|
254
|
-
)
|
|
255
|
-
wallet_provider = Column(
|
|
256
|
-
String,
|
|
257
|
-
nullable=True,
|
|
258
|
-
comment="Provider of the agent's wallet",
|
|
259
|
-
)
|
|
260
|
-
readonly_wallet_address = Column(
|
|
261
|
-
String,
|
|
262
|
-
nullable=True,
|
|
263
|
-
comment="Readonly wallet address of the agent",
|
|
264
|
-
)
|
|
265
|
-
network_id = Column(
|
|
266
|
-
String,
|
|
267
|
-
nullable=True,
|
|
268
|
-
default="base-mainnet",
|
|
269
|
-
comment="Network identifier",
|
|
270
|
-
)
|
|
271
|
-
# AI part
|
|
200
|
+
|
|
201
|
+
# AI model configuration fields from AgentCore
|
|
272
202
|
model = Column(
|
|
273
203
|
String,
|
|
274
204
|
nullable=True,
|
|
@@ -303,36 +233,44 @@ class AgentTable(Base):
|
|
|
303
233
|
default=0.0,
|
|
304
234
|
comment="Controls topic adherence (-2.0~2.0). Higher values allow more topic deviation, lower values enforce stricter topic adherence.",
|
|
305
235
|
)
|
|
306
|
-
|
|
236
|
+
|
|
237
|
+
# Wallet and network configuration fields from AgentCore
|
|
238
|
+
wallet_provider = Column(
|
|
307
239
|
String,
|
|
308
240
|
nullable=True,
|
|
309
|
-
|
|
310
|
-
comment="Strategy for managing short-term memory when context limit is reached. 'trim' removes oldest messages, 'summarize' creates summaries.",
|
|
241
|
+
comment="Provider of the agent's wallet",
|
|
311
242
|
)
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
JSON().with_variant(JSONB(), "postgresql"),
|
|
243
|
+
readonly_wallet_address = Column(
|
|
244
|
+
String,
|
|
315
245
|
nullable=True,
|
|
316
|
-
comment="
|
|
246
|
+
comment="Readonly wallet address of the agent",
|
|
317
247
|
)
|
|
318
|
-
|
|
319
|
-
example_intro = Column(
|
|
248
|
+
network_id = Column(
|
|
320
249
|
String,
|
|
321
250
|
nullable=True,
|
|
322
|
-
|
|
251
|
+
default="base-mainnet",
|
|
252
|
+
comment="Network identifier",
|
|
323
253
|
)
|
|
324
|
-
|
|
254
|
+
|
|
255
|
+
# Skills configuration from AgentCore
|
|
256
|
+
skills = Column(
|
|
325
257
|
JSON().with_variant(JSONB(), "postgresql"),
|
|
326
258
|
nullable=True,
|
|
327
|
-
comment="
|
|
259
|
+
comment="Dict of skills and their corresponding configurations",
|
|
328
260
|
)
|
|
329
|
-
|
|
330
|
-
|
|
261
|
+
|
|
262
|
+
# Additional fields from AgentUserInput
|
|
263
|
+
short_term_memory_strategy = Column(
|
|
264
|
+
String,
|
|
265
|
+
nullable=True,
|
|
266
|
+
default="trim",
|
|
267
|
+
comment="Strategy for managing short-term memory when context limit is reached. 'trim' removes oldest messages, 'summarize' creates summaries.",
|
|
268
|
+
)
|
|
269
|
+
autonomous = Column(
|
|
331
270
|
JSON().with_variant(JSONB(), "postgresql"),
|
|
332
271
|
nullable=True,
|
|
333
|
-
comment="
|
|
272
|
+
comment="Autonomous agent configurations",
|
|
334
273
|
)
|
|
335
|
-
# if telegram_entrypoint_enabled, the telegram_entrypoint_enabled will be enabled, telegram_config will be checked
|
|
336
274
|
telegram_entrypoint_enabled = Column(
|
|
337
275
|
Boolean,
|
|
338
276
|
nullable=True,
|
|
@@ -354,6 +292,39 @@ class AgentTable(Base):
|
|
|
354
292
|
nullable=True,
|
|
355
293
|
comment="Extra prompt for xmtp entrypoint",
|
|
356
294
|
)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
class AgentTable(Base, AgentUserInputColumns):
|
|
298
|
+
"""Agent table db model."""
|
|
299
|
+
|
|
300
|
+
__tablename__ = "agents"
|
|
301
|
+
|
|
302
|
+
id = Column(
|
|
303
|
+
String,
|
|
304
|
+
primary_key=True,
|
|
305
|
+
comment="Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens",
|
|
306
|
+
)
|
|
307
|
+
slug = Column(
|
|
308
|
+
String,
|
|
309
|
+
nullable=True,
|
|
310
|
+
comment="Slug of the agent, used for URL generation",
|
|
311
|
+
)
|
|
312
|
+
owner = Column(
|
|
313
|
+
String,
|
|
314
|
+
nullable=True,
|
|
315
|
+
comment="Owner identifier of the agent, used for access control",
|
|
316
|
+
)
|
|
317
|
+
upstream_id = Column(
|
|
318
|
+
String,
|
|
319
|
+
index=True,
|
|
320
|
+
nullable=True,
|
|
321
|
+
comment="Upstream reference ID for idempotent operations",
|
|
322
|
+
)
|
|
323
|
+
upstream_extra = Column(
|
|
324
|
+
JSON().with_variant(JSONB(), "postgresql"),
|
|
325
|
+
nullable=True,
|
|
326
|
+
comment="Additional data store for upstream use",
|
|
327
|
+
)
|
|
357
328
|
version = Column(
|
|
358
329
|
String,
|
|
359
330
|
nullable=True,
|
|
@@ -379,6 +350,49 @@ class AgentTable(Base):
|
|
|
379
350
|
nullable=True,
|
|
380
351
|
comment="Other helper data fields for query, come from agent and agent data",
|
|
381
352
|
)
|
|
353
|
+
|
|
354
|
+
# Fields moved from AgentUserInputColumns that are no longer in AgentUserInput
|
|
355
|
+
description = Column(
|
|
356
|
+
String,
|
|
357
|
+
nullable=True,
|
|
358
|
+
comment="Description of the agent, for public view, not contained in prompt",
|
|
359
|
+
)
|
|
360
|
+
external_website = Column(
|
|
361
|
+
String,
|
|
362
|
+
nullable=True,
|
|
363
|
+
comment="Link of external website of the agent, if you have one",
|
|
364
|
+
)
|
|
365
|
+
ticker = Column(
|
|
366
|
+
String,
|
|
367
|
+
nullable=True,
|
|
368
|
+
comment="Ticker symbol of the agent",
|
|
369
|
+
)
|
|
370
|
+
token_address = Column(
|
|
371
|
+
String,
|
|
372
|
+
nullable=True,
|
|
373
|
+
comment="Token address of the agent",
|
|
374
|
+
)
|
|
375
|
+
token_pool = Column(
|
|
376
|
+
String,
|
|
377
|
+
nullable=True,
|
|
378
|
+
comment="Pool of the agent token",
|
|
379
|
+
)
|
|
380
|
+
fee_percentage = Column(
|
|
381
|
+
Numeric(22, 4),
|
|
382
|
+
nullable=True,
|
|
383
|
+
comment="Fee percentage of the agent",
|
|
384
|
+
)
|
|
385
|
+
example_intro = Column(
|
|
386
|
+
String,
|
|
387
|
+
nullable=True,
|
|
388
|
+
comment="Introduction for example interactions",
|
|
389
|
+
)
|
|
390
|
+
examples = Column(
|
|
391
|
+
JSON().with_variant(JSONB(), "postgresql"),
|
|
392
|
+
nullable=True,
|
|
393
|
+
comment="List of example interactions for the agent",
|
|
394
|
+
)
|
|
395
|
+
|
|
382
396
|
# auto timestamp
|
|
383
397
|
created_at = Column(
|
|
384
398
|
DateTime(timezone=True),
|
|
@@ -411,29 +425,6 @@ class AgentCore(BaseModel):
|
|
|
411
425
|
},
|
|
412
426
|
),
|
|
413
427
|
]
|
|
414
|
-
description: Annotated[
|
|
415
|
-
Optional[str],
|
|
416
|
-
PydanticField(
|
|
417
|
-
default=None,
|
|
418
|
-
description="Description of the agent, for public view, not contained in prompt",
|
|
419
|
-
json_schema_extra={
|
|
420
|
-
"x-group": "basic",
|
|
421
|
-
"x-placeholder": "Introduce your agent",
|
|
422
|
-
},
|
|
423
|
-
),
|
|
424
|
-
]
|
|
425
|
-
external_website: Annotated[
|
|
426
|
-
Optional[str],
|
|
427
|
-
PydanticField(
|
|
428
|
-
default=None,
|
|
429
|
-
description="Link of external website of the agent, if you have one",
|
|
430
|
-
json_schema_extra={
|
|
431
|
-
"x-group": "basic",
|
|
432
|
-
"x-placeholder": "Enter agent external website url",
|
|
433
|
-
"format": "uri",
|
|
434
|
-
},
|
|
435
|
-
),
|
|
436
|
-
]
|
|
437
428
|
picture: Annotated[
|
|
438
429
|
Optional[str],
|
|
439
430
|
PydanticField(
|
|
@@ -445,54 +436,6 @@ class AgentCore(BaseModel):
|
|
|
445
436
|
},
|
|
446
437
|
),
|
|
447
438
|
]
|
|
448
|
-
ticker: Annotated[
|
|
449
|
-
Optional[str],
|
|
450
|
-
PydanticField(
|
|
451
|
-
default=None,
|
|
452
|
-
description="Ticker symbol of the agent",
|
|
453
|
-
max_length=10,
|
|
454
|
-
min_length=1,
|
|
455
|
-
json_schema_extra={
|
|
456
|
-
"x-group": "basic",
|
|
457
|
-
"x-placeholder": "If one day, your agent has it's own token, what will it be?",
|
|
458
|
-
},
|
|
459
|
-
),
|
|
460
|
-
]
|
|
461
|
-
token_address: Annotated[
|
|
462
|
-
Optional[str],
|
|
463
|
-
PydanticField(
|
|
464
|
-
default=None,
|
|
465
|
-
description="Token address of the agent",
|
|
466
|
-
max_length=42,
|
|
467
|
-
json_schema_extra={
|
|
468
|
-
"x-group": "internal",
|
|
469
|
-
"readOnly": True,
|
|
470
|
-
},
|
|
471
|
-
),
|
|
472
|
-
]
|
|
473
|
-
token_pool: Annotated[
|
|
474
|
-
Optional[str],
|
|
475
|
-
PydanticField(
|
|
476
|
-
default=None,
|
|
477
|
-
description="Pool of the agent token",
|
|
478
|
-
max_length=42,
|
|
479
|
-
json_schema_extra={
|
|
480
|
-
"x-group": "internal",
|
|
481
|
-
"readOnly": True,
|
|
482
|
-
},
|
|
483
|
-
),
|
|
484
|
-
]
|
|
485
|
-
fee_percentage: Annotated[
|
|
486
|
-
Optional[Decimal],
|
|
487
|
-
PydanticField(
|
|
488
|
-
default=None,
|
|
489
|
-
description="Fee percentage of the agent",
|
|
490
|
-
ge=Decimal("0.0"),
|
|
491
|
-
json_schema_extra={
|
|
492
|
-
"x-group": "basic",
|
|
493
|
-
},
|
|
494
|
-
),
|
|
495
|
-
]
|
|
496
439
|
purpose: Annotated[
|
|
497
440
|
Optional[str],
|
|
498
441
|
PydanticField(
|
|
@@ -736,29 +679,6 @@ class AgentUserInput(AgentCore):
|
|
|
736
679
|
},
|
|
737
680
|
),
|
|
738
681
|
]
|
|
739
|
-
example_intro: Annotated[
|
|
740
|
-
Optional[str],
|
|
741
|
-
PydanticField(
|
|
742
|
-
default=None,
|
|
743
|
-
description="Introduction of the example",
|
|
744
|
-
max_length=2000,
|
|
745
|
-
json_schema_extra={
|
|
746
|
-
"x-group": "examples",
|
|
747
|
-
},
|
|
748
|
-
),
|
|
749
|
-
]
|
|
750
|
-
examples: Annotated[
|
|
751
|
-
Optional[List[AgentExample]],
|
|
752
|
-
PydanticField(
|
|
753
|
-
default=None,
|
|
754
|
-
description="List of example prompts for the agent",
|
|
755
|
-
max_length=6,
|
|
756
|
-
json_schema_extra={
|
|
757
|
-
"x-group": "examples",
|
|
758
|
-
"x-inline": True,
|
|
759
|
-
},
|
|
760
|
-
),
|
|
761
|
-
]
|
|
762
682
|
# if telegram_entrypoint_enabled, the telegram_entrypoint_enabled will be enabled, telegram_config will be checked
|
|
763
683
|
telegram_entrypoint_enabled: Annotated[
|
|
764
684
|
Optional[bool],
|
|
@@ -1019,7 +939,106 @@ class AgentCreate(AgentUpdate):
|
|
|
1019
939
|
return Agent.model_validate(db_agent)
|
|
1020
940
|
|
|
1021
941
|
|
|
1022
|
-
class
|
|
942
|
+
class AgentPublicInfo(BaseModel):
|
|
943
|
+
"""Public information of the agent."""
|
|
944
|
+
|
|
945
|
+
description: Annotated[
|
|
946
|
+
Optional[str],
|
|
947
|
+
PydanticField(
|
|
948
|
+
default=None,
|
|
949
|
+
description="Description of the agent, for public view, not contained in prompt",
|
|
950
|
+
json_schema_extra={
|
|
951
|
+
"x-group": "basic",
|
|
952
|
+
"x-placeholder": "Introduce your agent",
|
|
953
|
+
},
|
|
954
|
+
),
|
|
955
|
+
]
|
|
956
|
+
external_website: Annotated[
|
|
957
|
+
Optional[str],
|
|
958
|
+
PydanticField(
|
|
959
|
+
default=None,
|
|
960
|
+
description="Link of external website of the agent, if you have one",
|
|
961
|
+
json_schema_extra={
|
|
962
|
+
"x-group": "basic",
|
|
963
|
+
"x-placeholder": "Enter agent external website url",
|
|
964
|
+
"format": "uri",
|
|
965
|
+
},
|
|
966
|
+
),
|
|
967
|
+
]
|
|
968
|
+
ticker: Annotated[
|
|
969
|
+
Optional[str],
|
|
970
|
+
PydanticField(
|
|
971
|
+
default=None,
|
|
972
|
+
description="Ticker symbol of the agent",
|
|
973
|
+
max_length=10,
|
|
974
|
+
min_length=1,
|
|
975
|
+
json_schema_extra={
|
|
976
|
+
"x-group": "basic",
|
|
977
|
+
"x-placeholder": "If one day, your agent has it's own token, what will it be?",
|
|
978
|
+
},
|
|
979
|
+
),
|
|
980
|
+
]
|
|
981
|
+
token_address: Annotated[
|
|
982
|
+
Optional[str],
|
|
983
|
+
PydanticField(
|
|
984
|
+
default=None,
|
|
985
|
+
description="Token address of the agent",
|
|
986
|
+
max_length=42,
|
|
987
|
+
json_schema_extra={
|
|
988
|
+
"x-group": "internal",
|
|
989
|
+
"readOnly": True,
|
|
990
|
+
},
|
|
991
|
+
),
|
|
992
|
+
]
|
|
993
|
+
token_pool: Annotated[
|
|
994
|
+
Optional[str],
|
|
995
|
+
PydanticField(
|
|
996
|
+
default=None,
|
|
997
|
+
description="Pool of the agent token",
|
|
998
|
+
max_length=42,
|
|
999
|
+
json_schema_extra={
|
|
1000
|
+
"x-group": "internal",
|
|
1001
|
+
"readOnly": True,
|
|
1002
|
+
},
|
|
1003
|
+
),
|
|
1004
|
+
]
|
|
1005
|
+
fee_percentage: Annotated[
|
|
1006
|
+
Optional[Decimal],
|
|
1007
|
+
PydanticField(
|
|
1008
|
+
default=None,
|
|
1009
|
+
description="Fee percentage of the agent",
|
|
1010
|
+
ge=Decimal("0.0"),
|
|
1011
|
+
json_schema_extra={
|
|
1012
|
+
"x-group": "basic",
|
|
1013
|
+
},
|
|
1014
|
+
),
|
|
1015
|
+
]
|
|
1016
|
+
example_intro: Annotated[
|
|
1017
|
+
Optional[str],
|
|
1018
|
+
PydanticField(
|
|
1019
|
+
default=None,
|
|
1020
|
+
description="Introduction of the example",
|
|
1021
|
+
max_length=2000,
|
|
1022
|
+
json_schema_extra={
|
|
1023
|
+
"x-group": "examples",
|
|
1024
|
+
},
|
|
1025
|
+
),
|
|
1026
|
+
]
|
|
1027
|
+
examples: Annotated[
|
|
1028
|
+
Optional[List[AgentExample]],
|
|
1029
|
+
PydanticField(
|
|
1030
|
+
default=None,
|
|
1031
|
+
description="List of example prompts for the agent",
|
|
1032
|
+
max_length=6,
|
|
1033
|
+
json_schema_extra={
|
|
1034
|
+
"x-group": "examples",
|
|
1035
|
+
"x-inline": True,
|
|
1036
|
+
},
|
|
1037
|
+
),
|
|
1038
|
+
]
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
class Agent(AgentCreate, AgentPublicInfo):
|
|
1023
1042
|
"""Agent model."""
|
|
1024
1043
|
|
|
1025
1044
|
model_config = ConfigDict(from_attributes=True)
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "AgentPublicInfo",
|
|
5
|
+
"description": "Public information of the agent",
|
|
6
|
+
"properties": {
|
|
7
|
+
"description": {
|
|
8
|
+
"title": "Description",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Description of the agent, for public view, not contained in prompt",
|
|
11
|
+
"x-group": "basic",
|
|
12
|
+
"x-placeholder": "Introduce your agent"
|
|
13
|
+
},
|
|
14
|
+
"external_website": {
|
|
15
|
+
"title": "External Website",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Link of external website of the agent, if you have one",
|
|
18
|
+
"format": "uri",
|
|
19
|
+
"x-group": "basic",
|
|
20
|
+
"x-placeholder": "Enter agent external website url"
|
|
21
|
+
},
|
|
22
|
+
"ticker": {
|
|
23
|
+
"title": "Ticker",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Ticker symbol of the agent",
|
|
26
|
+
"maxLength": 10,
|
|
27
|
+
"minLength": 1,
|
|
28
|
+
"x-group": "basic",
|
|
29
|
+
"x-placeholder": "If one day, your agent has it's own token, what will it be?"
|
|
30
|
+
},
|
|
31
|
+
"token_address": {
|
|
32
|
+
"title": "Token Address",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "Token address of the agent",
|
|
35
|
+
"maxLength": 42,
|
|
36
|
+
"x-group": "internal",
|
|
37
|
+
"readOnly": true
|
|
38
|
+
},
|
|
39
|
+
"token_pool": {
|
|
40
|
+
"title": "Token Pool",
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "Pool of the agent token",
|
|
43
|
+
"maxLength": 42,
|
|
44
|
+
"x-group": "internal",
|
|
45
|
+
"readOnly": true
|
|
46
|
+
},
|
|
47
|
+
"fee_percentage": {
|
|
48
|
+
"title": "Fee Percentage",
|
|
49
|
+
"type": "number",
|
|
50
|
+
"description": "Fee percentage of the agent",
|
|
51
|
+
"minimum": 0,
|
|
52
|
+
"x-group": "basic"
|
|
53
|
+
},
|
|
54
|
+
"example_intro": {
|
|
55
|
+
"title": "Example Introduction",
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "Introduction of the example",
|
|
58
|
+
"maxLength": 2000,
|
|
59
|
+
"x-group": "examples"
|
|
60
|
+
},
|
|
61
|
+
"examples": {
|
|
62
|
+
"title": "Examples",
|
|
63
|
+
"type": "array",
|
|
64
|
+
"description": "List of example prompts for the agent",
|
|
65
|
+
"maxItems": 6,
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"name": {
|
|
70
|
+
"title": "Name",
|
|
71
|
+
"type": "string",
|
|
72
|
+
"description": "Name of the example",
|
|
73
|
+
"maxLength": 50,
|
|
74
|
+
"x-group": "examples"
|
|
75
|
+
},
|
|
76
|
+
"description": {
|
|
77
|
+
"title": "Description",
|
|
78
|
+
"type": "string",
|
|
79
|
+
"description": "Description of the example",
|
|
80
|
+
"maxLength": 200,
|
|
81
|
+
"x-group": "examples"
|
|
82
|
+
},
|
|
83
|
+
"prompt": {
|
|
84
|
+
"title": "Prompt",
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "Example prompt",
|
|
87
|
+
"maxLength": 2000,
|
|
88
|
+
"x-group": "examples"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"required": ["name", "description", "prompt"]
|
|
92
|
+
},
|
|
93
|
+
"x-group": "examples",
|
|
94
|
+
"x-inline": true
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"additionalProperties": true
|
|
98
|
+
}
|
|
@@ -67,34 +67,6 @@
|
|
|
67
67
|
"x-group": "basic",
|
|
68
68
|
"x-placeholder": "Enter agent name"
|
|
69
69
|
},
|
|
70
|
-
"fee_percentage": {
|
|
71
|
-
"title": "Service Fee",
|
|
72
|
-
"type": "number",
|
|
73
|
-
"description": "A CAPs % added to the base cost, paid to the agent for delivering its unique logic and execution.",
|
|
74
|
-
"minimum": 0,
|
|
75
|
-
"maximum": 100,
|
|
76
|
-
"default": 0,
|
|
77
|
-
"x-step": 1,
|
|
78
|
-
"x-group": "basic",
|
|
79
|
-
"x-component": "slider-with-box",
|
|
80
|
-
"x-nft-extra": 10
|
|
81
|
-
},
|
|
82
|
-
"description": {
|
|
83
|
-
"title": "Description",
|
|
84
|
-
"type": "string",
|
|
85
|
-
"description": "Description of the agent, for public view, not contained in prompt",
|
|
86
|
-
"maxLength": 3000,
|
|
87
|
-
"x-group": "basic",
|
|
88
|
-
"x-placeholder": "Introduce your agent"
|
|
89
|
-
},
|
|
90
|
-
"external_website": {
|
|
91
|
-
"title": "External Website",
|
|
92
|
-
"type": "string",
|
|
93
|
-
"description": "Link of external website of the agent, if you have one",
|
|
94
|
-
"format": "uri",
|
|
95
|
-
"x-group": "basic",
|
|
96
|
-
"x-placeholder": "Enter agent external website url"
|
|
97
|
-
},
|
|
98
70
|
"picture": {
|
|
99
71
|
"title": "Picture",
|
|
100
72
|
"type": "string",
|
|
@@ -563,52 +535,6 @@
|
|
|
563
535
|
"x-group": "autonomous",
|
|
564
536
|
"x-inline": true
|
|
565
537
|
},
|
|
566
|
-
"example_intro": {
|
|
567
|
-
"title": "Agent Greeting",
|
|
568
|
-
"type": "string",
|
|
569
|
-
"description": "This is the first thing users see when they meet your agent. Use it to explain what your agent does, the services it provides and how it fits into the Nation.",
|
|
570
|
-
"maxLength": 2000,
|
|
571
|
-
"x-group": "examples"
|
|
572
|
-
},
|
|
573
|
-
"examples": {
|
|
574
|
-
"title": "Quick Action List",
|
|
575
|
-
"type": "array",
|
|
576
|
-
"maxItems": 6,
|
|
577
|
-
"items": {
|
|
578
|
-
"type": "object",
|
|
579
|
-
"properties": {
|
|
580
|
-
"name": {
|
|
581
|
-
"title": "Action Name",
|
|
582
|
-
"type": "string",
|
|
583
|
-
"description": "Quick action will show up on the UI as this name",
|
|
584
|
-
"maxLength": 50,
|
|
585
|
-
"x-group": "examples"
|
|
586
|
-
},
|
|
587
|
-
"description": {
|
|
588
|
-
"title": "Description",
|
|
589
|
-
"type": "string",
|
|
590
|
-
"description": "Description of what this action does",
|
|
591
|
-
"maxLength": 200,
|
|
592
|
-
"x-group": "examples"
|
|
593
|
-
},
|
|
594
|
-
"prompt": {
|
|
595
|
-
"title": "Prompt",
|
|
596
|
-
"type": "string",
|
|
597
|
-
"description": "When user clicks this action, the agent will execute this prompt",
|
|
598
|
-
"maxLength": 2000,
|
|
599
|
-
"x-str-type": "prompt",
|
|
600
|
-
"x-group": "examples"
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
"required": [
|
|
604
|
-
"name",
|
|
605
|
-
"description",
|
|
606
|
-
"prompt"
|
|
607
|
-
]
|
|
608
|
-
},
|
|
609
|
-
"description": "Quick clickable actions users can use with the agent without having to type any text instructions.",
|
|
610
|
-
"x-group": "examples"
|
|
611
|
-
},
|
|
612
538
|
"wallet_provider": {
|
|
613
539
|
"title": "Wallet Provider",
|
|
614
540
|
"type": "string",
|
|
@@ -642,29 +568,6 @@
|
|
|
642
568
|
"optimism-sepolia"
|
|
643
569
|
],
|
|
644
570
|
"x-group": "onchain"
|
|
645
|
-
},
|
|
646
|
-
"ticker": {
|
|
647
|
-
"title": "Ticker",
|
|
648
|
-
"type": "string",
|
|
649
|
-
"description": "Ticker symbol of the agent",
|
|
650
|
-
"maxLength": 10,
|
|
651
|
-
"minLength": 1,
|
|
652
|
-
"x-group": "onchain",
|
|
653
|
-
"x-placeholder": "Enter agent ticker"
|
|
654
|
-
},
|
|
655
|
-
"token_address": {
|
|
656
|
-
"title": "Token Address",
|
|
657
|
-
"type": "string",
|
|
658
|
-
"description": "Token address of the agent, if it already has one",
|
|
659
|
-
"maxLength": 42,
|
|
660
|
-
"x-group": "onchain"
|
|
661
|
-
},
|
|
662
|
-
"token_pool": {
|
|
663
|
-
"title": "Token Pool",
|
|
664
|
-
"type": "string",
|
|
665
|
-
"description": "Pool of the agent token, if it has one",
|
|
666
|
-
"maxLength": 42,
|
|
667
|
-
"x-group": "onchain"
|
|
668
571
|
}
|
|
669
572
|
},
|
|
670
573
|
"if": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: intentkit
|
|
3
|
-
Version: 0.7.5.
|
|
3
|
+
Version: 0.7.5.dev2
|
|
4
4
|
Summary: Intent-based AI Agent Platform - Core Package
|
|
5
5
|
Project-URL: Homepage, https://github.com/crestalnetwork/intentkit
|
|
6
6
|
Project-URL: Repository, https://github.com/crestalnetwork/intentkit
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
intentkit/__init__.py,sha256=
|
|
1
|
+
intentkit/__init__.py,sha256=VCU0QsMzeGTe5uO6NnEMoH1WLduLphPqje1w98EwKxY,383
|
|
2
2
|
intentkit/abstracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
intentkit/abstracts/agent.py,sha256=108gb5W8Q1Sy4G55F2_ZFv2-_CnY76qrBtpIr0Oxxqk,1489
|
|
4
4
|
intentkit/abstracts/api.py,sha256=ZUc24vaQvQVbbjznx7bV0lbbQxdQPfEV8ZxM2R6wZWo,166
|
|
@@ -21,9 +21,10 @@ intentkit/core/credit.py,sha256=vW3I5c_fKe_bmFvOc9_EaMsMuAbqw-XQ_NbJg_okdA8,7528
|
|
|
21
21
|
intentkit/core/engine.py,sha256=c5EJp2uxseSv5CLCEAH1UPgqLw6d2C_KlJzOQxSyrM4,36025
|
|
22
22
|
intentkit/core/node.py,sha256=7h9zgDSd928bzUi3m3EZnKkhbwqlbRAQUr_uz7gKB5Y,8880
|
|
23
23
|
intentkit/core/prompt.py,sha256=ssiyKHDNIjQOLU0KwUlIFX3jy51TqgeKOxrwnW4HBkw,15875
|
|
24
|
-
intentkit/models/agent.py,sha256=
|
|
24
|
+
intentkit/models/agent.py,sha256=tFBJjH18q0giEEydAH3vT_O4NtvZPXwKXqOoHiPjXsI,60951
|
|
25
25
|
intentkit/models/agent_data.py,sha256=mVsiK8TziYa1W1ujU1KwI9osIVIeSM7XJEogGRL1WVU,28263
|
|
26
|
-
intentkit/models/
|
|
26
|
+
intentkit/models/agent_public.json,sha256=0X8Bd2WOobDJLsok8avWNzmzu4uvKSGEyy6Myn53eT4,2802
|
|
27
|
+
intentkit/models/agent_schema.json,sha256=hFGUE57JIiN8V4olgLf2LBXPejA2QLiQoFc6riM1UFo,17139
|
|
27
28
|
intentkit/models/app_setting.py,sha256=iYbW63QD91bt4oEYV3wOXHuRFav2b4VXLwb_StgUQtQ,8230
|
|
28
29
|
intentkit/models/base.py,sha256=o-zRjVrak-f5Jokdvj8BjLm8gcC3yYiYMCTLegwT2lA,185
|
|
29
30
|
intentkit/models/chat.py,sha256=cDccEHU8nd7Y5uhrHDCuZGwqrRwhqCaeztMiZcemiug,20469
|
|
@@ -417,7 +418,7 @@ intentkit/utils/random.py,sha256=DymMxu9g0kuQLgJUqalvgksnIeLdS-v0aRk5nQU0mLI,452
|
|
|
417
418
|
intentkit/utils/s3.py,sha256=9trQNkKQ5VgxWsewVsV8Y0q_pXzGRvsCYP8xauyUYkg,8549
|
|
418
419
|
intentkit/utils/slack_alert.py,sha256=s7UpRgyzLW7Pbmt8cKzTJgMA9bm4EP-1rQ5KXayHu6E,2264
|
|
419
420
|
intentkit/utils/tx.py,sha256=2yLLGuhvfBEY5n_GJ8wmIWLCzn0FsYKv5kRNzw_sLUI,1454
|
|
420
|
-
intentkit-0.7.5.
|
|
421
|
-
intentkit-0.7.5.
|
|
422
|
-
intentkit-0.7.5.
|
|
423
|
-
intentkit-0.7.5.
|
|
421
|
+
intentkit-0.7.5.dev2.dist-info/METADATA,sha256=bqXIkDehk5PtC8QooQUYQ9VAG2g2GXgb4JmFUw3letA,6409
|
|
422
|
+
intentkit-0.7.5.dev2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
423
|
+
intentkit-0.7.5.dev2.dist-info/licenses/LICENSE,sha256=Bln6DhK-LtcO4aXy-PBcdZv2f24MlJFm_qn222biJtE,1071
|
|
424
|
+
intentkit-0.7.5.dev2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|