snowflake-cortex-agent-sdk 0.0.3__tar.gz → 1.0.0__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 (130) hide show
  1. snowflake_cortex_agent_sdk-1.0.0/LICENSE +202 -0
  2. {snowflake_cortex_agent_sdk-0.0.3 → snowflake_cortex_agent_sdk-1.0.0}/PKG-INFO +52 -13
  3. {snowflake_cortex_agent_sdk-0.0.3 → snowflake_cortex_agent_sdk-1.0.0}/README.md +50 -11
  4. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/__init__.py +55 -0
  5. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/__init__.pyi +4 -0
  6. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_base_client.pyi +11 -0
  7. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_constants.pyi +2 -0
  8. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_generated/__init__.pyi +1 -0
  9. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_generated/agent_runs.pyi +1 -0
  10. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_generated/data_agent.pyi +1 -0
  11. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_generated/events.pyi +1 -0
  12. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_generated/lite_agent.pyi +1 -0
  13. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_generated/threads.pyi +1 -0
  14. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_partner_attribution.pyi +2 -0
  15. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_request_options.pyi +6 -0
  16. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_resource.pyi +4 -0
  17. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_telemetry.pyi +2 -0
  18. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_transport.pyi +1 -0
  19. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_types.pyi +3 -0
  20. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/_version.pyi +4 -0
  21. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/api.pyi +2 -0
  22. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/api_response.pyi +2 -0
  23. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/auth.pyi +4 -0
  24. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/client.pyi +10 -0
  25. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/constants.pyi +2 -0
  26. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/conversation.pyi +14 -0
  27. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/cortexcode/__init__.pyi +4 -0
  28. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/cortexcode/_errors.pyi +1 -0
  29. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/cortexcode/_internal/__init__.pyi +1 -0
  30. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/cortexcode/_internal/message_parser.pyi +1 -0
  31. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/cortexcode/_internal/query.pyi +4 -0
  32. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/cortexcode/_internal/transport/__init__.pyi +2 -0
  33. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/cortexcode/_internal/transport/subprocess_cli.pyi +13 -0
  34. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/cortexcode/client.pyi +1 -0
  35. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/cortexcode/fork_session.pyi +1 -0
  36. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/cortexcode/query.pyi +1 -0
  37. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/cortexcode/types.pyi +2 -0
  38. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/errors.pyi +4 -0
  39. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/models.pyi +2 -0
  40. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/origin.pyi +1 -0
  41. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/public_client.pyi +2 -0
  42. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/resources/__init__.pyi +2 -0
  43. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/resources/agent.pyi +9 -0
  44. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/resources/automations.pyi +2 -0
  45. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/resources/coding_agent.pyi +17 -0
  46. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/resources/feedback.pyi +6 -0
  47. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/resources/runs.pyi +5 -0
  48. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/resources/threads.pyi +8 -0
  49. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/stream.pyi +2 -0
  50. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/streaming/__init__.pyi +2 -0
  51. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/streaming/parser.pyi +5 -0
  52. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/streaming/run_stream.pyi +8 -0
  53. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/testing.pyi +3 -0
  54. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/threads_page.pyi +3 -0
  55. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/turn.pyi +4 -0
  56. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/views/__init__.pyi +2 -0
  57. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/views/agent_response.pyi +5 -0
  58. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/views/async_run.pyi +16 -0
  59. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/views/content_view.pyi +2 -0
  60. snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk/views/thread_message.pyi +2 -0
  61. {snowflake_cortex_agent_sdk-0.0.3 → snowflake_cortex_agent_sdk-1.0.0}/pyproject.toml +6 -5
  62. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/__init__.py +5 -2
  63. snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents/_account.py +36 -0
  64. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_base_client.py +103 -48
  65. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_constants.py +24 -3
  66. snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents/_path.py +13 -0
  67. snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents/_redact.py +34 -0
  68. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_request_options.py +7 -3
  69. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_resource.py +17 -5
  70. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_version.py +1 -1
  71. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/api.py +2 -1
  72. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/api_response.py +14 -0
  73. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/auth.py +16 -2
  74. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/client.py +22 -8
  75. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/cortexcode/__init__.py +1 -1
  76. snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents/cortexcode/_user_input.py +93 -0
  77. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/cortexcode/client.py +8 -18
  78. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/errors.py +3 -1
  79. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/models.py +5 -5
  80. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/public_client.py +2 -0
  81. snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents/py.typed +0 -0
  82. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/resources/__init__.py +3 -0
  83. snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents/resources/_automation_update.py +130 -0
  84. snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents/resources/_coding_automation.py +85 -0
  85. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/resources/agent.py +26 -15
  86. snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents/resources/automations.py +578 -0
  87. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/resources/coding_agent.py +107 -11
  88. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/resources/feedback.py +6 -6
  89. snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents/resources/runs.py +433 -0
  90. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/resources/threads.py +8 -8
  91. snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents/stream.py +12 -0
  92. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/streaming/parser.py +49 -15
  93. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/streaming/run_stream.py +102 -18
  94. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/testing.py +1 -1
  95. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/turn.py +29 -7
  96. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/views/agent_response.py +35 -21
  97. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/views/async_run.py +21 -2
  98. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/views/content_view.py +2 -2
  99. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/views/thread_message.py +1 -1
  100. snowflake_cortex_agent_sdk-0.0.3/LICENSE +0 -1
  101. snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk/resources/runs.py +0 -238
  102. snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk/stream.py +0 -12
  103. {snowflake_cortex_agent_sdk-0.0.3 → snowflake_cortex_agent_sdk-1.0.0}/.gitignore +0 -0
  104. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk/cortexcode → snowflake_cortex_agent_sdk-1.0.0/cortex_agent_sdk}/py.typed +0 -0
  105. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_generated/__init__.py +0 -0
  106. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_generated/agent_runs.py +0 -0
  107. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_generated/data_agent.py +0 -0
  108. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_generated/events.py +0 -0
  109. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_generated/lite_agent.py +0 -0
  110. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_generated/threads.py +0 -0
  111. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_partner_attribution.py +0 -0
  112. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_telemetry.py +0 -0
  113. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_transport.py +0 -0
  114. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/_types.py +0 -0
  115. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/constants.py +0 -0
  116. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/conversation.py +0 -0
  117. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/cortexcode/_errors.py +0 -0
  118. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/cortexcode/_internal/__init__.py +0 -0
  119. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/cortexcode/_internal/message_parser.py +0 -0
  120. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/cortexcode/_internal/query.py +0 -0
  121. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/cortexcode/_internal/transport/__init__.py +0 -0
  122. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/cortexcode/_internal/transport/subprocess_cli.py +0 -0
  123. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/cortexcode/fork_session.py +0 -0
  124. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents/cortexcode}/py.typed +0 -0
  125. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/cortexcode/query.py +0 -0
  126. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/cortexcode/types.py +0 -0
  127. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/origin.py +0 -0
  128. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/streaming/__init__.py +0 -0
  129. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/threads_page.py +0 -0
  130. {snowflake_cortex_agent_sdk-0.0.3/cortex_agent_sdk → snowflake_cortex_agent_sdk-1.0.0/snowflake/cortex/agents}/views/__init__.py +0 -0
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 Snowflake Inc.
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: snowflake-cortex-agent-sdk
3
- Version: 0.0.3
3
+ Version: 1.0.0
4
4
  Summary: Python SDK for the Snowflake Cortex Agent REST API (agent:run streaming, threads, feedback)
5
5
  Author-email: "Snowflake, Inc." <support@snowflake.com>
6
- License: See LICENSE
6
+ License-Expression: Apache-2.0
7
7
  License-File: LICENSE
8
8
  Keywords: cortex,cortex-agent,openapi,sdk,snowflake
9
9
  Classifier: Programming Language :: Python :: 3
@@ -33,12 +33,19 @@ Python SDK for the Snowflake Cortex Agent REST API. Covers the current public su
33
33
  - Durable lite, data-agent, and coding-agent conversations
34
34
  - Named + versioned data agents through the direct API client
35
35
  - Coding-agent runs with sandbox, bash, skills, and workspace mounts
36
- - Threads, background runs, streaming, and feedback through `cortex_agent_sdk.api`
36
+ - Threads, background runs, streaming, and feedback through `snowflake.cortex.agents.api`
37
37
  - High-level `Conversation.send()` -> `Turn` abstraction
38
- - Route-test helpers in `cortex_agent_sdk.testing` (see `docs/13-testing.md`)
38
+ - Route-test helpers in `snowflake.cortex.agents.testing` (see `docs/13-testing.md`)
39
39
  - Curated `AgentResponse` content and usage view
40
40
  - Synchronous and asyncio clients
41
- - Claude-shaped local Cortex Code sessions via `cortex_agent_sdk.cortexcode`
41
+ - Claude-shaped local Cortex Code sessions via `snowflake.cortex.agents.cortexcode`
42
+
43
+ ## Automations
44
+
45
+ Schedule saved Cortex Agents and CoCo sandbox runs with `client.automations`.
46
+ Create, list, inspect, run,
47
+ pause, resume, and delete personal agent tasks using the same client authentication.
48
+ See [Automations](docs/15-automations.md) for examples and execution semantics.
42
49
 
43
50
  ## Install
44
51
 
@@ -50,11 +57,19 @@ pip install snowflake-cortex-agent-sdk
50
57
 
51
58
  Requires Python 3.10 or newer.
52
59
 
60
+ Import the SDK from `snowflake.cortex.agents`. The install name remains
61
+ `snowflake-cortex-agent-sdk`; `snowflake-ml-python` separately provides ML APIs
62
+ under `snowflake.ml` and Cortex functions under `snowflake.cortex`.
63
+
64
+ Existing `cortex_agent_sdk` imports, including submodules such as
65
+ `cortex_agent_sdk.api`, continue to work as deprecated aliases. They issue a
66
+ `DeprecationWarning`; update imports to `snowflake.cortex.agents` when convenient.
67
+
53
68
  ## Quickstart
54
69
 
55
70
  ```python
56
71
  import os
57
- from cortex_agent_sdk import (
72
+ from snowflake.cortex.agents import (
58
73
  AgentResponse,
59
74
  Conversation,
60
75
  ConversationMessage,
@@ -118,7 +133,7 @@ Use `turn.events()` for event-level progress and `turn.cancel()` to stop a run.
118
133
  The asynchronous API mirrors the sync API:
119
134
 
120
135
  ```python
121
- from cortex_agent_sdk import AgentResponse, AsyncConversation, AsyncCortexAgentClient, AsyncTurn
136
+ from snowflake.cortex.agents import AgentResponse, AsyncConversation, AsyncCortexAgentClient, AsyncTurn
122
137
 
123
138
  async with AsyncCortexAgentClient(account="my_account", auth="<token>") as client:
124
139
  conversation: AsyncConversation = await client.conversations.create(
@@ -129,16 +144,16 @@ async with AsyncCortexAgentClient(account="my_account", auth="<token>") as clien
129
144
  answer: AgentResponse = await turn.result()
130
145
  ```
131
146
 
132
- ## Cortex Code sessions (`cortex_agent_sdk.cortexcode`)
147
+ ## Cortex Code sessions (`snowflake.cortex.agents.cortexcode`)
133
148
 
134
- `cortex_agent_sdk.cortexcode` is the Cortex Code SDK for driving the local
149
+ `snowflake.cortex.agents.cortexcode` is the Cortex Code SDK for driving the local
135
150
  `cortex` binary from Python. It exposes one-shot `query()` calls and long-lived
136
151
  `CortexCodeSDKClient` sessions with permissions, hooks, MCP, plugins, structured
137
152
  output, and session controls.
138
153
 
139
154
  ```python
140
155
  import asyncio
141
- from cortex_agent_sdk.cortexcode import AssistantMessage, ResultMessage, query
156
+ from snowflake.cortex.agents.cortexcode import AssistantMessage, ResultMessage, query
142
157
 
143
158
  async def main() -> None:
144
159
  async for message in query(prompt="Summarize this repository"):
@@ -169,13 +184,13 @@ message and run plumbing. `send()` returns a `Turn` with `id`, `result()`,
169
184
 
170
185
  For direct REST request shapes, streaming modes, raw response wrappers, or SSE
171
186
  parsing, import `CortexAgentClient` and related types from
172
- `cortex_agent_sdk.api`.
187
+ `snowflake.cortex.agents.api`.
173
188
 
174
189
  Separate entry point, not a `client.*` resource:
175
190
 
176
191
  | Entry point | Purpose |
177
192
  | --- | --- |
178
- | `cortex_agent_sdk.cortexcode` | Python SDK for the local Cortex Code CLI: permissions, hooks, MCP, plugins, and session controls |
193
+ | `snowflake.cortex.agents.cortexcode` | Python SDK for the local Cortex Code CLI: permissions, hooks, MCP, plugins, and session controls |
179
194
 
180
195
  ## Auth at a glance
181
196
 
@@ -200,4 +215,28 @@ Preview. Expect breaking changes as the underlying API stabilizes.
200
215
 
201
216
  ## License
202
217
 
203
- See `LICENSE`. Use is governed by your Snowflake customer agreement.
218
+ Licensed under the [Apache License, Version 2.0](LICENSE).
219
+
220
+ ### Cross-language stream limits
221
+
222
+ The REST stream replay budget counts the UTF-8 bytes of each SSE JSON `data`
223
+ payload before parsing (including JSON whitespace and number spelling, excluding
224
+ SSE field prefixes). A discriminator injected from an SSE `event` header also
225
+ charges the UTF-8 bytes of that name (the SSE default is `message`). Multiline data is counted after SSE joins the lines with
226
+ newlines. The newest contiguous suffix is retained; eviction and `clearReplay()` /
227
+ `clear_replay()` preserve the accumulated final response. Python synthetic
228
+ `events=` iterators have no wire payload, so their budget uses compact JSON.
229
+
230
+ Streaming response headers and subsequent chunk gaps use `streamReadTimeoutMs` /
231
+ `stream_read_timeout` (10 minutes by default; `null` / `None` disables the read
232
+ limit). A general request timeout does not override that streaming read deadline.
233
+ Fetch has no separate connection/write deadlines; Python HTTPX still applies its
234
+ general timeout to connection and write operations. Non-streaming timeout behavior
235
+ is unchanged.
236
+
237
+ Built-in authenticators mask normal logging and exclude credential fields from
238
+ ordinary object enumeration. Explicit token/header access remains supported;
239
+ Python slot inspection is not equivalent to JavaScript runtime-private fields.
240
+ Both SDKs require non-negative safe integers (at most `2**53 - 1`) for replay
241
+ limits and count rendered error excerpts in Unicode code points; credential
242
+ redaction and raw programmatic bodies are preserved.
@@ -5,12 +5,19 @@ Python SDK for the Snowflake Cortex Agent REST API. Covers the current public su
5
5
  - Durable lite, data-agent, and coding-agent conversations
6
6
  - Named + versioned data agents through the direct API client
7
7
  - Coding-agent runs with sandbox, bash, skills, and workspace mounts
8
- - Threads, background runs, streaming, and feedback through `cortex_agent_sdk.api`
8
+ - Threads, background runs, streaming, and feedback through `snowflake.cortex.agents.api`
9
9
  - High-level `Conversation.send()` -> `Turn` abstraction
10
- - Route-test helpers in `cortex_agent_sdk.testing` (see `docs/13-testing.md`)
10
+ - Route-test helpers in `snowflake.cortex.agents.testing` (see `docs/13-testing.md`)
11
11
  - Curated `AgentResponse` content and usage view
12
12
  - Synchronous and asyncio clients
13
- - Claude-shaped local Cortex Code sessions via `cortex_agent_sdk.cortexcode`
13
+ - Claude-shaped local Cortex Code sessions via `snowflake.cortex.agents.cortexcode`
14
+
15
+ ## Automations
16
+
17
+ Schedule saved Cortex Agents and CoCo sandbox runs with `client.automations`.
18
+ Create, list, inspect, run,
19
+ pause, resume, and delete personal agent tasks using the same client authentication.
20
+ See [Automations](docs/15-automations.md) for examples and execution semantics.
14
21
 
15
22
  ## Install
16
23
 
@@ -22,11 +29,19 @@ pip install snowflake-cortex-agent-sdk
22
29
 
23
30
  Requires Python 3.10 or newer.
24
31
 
32
+ Import the SDK from `snowflake.cortex.agents`. The install name remains
33
+ `snowflake-cortex-agent-sdk`; `snowflake-ml-python` separately provides ML APIs
34
+ under `snowflake.ml` and Cortex functions under `snowflake.cortex`.
35
+
36
+ Existing `cortex_agent_sdk` imports, including submodules such as
37
+ `cortex_agent_sdk.api`, continue to work as deprecated aliases. They issue a
38
+ `DeprecationWarning`; update imports to `snowflake.cortex.agents` when convenient.
39
+
25
40
  ## Quickstart
26
41
 
27
42
  ```python
28
43
  import os
29
- from cortex_agent_sdk import (
44
+ from snowflake.cortex.agents import (
30
45
  AgentResponse,
31
46
  Conversation,
32
47
  ConversationMessage,
@@ -90,7 +105,7 @@ Use `turn.events()` for event-level progress and `turn.cancel()` to stop a run.
90
105
  The asynchronous API mirrors the sync API:
91
106
 
92
107
  ```python
93
- from cortex_agent_sdk import AgentResponse, AsyncConversation, AsyncCortexAgentClient, AsyncTurn
108
+ from snowflake.cortex.agents import AgentResponse, AsyncConversation, AsyncCortexAgentClient, AsyncTurn
94
109
 
95
110
  async with AsyncCortexAgentClient(account="my_account", auth="<token>") as client:
96
111
  conversation: AsyncConversation = await client.conversations.create(
@@ -101,16 +116,16 @@ async with AsyncCortexAgentClient(account="my_account", auth="<token>") as clien
101
116
  answer: AgentResponse = await turn.result()
102
117
  ```
103
118
 
104
- ## Cortex Code sessions (`cortex_agent_sdk.cortexcode`)
119
+ ## Cortex Code sessions (`snowflake.cortex.agents.cortexcode`)
105
120
 
106
- `cortex_agent_sdk.cortexcode` is the Cortex Code SDK for driving the local
121
+ `snowflake.cortex.agents.cortexcode` is the Cortex Code SDK for driving the local
107
122
  `cortex` binary from Python. It exposes one-shot `query()` calls and long-lived
108
123
  `CortexCodeSDKClient` sessions with permissions, hooks, MCP, plugins, structured
109
124
  output, and session controls.
110
125
 
111
126
  ```python
112
127
  import asyncio
113
- from cortex_agent_sdk.cortexcode import AssistantMessage, ResultMessage, query
128
+ from snowflake.cortex.agents.cortexcode import AssistantMessage, ResultMessage, query
114
129
 
115
130
  async def main() -> None:
116
131
  async for message in query(prompt="Summarize this repository"):
@@ -141,13 +156,13 @@ message and run plumbing. `send()` returns a `Turn` with `id`, `result()`,
141
156
 
142
157
  For direct REST request shapes, streaming modes, raw response wrappers, or SSE
143
158
  parsing, import `CortexAgentClient` and related types from
144
- `cortex_agent_sdk.api`.
159
+ `snowflake.cortex.agents.api`.
145
160
 
146
161
  Separate entry point, not a `client.*` resource:
147
162
 
148
163
  | Entry point | Purpose |
149
164
  | --- | --- |
150
- | `cortex_agent_sdk.cortexcode` | Python SDK for the local Cortex Code CLI: permissions, hooks, MCP, plugins, and session controls |
165
+ | `snowflake.cortex.agents.cortexcode` | Python SDK for the local Cortex Code CLI: permissions, hooks, MCP, plugins, and session controls |
151
166
 
152
167
  ## Auth at a glance
153
168
 
@@ -172,4 +187,28 @@ Preview. Expect breaking changes as the underlying API stabilizes.
172
187
 
173
188
  ## License
174
189
 
175
- See `LICENSE`. Use is governed by your Snowflake customer agreement.
190
+ Licensed under the [Apache License, Version 2.0](LICENSE).
191
+
192
+ ### Cross-language stream limits
193
+
194
+ The REST stream replay budget counts the UTF-8 bytes of each SSE JSON `data`
195
+ payload before parsing (including JSON whitespace and number spelling, excluding
196
+ SSE field prefixes). A discriminator injected from an SSE `event` header also
197
+ charges the UTF-8 bytes of that name (the SSE default is `message`). Multiline data is counted after SSE joins the lines with
198
+ newlines. The newest contiguous suffix is retained; eviction and `clearReplay()` /
199
+ `clear_replay()` preserve the accumulated final response. Python synthetic
200
+ `events=` iterators have no wire payload, so their budget uses compact JSON.
201
+
202
+ Streaming response headers and subsequent chunk gaps use `streamReadTimeoutMs` /
203
+ `stream_read_timeout` (10 minutes by default; `null` / `None` disables the read
204
+ limit). A general request timeout does not override that streaming read deadline.
205
+ Fetch has no separate connection/write deadlines; Python HTTPX still applies its
206
+ general timeout to connection and write operations. Non-streaming timeout behavior
207
+ is unchanged.
208
+
209
+ Built-in authenticators mask normal logging and exclude credential fields from
210
+ ordinary object enumeration. Explicit token/header access remains supported;
211
+ Python slot inspection is not equivalent to JavaScript runtime-private fields.
212
+ Both SDKs require non-negative safe integers (at most `2**53 - 1`) for replay
213
+ limits and count rendered error excerpts in Unicode code points; credential
214
+ redaction and raw programmatic bodies are preserved.
@@ -0,0 +1,55 @@
1
+ """Deprecated import alias for :mod:`snowflake.cortex.agents`."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import importlib
6
+ import importlib.abc
7
+ import importlib.util
8
+ import sys
9
+ import warnings
10
+ from types import ModuleType
11
+
12
+ from snowflake.cortex import agents as _agents
13
+
14
+ warnings.warn(
15
+ "cortex_agent_sdk is deprecated; import from snowflake.cortex.agents instead.",
16
+ DeprecationWarning,
17
+ stacklevel=2,
18
+ )
19
+
20
+
21
+ class _AliasLoader(importlib.abc.Loader):
22
+ def __init__(self, canonical_name: str) -> None:
23
+ self.canonical_name = canonical_name
24
+
25
+ def create_module(self, spec: importlib.machinery.ModuleSpec) -> None:
26
+ return None
27
+
28
+ def exec_module(self, module: ModuleType) -> None:
29
+ # Replace the temporary module so canonical metadata and class identities are preserved.
30
+ sys.modules[module.__name__] = importlib.import_module(self.canonical_name)
31
+
32
+
33
+ class _AliasFinder(importlib.abc.MetaPathFinder):
34
+ def find_spec(
35
+ self,
36
+ fullname: str,
37
+ path: object = None,
38
+ target: ModuleType | None = None,
39
+ ) -> importlib.machinery.ModuleSpec | None:
40
+ prefix = "cortex_agent_sdk."
41
+ if not fullname.startswith(prefix):
42
+ return None
43
+ canonical_name = "snowflake.cortex.agents." + fullname.removeprefix(prefix)
44
+ canonical_spec = importlib.util.find_spec(canonical_name)
45
+ if canonical_spec is None:
46
+ return None
47
+ return importlib.util.spec_from_loader(
48
+ fullname,
49
+ _AliasLoader(canonical_name),
50
+ is_package=canonical_spec.submodule_search_locations is not None,
51
+ )
52
+
53
+
54
+ sys.meta_path.insert(0, _AliasFinder())
55
+ sys.modules[__name__] = _agents
@@ -0,0 +1,4 @@
1
+ from snowflake.cortex.agents import * # noqa: F403
2
+ from snowflake.cortex.agents import __all__ as __all__
3
+ from snowflake.cortex.agents import __title__ as __title__
4
+ from snowflake.cortex.agents import __version__ as __version__
@@ -0,0 +1,11 @@
1
+ from snowflake.cortex.agents._base_client import * # noqa: F403
2
+ from snowflake.cortex.agents._base_client import _LOCAL_HOSTS as _LOCAL_HOSTS
3
+ from snowflake.cortex.agents._base_client import __all__ as __all__
4
+ from snowflake.cortex.agents._base_client import _auth_provider_name as _auth_provider_name
5
+ from snowflake.cortex.agents._base_client import _is_local_host as _is_local_host
6
+ from snowflake.cortex.agents._base_client import _is_sse_response as _is_sse_response
7
+ from snowflake.cortex.agents._base_client import _parse_retry_after as _parse_retry_after
8
+ from snowflake.cortex.agents._base_client import _raise_if_cancelled as _raise_if_cancelled
9
+ from snowflake.cortex.agents._base_client import _ResolvedRetryPolicy as _ResolvedRetryPolicy
10
+ from snowflake.cortex.agents._base_client import _sleep as _sleep
11
+ from snowflake.cortex.agents._base_client import _validate_base_url as _validate_base_url
@@ -0,0 +1,2 @@
1
+ from snowflake.cortex.agents._constants import * # noqa: F403
2
+ from snowflake.cortex.agents._constants import __all__ as __all__
@@ -0,0 +1 @@
1
+ from snowflake.cortex.agents._generated import * # noqa: F403
@@ -0,0 +1 @@
1
+ from snowflake.cortex.agents._generated.agent_runs import * # noqa: F403
@@ -0,0 +1 @@
1
+ from snowflake.cortex.agents._generated.data_agent import * # noqa: F403
@@ -0,0 +1 @@
1
+ from snowflake.cortex.agents._generated.events import * # noqa: F403
@@ -0,0 +1 @@
1
+ from snowflake.cortex.agents._generated.lite_agent import * # noqa: F403
@@ -0,0 +1 @@
1
+ from snowflake.cortex.agents._generated.threads import * # noqa: F403
@@ -0,0 +1,2 @@
1
+ from snowflake.cortex.agents._partner_attribution import * # noqa: F403
2
+ from snowflake.cortex.agents._partner_attribution import __all__ as __all__
@@ -0,0 +1,6 @@
1
+ from snowflake.cortex.agents._request_options import * # noqa: F403
2
+ from snowflake.cortex.agents._request_options import _EMPTY as _EMPTY
3
+ from snowflake.cortex.agents._request_options import __all__ as __all__
4
+ from snowflake.cortex.agents._request_options import (
5
+ _normalize_retry_fields as _normalize_retry_fields,
6
+ )
@@ -0,0 +1,4 @@
1
+ from snowflake.cortex.agents._resource import * # noqa: F403
2
+ from snowflake.cortex.agents._resource import __all__ as __all__
3
+ from snowflake.cortex.agents._resource import _AsyncT as _AsyncT
4
+ from snowflake.cortex.agents._resource import _SyncT as _SyncT
@@ -0,0 +1,2 @@
1
+ from snowflake.cortex.agents._telemetry import * # noqa: F403
2
+ from snowflake.cortex.agents._telemetry import __all__ as __all__
@@ -0,0 +1 @@
1
+ from snowflake.cortex.agents._transport import * # noqa: F403
@@ -0,0 +1,3 @@
1
+ from snowflake.cortex.agents._types import * # noqa: F403
2
+ from snowflake.cortex.agents._types import _T as _T
3
+ from snowflake.cortex.agents._types import __all__ as __all__
@@ -0,0 +1,4 @@
1
+ from snowflake.cortex.agents._version import * # noqa: F403
2
+ from snowflake.cortex.agents._version import __all__ as __all__
3
+ from snowflake.cortex.agents._version import __title__ as __title__
4
+ from snowflake.cortex.agents._version import __version__ as __version__
@@ -0,0 +1,2 @@
1
+ from snowflake.cortex.agents.api import * # noqa: F403
2
+ from snowflake.cortex.agents.api import __all__ as __all__
@@ -0,0 +1,2 @@
1
+ from snowflake.cortex.agents.api_response import * # noqa: F403
2
+ from snowflake.cortex.agents.api_response import _T as _T
@@ -0,0 +1,4 @@
1
+ from snowflake.cortex.agents.auth import * # noqa: F403
2
+ from snowflake.cortex.agents.auth import __all__ as __all__
3
+ from snowflake.cortex.agents.auth import _resolve as _resolve
4
+ from snowflake.cortex.agents.auth import _TokenAuthAdapter as _TokenAuthAdapter
@@ -0,0 +1,10 @@
1
+ from snowflake.cortex.agents.client import * # noqa: F403
2
+ from snowflake.cortex.agents.client import _CLIENT_DOC as _CLIENT_DOC
3
+ from snowflake.cortex.agents.client import __all__ as __all__
4
+ from snowflake.cortex.agents.client import (
5
+ _coalesce_copy_retry_policy as _coalesce_copy_retry_policy,
6
+ )
7
+ from snowflake.cortex.agents.client import _copy_kwargs as _copy_kwargs
8
+ from snowflake.cortex.agents.client import (
9
+ _resolve_client_retry_policy as _resolve_client_retry_policy,
10
+ )
@@ -0,0 +1,2 @@
1
+ from snowflake.cortex.agents.constants import * # noqa: F403
2
+ from snowflake.cortex.agents.constants import __all__ as __all__
@@ -0,0 +1,14 @@
1
+ from snowflake.cortex.agents.conversation import * # noqa: F403
2
+ from snowflake.cortex.agents.conversation import __all__ as __all__
3
+ from snowflake.cortex.agents.conversation import _CodingAgent as _CodingAgent
4
+ from snowflake.cortex.agents.conversation import _DataAgent as _DataAgent
5
+ from snowflake.cortex.agents.conversation import _InlineAgent as _InlineAgent
6
+ from snowflake.cortex.agents.conversation import _latest_assistant_id as _latest_assistant_id
7
+ from snowflake.cortex.agents.conversation import (
8
+ _permission_decision_content as _permission_decision_content,
9
+ )
10
+ from snowflake.cortex.agents.conversation import _request_body as _request_body
11
+ from snowflake.cortex.agents.conversation import _resolve_previous_turn as _resolve_previous_turn
12
+ from snowflake.cortex.agents.conversation import (
13
+ _resolve_previous_turn_async as _resolve_previous_turn_async,
14
+ )
@@ -0,0 +1,4 @@
1
+ from snowflake.cortex.agents.cortexcode import * # noqa: F403
2
+ from snowflake.cortex.agents.cortexcode import __all__ as __all__
3
+ from snowflake.cortex.agents.cortexcode import _convert_input_schema as _convert_input_schema
4
+ from snowflake.cortex.agents.cortexcode import _schema_for_python_type as _schema_for_python_type
@@ -0,0 +1 @@
1
+ from snowflake.cortex.agents.cortexcode._errors import * # noqa: F403
@@ -0,0 +1 @@
1
+ from snowflake.cortex.agents.cortexcode._internal import * # noqa: F403
@@ -0,0 +1 @@
1
+ from snowflake.cortex.agents.cortexcode._internal.message_parser import * # noqa: F403