letta-client 1.0.0a2__py3-none-any.whl → 1.0.0a4__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 letta-client might be problematic. Click here for more details.

Files changed (86) hide show
  1. letta_client/__init__.py +12 -0
  2. letta_client/agents/blocks/client.py +28 -14
  3. letta_client/agents/blocks/raw_client.py +14 -0
  4. letta_client/agents/client.py +36 -8
  5. letta_client/agents/context/client.py +4 -2
  6. letta_client/agents/context/raw_client.py +2 -0
  7. letta_client/agents/core_memory/client.py +4 -2
  8. letta_client/agents/core_memory/raw_client.py +2 -0
  9. letta_client/agents/files/client.py +24 -12
  10. letta_client/agents/files/raw_client.py +12 -0
  11. letta_client/agents/folders/client.py +20 -10
  12. letta_client/agents/folders/raw_client.py +10 -0
  13. letta_client/agents/groups/client.py +4 -2
  14. letta_client/agents/groups/raw_client.py +2 -0
  15. letta_client/agents/messages/client.py +40 -20
  16. letta_client/agents/messages/raw_client.py +20 -0
  17. letta_client/agents/passages/client.py +16 -8
  18. letta_client/agents/passages/raw_client.py +8 -0
  19. letta_client/agents/raw_client.py +28 -0
  20. letta_client/agents/sources/client.py +20 -10
  21. letta_client/agents/sources/raw_client.py +10 -0
  22. letta_client/agents/tools/client.py +24 -12
  23. letta_client/agents/tools/raw_client.py +12 -0
  24. letta_client/archives/client.py +4 -2
  25. letta_client/archives/raw_client.py +2 -0
  26. letta_client/blocks/agents/client.py +4 -2
  27. letta_client/blocks/agents/raw_client.py +2 -0
  28. letta_client/blocks/client.py +12 -6
  29. letta_client/blocks/raw_client.py +6 -0
  30. letta_client/core/client_wrapper.py +2 -2
  31. letta_client/groups/client.py +12 -6
  32. letta_client/groups/messages/client.py +24 -12
  33. letta_client/groups/messages/raw_client.py +12 -0
  34. letta_client/groups/raw_client.py +6 -0
  35. letta_client/identities/agents/client.py +4 -2
  36. letta_client/identities/agents/raw_client.py +2 -0
  37. letta_client/identities/blocks/client.py +4 -2
  38. letta_client/identities/blocks/raw_client.py +2 -0
  39. letta_client/identities/client.py +12 -6
  40. letta_client/identities/properties/client.py +4 -2
  41. letta_client/identities/properties/raw_client.py +2 -0
  42. letta_client/identities/raw_client.py +6 -0
  43. letta_client/jobs/client.py +12 -6
  44. letta_client/jobs/raw_client.py +6 -0
  45. letta_client/providers/client.py +16 -8
  46. letta_client/providers/raw_client.py +8 -0
  47. letta_client/sources/client.py +24 -12
  48. letta_client/sources/files/client.py +16 -8
  49. letta_client/sources/files/raw_client.py +8 -0
  50. letta_client/sources/passages/client.py +4 -2
  51. letta_client/sources/passages/raw_client.py +2 -0
  52. letta_client/sources/raw_client.py +12 -0
  53. letta_client/steps/client.py +4 -2
  54. letta_client/steps/feedback/client.py +4 -2
  55. letta_client/steps/feedback/raw_client.py +2 -0
  56. letta_client/steps/messages/client.py +4 -2
  57. letta_client/steps/messages/raw_client.py +2 -0
  58. letta_client/steps/metrics/client.py +4 -2
  59. letta_client/steps/metrics/raw_client.py +2 -0
  60. letta_client/steps/raw_client.py +2 -0
  61. letta_client/steps/trace/client.py +4 -2
  62. letta_client/steps/trace/raw_client.py +2 -0
  63. letta_client/templates/__init__.py +8 -0
  64. letta_client/templates/types/__init__.py +16 -0
  65. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config.py +6 -0
  66. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls.py +14 -0
  67. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls_item.py +7 -0
  68. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item.py +6 -0
  69. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution.py +15 -0
  70. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution_item.py +7 -0
  71. letta_client/tools/client.py +42 -6
  72. letta_client/tools/raw_client.py +36 -0
  73. letta_client/types/__init__.py +4 -0
  74. letta_client/types/approval_request_message.py +12 -0
  75. letta_client/types/approval_request_message_allowed_tool_calls.py +8 -0
  76. letta_client/types/approval_request_message_requested_tool_calls.py +8 -0
  77. letta_client/types/internal_template_agent_create.py +5 -0
  78. letta_client/types/letta_schemas_agent_file_agent_schema.py +5 -0
  79. letta_client/types/letta_schemas_agent_file_tool_schema.py +5 -0
  80. letta_client/types/llm_config.py +5 -0
  81. letta_client/types/run_metrics.py +5 -0
  82. letta_client/types/tool.py +5 -0
  83. letta_client/types/tool_create.py +5 -0
  84. {letta_client-1.0.0a2.dist-info → letta_client-1.0.0a4.dist-info}/METADATA +1 -1
  85. {letta_client-1.0.0a2.dist-info → letta_client-1.0.0a4.dist-info}/RECORD +86 -80
  86. {letta_client-1.0.0a2.dist-info → letta_client-1.0.0a4.dist-info}/WHEEL +0 -0
letta_client/__init__.py CHANGED
@@ -15,6 +15,8 @@ from .types import (
15
15
  ApprovalCreate,
16
16
  ApprovalCreateApprovalsItem,
17
17
  ApprovalRequestMessage,
18
+ ApprovalRequestMessageAllowedToolCalls,
19
+ ApprovalRequestMessageRequestedToolCalls,
18
20
  ApprovalRequestMessageToolCall,
19
21
  ApprovalResponseMessage,
20
22
  ApprovalResponseMessageApprovalsItem,
@@ -444,6 +446,8 @@ from .templates import (
444
446
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType,
445
447
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapper,
446
448
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapperItem,
449
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls,
450
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem,
447
451
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategory,
448
452
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategoryItem,
449
453
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderName,
@@ -783,6 +787,8 @@ from .templates import (
783
787
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDefaultRequiresApprovalItem,
784
788
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescription,
785
789
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescriptionItem,
790
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution,
791
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem,
786
792
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchema,
787
793
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchemaItem,
788
794
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemLastUpdatedById,
@@ -925,6 +931,8 @@ __all__ = [
925
931
  "ApprovalCreate",
926
932
  "ApprovalCreateApprovalsItem",
927
933
  "ApprovalRequestMessage",
934
+ "ApprovalRequestMessageAllowedToolCalls",
935
+ "ApprovalRequestMessageRequestedToolCalls",
928
936
  "ApprovalRequestMessageToolCall",
929
937
  "ApprovalResponseMessage",
930
938
  "ApprovalResponseMessageApprovalsItem",
@@ -1277,6 +1285,8 @@ __all__ = [
1277
1285
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType",
1278
1286
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapper",
1279
1287
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapperItem",
1288
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls",
1289
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem",
1280
1290
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategory",
1281
1291
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategoryItem",
1282
1292
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderName",
@@ -1616,6 +1626,8 @@ __all__ = [
1616
1626
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDefaultRequiresApprovalItem",
1617
1627
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescription",
1618
1628
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescriptionItem",
1629
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution",
1630
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem",
1619
1631
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchema",
1620
1632
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchemaItem",
1621
1633
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemLastUpdatedById",
@@ -39,6 +39,7 @@ class BlocksClient:
39
39
  agent_id : str
40
40
 
41
41
  block_label : str
42
+ The ID of the agent in the format 'agent-<uuid4>'
42
43
 
43
44
  request_options : typing.Optional[RequestOptions]
44
45
  Request-specific configuration.
@@ -58,7 +59,7 @@ class BlocksClient:
58
59
  )
59
60
  client.agents.blocks.retrieve(
60
61
  agent_id="agent_id",
61
- block_label="block_label",
62
+ block_label="agent-123e4567-e89b-42d3-8456-426614174000",
62
63
  )
63
64
  """
64
65
  _response = self._raw_client.retrieve(agent_id, block_label, request_options=request_options)
@@ -93,6 +94,7 @@ class BlocksClient:
93
94
  agent_id : str
94
95
 
95
96
  block_label : str
97
+ The ID of the agent in the format 'agent-<uuid4>'
96
98
 
97
99
  value : typing.Optional[str]
98
100
  Value of the block.
@@ -154,7 +156,7 @@ class BlocksClient:
154
156
  )
155
157
  client.agents.blocks.modify(
156
158
  agent_id="agent_id",
157
- block_label="block_label",
159
+ block_label="agent-123e4567-e89b-42d3-8456-426614174000",
158
160
  )
159
161
  """
160
162
  _response = self._raw_client.modify(
@@ -195,6 +197,7 @@ class BlocksClient:
195
197
  Parameters
196
198
  ----------
197
199
  agent_id : str
200
+ The ID of the agent in the format 'agent-<uuid4>'
198
201
 
199
202
  before : typing.Optional[str]
200
203
  Block ID cursor for pagination. Returns blocks that come before this block ID in the specified sort order
@@ -228,7 +231,7 @@ class BlocksClient:
228
231
  token="YOUR_TOKEN",
229
232
  )
230
233
  client.agents.blocks.list(
231
- agent_id="agent_id",
234
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
232
235
  before="before",
233
236
  after="after",
234
237
  limit=1,
@@ -255,8 +258,10 @@ class BlocksClient:
255
258
  Parameters
256
259
  ----------
257
260
  agent_id : str
261
+ The ID of the block in the format 'block-<uuid4>'
258
262
 
259
263
  block_id : str
264
+ The ID of the agent in the format 'agent-<uuid4>'
260
265
 
261
266
  request_options : typing.Optional[RequestOptions]
262
267
  Request-specific configuration.
@@ -275,8 +280,8 @@ class BlocksClient:
275
280
  token="YOUR_TOKEN",
276
281
  )
277
282
  client.agents.blocks.attach(
278
- agent_id="agent_id",
279
- block_id="block_id",
283
+ agent_id="block-123e4567-e89b-42d3-8456-426614174000",
284
+ block_id="agent-123e4567-e89b-42d3-8456-426614174000",
280
285
  )
281
286
  """
282
287
  _response = self._raw_client.attach(agent_id, block_id, request_options=request_options)
@@ -291,8 +296,10 @@ class BlocksClient:
291
296
  Parameters
292
297
  ----------
293
298
  agent_id : str
299
+ The ID of the block in the format 'block-<uuid4>'
294
300
 
295
301
  block_id : str
302
+ The ID of the agent in the format 'agent-<uuid4>'
296
303
 
297
304
  request_options : typing.Optional[RequestOptions]
298
305
  Request-specific configuration.
@@ -311,8 +318,8 @@ class BlocksClient:
311
318
  token="YOUR_TOKEN",
312
319
  )
313
320
  client.agents.blocks.detach(
314
- agent_id="agent_id",
315
- block_id="block_id",
321
+ agent_id="block-123e4567-e89b-42d3-8456-426614174000",
322
+ block_id="agent-123e4567-e89b-42d3-8456-426614174000",
316
323
  )
317
324
  """
318
325
  _response = self._raw_client.detach(agent_id, block_id, request_options=request_options)
@@ -345,6 +352,7 @@ class AsyncBlocksClient:
345
352
  agent_id : str
346
353
 
347
354
  block_label : str
355
+ The ID of the agent in the format 'agent-<uuid4>'
348
356
 
349
357
  request_options : typing.Optional[RequestOptions]
350
358
  Request-specific configuration.
@@ -369,7 +377,7 @@ class AsyncBlocksClient:
369
377
  async def main() -> None:
370
378
  await client.agents.blocks.retrieve(
371
379
  agent_id="agent_id",
372
- block_label="block_label",
380
+ block_label="agent-123e4567-e89b-42d3-8456-426614174000",
373
381
  )
374
382
 
375
383
 
@@ -407,6 +415,7 @@ class AsyncBlocksClient:
407
415
  agent_id : str
408
416
 
409
417
  block_label : str
418
+ The ID of the agent in the format 'agent-<uuid4>'
410
419
 
411
420
  value : typing.Optional[str]
412
421
  Value of the block.
@@ -473,7 +482,7 @@ class AsyncBlocksClient:
473
482
  async def main() -> None:
474
483
  await client.agents.blocks.modify(
475
484
  agent_id="agent_id",
476
- block_label="block_label",
485
+ block_label="agent-123e4567-e89b-42d3-8456-426614174000",
477
486
  )
478
487
 
479
488
 
@@ -517,6 +526,7 @@ class AsyncBlocksClient:
517
526
  Parameters
518
527
  ----------
519
528
  agent_id : str
529
+ The ID of the agent in the format 'agent-<uuid4>'
520
530
 
521
531
  before : typing.Optional[str]
522
532
  Block ID cursor for pagination. Returns blocks that come before this block ID in the specified sort order
@@ -555,7 +565,7 @@ class AsyncBlocksClient:
555
565
 
556
566
  async def main() -> None:
557
567
  await client.agents.blocks.list(
558
- agent_id="agent_id",
568
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
559
569
  before="before",
560
570
  after="after",
561
571
  limit=1,
@@ -585,8 +595,10 @@ class AsyncBlocksClient:
585
595
  Parameters
586
596
  ----------
587
597
  agent_id : str
598
+ The ID of the block in the format 'block-<uuid4>'
588
599
 
589
600
  block_id : str
601
+ The ID of the agent in the format 'agent-<uuid4>'
590
602
 
591
603
  request_options : typing.Optional[RequestOptions]
592
604
  Request-specific configuration.
@@ -610,8 +622,8 @@ class AsyncBlocksClient:
610
622
 
611
623
  async def main() -> None:
612
624
  await client.agents.blocks.attach(
613
- agent_id="agent_id",
614
- block_id="block_id",
625
+ agent_id="block-123e4567-e89b-42d3-8456-426614174000",
626
+ block_id="agent-123e4567-e89b-42d3-8456-426614174000",
615
627
  )
616
628
 
617
629
 
@@ -629,8 +641,10 @@ class AsyncBlocksClient:
629
641
  Parameters
630
642
  ----------
631
643
  agent_id : str
644
+ The ID of the block in the format 'block-<uuid4>'
632
645
 
633
646
  block_id : str
647
+ The ID of the agent in the format 'agent-<uuid4>'
634
648
 
635
649
  request_options : typing.Optional[RequestOptions]
636
650
  Request-specific configuration.
@@ -654,8 +668,8 @@ class AsyncBlocksClient:
654
668
 
655
669
  async def main() -> None:
656
670
  await client.agents.blocks.detach(
657
- agent_id="agent_id",
658
- block_id="block_id",
671
+ agent_id="block-123e4567-e89b-42d3-8456-426614174000",
672
+ block_id="agent-123e4567-e89b-42d3-8456-426614174000",
659
673
  )
660
674
 
661
675
 
@@ -34,6 +34,7 @@ class RawBlocksClient:
34
34
  agent_id : str
35
35
 
36
36
  block_label : str
37
+ The ID of the agent in the format 'agent-<uuid4>'
37
38
 
38
39
  request_options : typing.Optional[RequestOptions]
39
40
  Request-specific configuration.
@@ -103,6 +104,7 @@ class RawBlocksClient:
103
104
  agent_id : str
104
105
 
105
106
  block_label : str
107
+ The ID of the agent in the format 'agent-<uuid4>'
106
108
 
107
109
  value : typing.Optional[str]
108
110
  Value of the block.
@@ -222,6 +224,7 @@ class RawBlocksClient:
222
224
  Parameters
223
225
  ----------
224
226
  agent_id : str
227
+ The ID of the agent in the format 'agent-<uuid4>'
225
228
 
226
229
  before : typing.Optional[str]
227
230
  Block ID cursor for pagination. Returns blocks that come before this block ID in the specified sort order
@@ -293,8 +296,10 @@ class RawBlocksClient:
293
296
  Parameters
294
297
  ----------
295
298
  agent_id : str
299
+ The ID of the block in the format 'block-<uuid4>'
296
300
 
297
301
  block_id : str
302
+ The ID of the agent in the format 'agent-<uuid4>'
298
303
 
299
304
  request_options : typing.Optional[RequestOptions]
300
305
  Request-specific configuration.
@@ -344,8 +349,10 @@ class RawBlocksClient:
344
349
  Parameters
345
350
  ----------
346
351
  agent_id : str
352
+ The ID of the block in the format 'block-<uuid4>'
347
353
 
348
354
  block_id : str
355
+ The ID of the agent in the format 'agent-<uuid4>'
349
356
 
350
357
  request_options : typing.Optional[RequestOptions]
351
358
  Request-specific configuration.
@@ -402,6 +409,7 @@ class AsyncRawBlocksClient:
402
409
  agent_id : str
403
410
 
404
411
  block_label : str
412
+ The ID of the agent in the format 'agent-<uuid4>'
405
413
 
406
414
  request_options : typing.Optional[RequestOptions]
407
415
  Request-specific configuration.
@@ -471,6 +479,7 @@ class AsyncRawBlocksClient:
471
479
  agent_id : str
472
480
 
473
481
  block_label : str
482
+ The ID of the agent in the format 'agent-<uuid4>'
474
483
 
475
484
  value : typing.Optional[str]
476
485
  Value of the block.
@@ -590,6 +599,7 @@ class AsyncRawBlocksClient:
590
599
  Parameters
591
600
  ----------
592
601
  agent_id : str
602
+ The ID of the agent in the format 'agent-<uuid4>'
593
603
 
594
604
  before : typing.Optional[str]
595
605
  Block ID cursor for pagination. Returns blocks that come before this block ID in the specified sort order
@@ -661,8 +671,10 @@ class AsyncRawBlocksClient:
661
671
  Parameters
662
672
  ----------
663
673
  agent_id : str
674
+ The ID of the block in the format 'block-<uuid4>'
664
675
 
665
676
  block_id : str
677
+ The ID of the agent in the format 'agent-<uuid4>'
666
678
 
667
679
  request_options : typing.Optional[RequestOptions]
668
680
  Request-specific configuration.
@@ -712,8 +724,10 @@ class AsyncRawBlocksClient:
712
724
  Parameters
713
725
  ----------
714
726
  agent_id : str
727
+ The ID of the block in the format 'block-<uuid4>'
715
728
 
716
729
  block_id : str
730
+ The ID of the agent in the format 'agent-<uuid4>'
717
731
 
718
732
  request_options : typing.Optional[RequestOptions]
719
733
  Request-specific configuration.
@@ -255,6 +255,7 @@ class AgentsClient:
255
255
  max_files_open: typing.Optional[int] = OMIT,
256
256
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
257
257
  hidden: typing.Optional[bool] = OMIT,
258
+ parallel_tool_calls: typing.Optional[bool] = OMIT,
258
259
  request_options: typing.Optional[RequestOptions] = None,
259
260
  ) -> AgentState:
260
261
  """
@@ -394,6 +395,9 @@ class AgentsClient:
394
395
  hidden : typing.Optional[bool]
395
396
  If set to True, the agent will be hidden.
396
397
 
398
+ parallel_tool_calls : typing.Optional[bool]
399
+ If set to True, enables parallel tool calling. Defaults to False.
400
+
397
401
  request_options : typing.Optional[RequestOptions]
398
402
  Request-specific configuration.
399
403
 
@@ -457,6 +461,7 @@ class AgentsClient:
457
461
  max_files_open=max_files_open,
458
462
  per_file_view_window_char_limit=per_file_view_window_char_limit,
459
463
  hidden=hidden,
464
+ parallel_tool_calls=parallel_tool_calls,
460
465
  request_options=request_options,
461
466
  )
462
467
  return _response.data
@@ -506,6 +511,7 @@ class AgentsClient:
506
511
  Parameters
507
512
  ----------
508
513
  agent_id : str
514
+ The ID of the agent in the format 'agent-<uuid4>'
509
515
 
510
516
  max_steps : typing.Optional[int]
511
517
 
@@ -529,7 +535,7 @@ class AgentsClient:
529
535
  token="YOUR_TOKEN",
530
536
  )
531
537
  client.agents.export_file(
532
- agent_id="agent_id",
538
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
533
539
  max_steps=1,
534
540
  use_legacy_format=True,
535
541
  )
@@ -627,6 +633,7 @@ class AgentsClient:
627
633
  Parameters
628
634
  ----------
629
635
  agent_id : str
636
+ The ID of the agent in the format 'agent-<uuid4>'
630
637
 
631
638
  include_relationships : typing.Optional[typing.Union[str, typing.Sequence[str]]]
632
639
  Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.
@@ -648,7 +655,7 @@ class AgentsClient:
648
655
  token="YOUR_TOKEN",
649
656
  )
650
657
  client.agents.retrieve(
651
- agent_id="agent_id",
658
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
652
659
  )
653
660
  """
654
661
  _response = self._raw_client.retrieve(
@@ -665,6 +672,7 @@ class AgentsClient:
665
672
  Parameters
666
673
  ----------
667
674
  agent_id : str
675
+ The ID of the agent in the format 'agent-<uuid4>'
668
676
 
669
677
  request_options : typing.Optional[RequestOptions]
670
678
  Request-specific configuration.
@@ -683,7 +691,7 @@ class AgentsClient:
683
691
  token="YOUR_TOKEN",
684
692
  )
685
693
  client.agents.delete(
686
- agent_id="agent_id",
694
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
687
695
  )
688
696
  """
689
697
  _response = self._raw_client.delete(agent_id, request_options=request_options)
@@ -723,6 +731,7 @@ class AgentsClient:
723
731
  max_files_open: typing.Optional[int] = OMIT,
724
732
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
725
733
  hidden: typing.Optional[bool] = OMIT,
734
+ parallel_tool_calls: typing.Optional[bool] = OMIT,
726
735
  request_options: typing.Optional[RequestOptions] = None,
727
736
  ) -> AgentState:
728
737
  """
@@ -731,6 +740,7 @@ class AgentsClient:
731
740
  Parameters
732
741
  ----------
733
742
  agent_id : str
743
+ The ID of the agent in the format 'agent-<uuid4>'
734
744
 
735
745
  name : typing.Optional[str]
736
746
  The name of the agent.
@@ -822,6 +832,9 @@ class AgentsClient:
822
832
  hidden : typing.Optional[bool]
823
833
  If set to True, the agent will be hidden.
824
834
 
835
+ parallel_tool_calls : typing.Optional[bool]
836
+ If set to True, enables parallel tool calling. Defaults to False.
837
+
825
838
  request_options : typing.Optional[RequestOptions]
826
839
  Request-specific configuration.
827
840
 
@@ -839,7 +852,7 @@ class AgentsClient:
839
852
  token="YOUR_TOKEN",
840
853
  )
841
854
  client.agents.modify(
842
- agent_id="agent_id",
855
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
843
856
  )
844
857
  """
845
858
  _response = self._raw_client.modify(
@@ -874,6 +887,7 @@ class AgentsClient:
874
887
  max_files_open=max_files_open,
875
888
  per_file_view_window_char_limit=per_file_view_window_char_limit,
876
889
  hidden=hidden,
890
+ parallel_tool_calls=parallel_tool_calls,
877
891
  request_options=request_options,
878
892
  )
879
893
  return _response.data
@@ -1166,6 +1180,7 @@ class AsyncAgentsClient:
1166
1180
  max_files_open: typing.Optional[int] = OMIT,
1167
1181
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
1168
1182
  hidden: typing.Optional[bool] = OMIT,
1183
+ parallel_tool_calls: typing.Optional[bool] = OMIT,
1169
1184
  request_options: typing.Optional[RequestOptions] = None,
1170
1185
  ) -> AgentState:
1171
1186
  """
@@ -1305,6 +1320,9 @@ class AsyncAgentsClient:
1305
1320
  hidden : typing.Optional[bool]
1306
1321
  If set to True, the agent will be hidden.
1307
1322
 
1323
+ parallel_tool_calls : typing.Optional[bool]
1324
+ If set to True, enables parallel tool calling. Defaults to False.
1325
+
1308
1326
  request_options : typing.Optional[RequestOptions]
1309
1327
  Request-specific configuration.
1310
1328
 
@@ -1376,6 +1394,7 @@ class AsyncAgentsClient:
1376
1394
  max_files_open=max_files_open,
1377
1395
  per_file_view_window_char_limit=per_file_view_window_char_limit,
1378
1396
  hidden=hidden,
1397
+ parallel_tool_calls=parallel_tool_calls,
1379
1398
  request_options=request_options,
1380
1399
  )
1381
1400
  return _response.data
@@ -1433,6 +1452,7 @@ class AsyncAgentsClient:
1433
1452
  Parameters
1434
1453
  ----------
1435
1454
  agent_id : str
1455
+ The ID of the agent in the format 'agent-<uuid4>'
1436
1456
 
1437
1457
  max_steps : typing.Optional[int]
1438
1458
 
@@ -1461,7 +1481,7 @@ class AsyncAgentsClient:
1461
1481
 
1462
1482
  async def main() -> None:
1463
1483
  await client.agents.export_file(
1464
- agent_id="agent_id",
1484
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
1465
1485
  max_steps=1,
1466
1486
  use_legacy_format=True,
1467
1487
  )
@@ -1570,6 +1590,7 @@ class AsyncAgentsClient:
1570
1590
  Parameters
1571
1591
  ----------
1572
1592
  agent_id : str
1593
+ The ID of the agent in the format 'agent-<uuid4>'
1573
1594
 
1574
1595
  include_relationships : typing.Optional[typing.Union[str, typing.Sequence[str]]]
1575
1596
  Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.
@@ -1596,7 +1617,7 @@ class AsyncAgentsClient:
1596
1617
 
1597
1618
  async def main() -> None:
1598
1619
  await client.agents.retrieve(
1599
- agent_id="agent_id",
1620
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
1600
1621
  )
1601
1622
 
1602
1623
 
@@ -1616,6 +1637,7 @@ class AsyncAgentsClient:
1616
1637
  Parameters
1617
1638
  ----------
1618
1639
  agent_id : str
1640
+ The ID of the agent in the format 'agent-<uuid4>'
1619
1641
 
1620
1642
  request_options : typing.Optional[RequestOptions]
1621
1643
  Request-specific configuration.
@@ -1639,7 +1661,7 @@ class AsyncAgentsClient:
1639
1661
 
1640
1662
  async def main() -> None:
1641
1663
  await client.agents.delete(
1642
- agent_id="agent_id",
1664
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
1643
1665
  )
1644
1666
 
1645
1667
 
@@ -1682,6 +1704,7 @@ class AsyncAgentsClient:
1682
1704
  max_files_open: typing.Optional[int] = OMIT,
1683
1705
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
1684
1706
  hidden: typing.Optional[bool] = OMIT,
1707
+ parallel_tool_calls: typing.Optional[bool] = OMIT,
1685
1708
  request_options: typing.Optional[RequestOptions] = None,
1686
1709
  ) -> AgentState:
1687
1710
  """
@@ -1690,6 +1713,7 @@ class AsyncAgentsClient:
1690
1713
  Parameters
1691
1714
  ----------
1692
1715
  agent_id : str
1716
+ The ID of the agent in the format 'agent-<uuid4>'
1693
1717
 
1694
1718
  name : typing.Optional[str]
1695
1719
  The name of the agent.
@@ -1781,6 +1805,9 @@ class AsyncAgentsClient:
1781
1805
  hidden : typing.Optional[bool]
1782
1806
  If set to True, the agent will be hidden.
1783
1807
 
1808
+ parallel_tool_calls : typing.Optional[bool]
1809
+ If set to True, enables parallel tool calling. Defaults to False.
1810
+
1784
1811
  request_options : typing.Optional[RequestOptions]
1785
1812
  Request-specific configuration.
1786
1813
 
@@ -1803,7 +1830,7 @@ class AsyncAgentsClient:
1803
1830
 
1804
1831
  async def main() -> None:
1805
1832
  await client.agents.modify(
1806
- agent_id="agent_id",
1833
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
1807
1834
  )
1808
1835
 
1809
1836
 
@@ -1841,6 +1868,7 @@ class AsyncAgentsClient:
1841
1868
  max_files_open=max_files_open,
1842
1869
  per_file_view_window_char_limit=per_file_view_window_char_limit,
1843
1870
  hidden=hidden,
1871
+ parallel_tool_calls=parallel_tool_calls,
1844
1872
  request_options=request_options,
1845
1873
  )
1846
1874
  return _response.data
@@ -32,6 +32,7 @@ class ContextClient:
32
32
  Parameters
33
33
  ----------
34
34
  agent_id : str
35
+ The ID of the agent in the format 'agent-<uuid4>'
35
36
 
36
37
  request_options : typing.Optional[RequestOptions]
37
38
  Request-specific configuration.
@@ -50,7 +51,7 @@ class ContextClient:
50
51
  token="YOUR_TOKEN",
51
52
  )
52
53
  client.agents.context.retrieve(
53
- agent_id="agent_id",
54
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
54
55
  )
55
56
  """
56
57
  _response = self._raw_client.retrieve(agent_id, request_options=request_options)
@@ -81,6 +82,7 @@ class AsyncContextClient:
81
82
  Parameters
82
83
  ----------
83
84
  agent_id : str
85
+ The ID of the agent in the format 'agent-<uuid4>'
84
86
 
85
87
  request_options : typing.Optional[RequestOptions]
86
88
  Request-specific configuration.
@@ -104,7 +106,7 @@ class AsyncContextClient:
104
106
 
105
107
  async def main() -> None:
106
108
  await client.agents.context.retrieve(
107
- agent_id="agent_id",
109
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
108
110
  )
109
111
 
110
112
 
@@ -27,6 +27,7 @@ class RawContextClient:
27
27
  Parameters
28
28
  ----------
29
29
  agent_id : str
30
+ The ID of the agent in the format 'agent-<uuid4>'
30
31
 
31
32
  request_options : typing.Optional[RequestOptions]
32
33
  Request-specific configuration.
@@ -81,6 +82,7 @@ class AsyncRawContextClient:
81
82
  Parameters
82
83
  ----------
83
84
  agent_id : str
85
+ The ID of the agent in the format 'agent-<uuid4>'
84
86
 
85
87
  request_options : typing.Optional[RequestOptions]
86
88
  Request-specific configuration.
@@ -31,6 +31,7 @@ class CoreMemoryClient:
31
31
  Parameters
32
32
  ----------
33
33
  agent_id : str
34
+ The ID of the agent in the format 'agent-<uuid4>'
34
35
 
35
36
  request_options : typing.Optional[RequestOptions]
36
37
  Request-specific configuration.
@@ -49,7 +50,7 @@ class CoreMemoryClient:
49
50
  token="YOUR_TOKEN",
50
51
  )
51
52
  client.agents.core_memory.retrieve(
52
- agent_id="agent_id",
53
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
53
54
  )
54
55
  """
55
56
  _response = self._raw_client.retrieve(agent_id, request_options=request_options)
@@ -79,6 +80,7 @@ class AsyncCoreMemoryClient:
79
80
  Parameters
80
81
  ----------
81
82
  agent_id : str
83
+ The ID of the agent in the format 'agent-<uuid4>'
82
84
 
83
85
  request_options : typing.Optional[RequestOptions]
84
86
  Request-specific configuration.
@@ -102,7 +104,7 @@ class AsyncCoreMemoryClient:
102
104
 
103
105
  async def main() -> None:
104
106
  await client.agents.core_memory.retrieve(
105
- agent_id="agent_id",
107
+ agent_id="agent-123e4567-e89b-42d3-8456-426614174000",
106
108
  )
107
109
 
108
110
 
@@ -28,6 +28,7 @@ class RawCoreMemoryClient:
28
28
  Parameters
29
29
  ----------
30
30
  agent_id : str
31
+ The ID of the agent in the format 'agent-<uuid4>'
31
32
 
32
33
  request_options : typing.Optional[RequestOptions]
33
34
  Request-specific configuration.
@@ -83,6 +84,7 @@ class AsyncRawCoreMemoryClient:
83
84
  Parameters
84
85
  ----------
85
86
  agent_id : str
87
+ The ID of the agent in the format 'agent-<uuid4>'
86
88
 
87
89
  request_options : typing.Optional[RequestOptions]
88
90
  Request-specific configuration.