traigent 0.11.4__tar.gz → 0.13.0.dev1__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 (833) hide show
  1. traigent-0.13.0.dev1/CHANGELOG.md +235 -0
  2. traigent-0.13.0.dev1/COMMERCIAL-LICENSE.md +15 -0
  3. traigent-0.13.0.dev1/DISCLAIMER.md +199 -0
  4. traigent-0.13.0.dev1/MANIFEST.in +46 -0
  5. traigent-0.13.0.dev1/NOTICE +36 -0
  6. traigent-0.13.0.dev1/PKG-INFO +543 -0
  7. traigent-0.13.0.dev1/README.md +395 -0
  8. traigent-0.13.0.dev1/SECURITY.md +71 -0
  9. traigent-0.13.0.dev1/docs/README.md +123 -0
  10. traigent-0.13.0.dev1/docs/SYNC_MAP.md +13 -0
  11. traigent-0.13.0.dev1/docs/agent-skill.md +35 -0
  12. traigent-0.13.0.dev1/docs/api-reference/complete-function-specification.md +716 -0
  13. traigent-0.13.0.dev1/docs/api-reference/decorator-reference.md +706 -0
  14. traigent-0.13.0.dev1/docs/api-reference/interactive_optimizer.md +167 -0
  15. traigent-0.13.0.dev1/docs/api-reference/telemetry.md +422 -0
  16. traigent-0.13.0.dev1/docs/api-reference/thread-pool-examples.md +461 -0
  17. traigent-0.13.0.dev1/docs/architecture/ARCHITECTURE.md +418 -0
  18. traigent-0.13.0.dev1/docs/architecture/cost-architecture-validation.md +261 -0
  19. traigent-0.13.0.dev1/docs/architecture/integrations-inventory.md +889 -0
  20. traigent-0.13.0.dev1/docs/architecture/plugin_architecture.md +364 -0
  21. traigent-0.13.0.dev1/docs/architecture/project-structure.md +84 -0
  22. traigent-0.13.0.dev1/docs/architecture/stop_conditions.md +238 -0
  23. traigent-0.13.0.dev1/docs/concepts/composite-knob-ir.md +43 -0
  24. traigent-0.13.0.dev1/docs/concepts/composite-knobs.md +245 -0
  25. traigent-0.13.0.dev1/docs/concepts/guided-generation.md +102 -0
  26. traigent-0.13.0.dev1/docs/contributing/ADDING_NEW_INTEGRATIONS.md +531 -0
  27. traigent-0.13.0.dev1/docs/contributing/CONTRIBUTING.md +215 -0
  28. traigent-0.13.0.dev1/docs/contributing/README.md +25 -0
  29. traigent-0.13.0.dev1/docs/contributing/aikido_triage.md +31 -0
  30. traigent-0.13.0.dev1/docs/examples/API_PATTERNS.md +208 -0
  31. traigent-0.13.0.dev1/docs/examples/LEARNING_ROADMAP.md +43 -0
  32. traigent-0.13.0.dev1/docs/examples/QUICK_REFERENCE.md +61 -0
  33. traigent-0.13.0.dev1/docs/examples/README.md +94 -0
  34. traigent-0.13.0.dev1/docs/examples/START_HERE.md +83 -0
  35. traigent-0.13.0.dev1/docs/examples/TROUBLESHOOTING.md +52 -0
  36. traigent-0.13.0.dev1/docs/fake-completion-tracking.md +69 -0
  37. traigent-0.13.0.dev1/docs/features/README.md +29 -0
  38. traigent-0.13.0.dev1/docs/features/authentication.md +443 -0
  39. traigent-0.13.0.dev1/docs/features/constraint-dsl.md +819 -0
  40. traigent-0.13.0.dev1/docs/features/mcp-server.md +68 -0
  41. traigent-0.13.0.dev1/docs/features/observability-spans.md +90 -0
  42. traigent-0.13.0.dev1/docs/features/onboarding.md +84 -0
  43. traigent-0.13.0.dev1/docs/features/recommendations.md +70 -0
  44. traigent-0.13.0.dev1/docs/features/safety-gates.md +95 -0
  45. traigent-0.13.0.dev1/docs/features/strategy-presets.md +74 -0
  46. traigent-0.13.0.dev1/docs/getting-started/GETTING_STARTED.md +161 -0
  47. traigent-0.13.0.dev1/docs/getting-started/README.md +25 -0
  48. traigent-0.13.0.dev1/docs/getting-started/installation.md +100 -0
  49. traigent-0.13.0.dev1/docs/getting-started/minimal-integration.md +65 -0
  50. traigent-0.13.0.dev1/docs/getting-started/portal-dev-laptop-agent.md +54 -0
  51. traigent-0.13.0.dev1/docs/getting-started/testing.md +314 -0
  52. traigent-0.13.0.dev1/docs/guides/evaluation.md +501 -0
  53. traigent-0.13.0.dev1/docs/guides/execution-modes.md +81 -0
  54. traigent-0.13.0.dev1/docs/guides/js-bridge.md +28 -0
  55. traigent-0.13.0.dev1/docs/guides/parallel-configuration.md +163 -0
  56. traigent-0.13.0.dev1/docs/guides/secrets_management.md +158 -0
  57. traigent-0.13.0.dev1/docs/hybrid-mode-api-contract.md +823 -0
  58. traigent-0.13.0.dev1/docs/hybrid-mode-client-guide.md +900 -0
  59. traigent-0.13.0.dev1/docs/operations/azure_openai.md +36 -0
  60. traigent-0.13.0.dev1/docs/operations/bedrock.md +80 -0
  61. traigent-0.13.0.dev1/docs/operations/google_gemini.md +29 -0
  62. traigent-0.13.0.dev1/docs/security/trust_model.md +5 -0
  63. traigent-0.13.0.dev1/docs/traceability/concepts/composite-knob-ir.md +43 -0
  64. traigent-0.13.0.dev1/docs/traceability/concepts/composite-knobs.md +245 -0
  65. traigent-0.13.0.dev1/docs/traceability/concepts/guided-generation.md +102 -0
  66. traigent-0.13.0.dev1/docs/user-guide/README.md +34 -0
  67. traigent-0.13.0.dev1/docs/user-guide/agent_optimization.md +559 -0
  68. traigent-0.13.0.dev1/docs/user-guide/choosing_optimization_model.md +277 -0
  69. traigent-0.13.0.dev1/docs/user-guide/evaluation_guide.md +472 -0
  70. traigent-0.13.0.dev1/docs/user-guide/injection_modes.md +648 -0
  71. traigent-0.13.0.dev1/docs/user-guide/interactive_optimization.md +405 -0
  72. traigent-0.13.0.dev1/docs/user-guide/tuned_variables.md +506 -0
  73. traigent-0.13.0.dev1/docs/walkthrough.md +67 -0
  74. traigent-0.13.0.dev1/pyproject.toml +454 -0
  75. traigent-0.13.0.dev1/requirements/requirements-all.txt +18 -0
  76. traigent-0.13.0.dev1/requirements/requirements-chroma.txt +6 -0
  77. traigent-0.13.0.dev1/requirements/requirements-dev.txt +29 -0
  78. traigent-0.13.0.dev1/requirements/requirements-integrations.txt +28 -0
  79. traigent-0.13.0.dev1/requirements/requirements-security.txt +16 -0
  80. traigent-0.13.0.dev1/requirements/requirements-test.txt +30 -0
  81. traigent-0.13.0.dev1/requirements/requirements.txt +16 -0
  82. traigent-0.13.0.dev1/traigent/__init__.py +656 -0
  83. traigent-0.13.0.dev1/traigent/_version.py +86 -0
  84. traigent-0.13.0.dev1/traigent/adapters/execution_adapter.py +504 -0
  85. traigent-0.13.0.dev1/traigent/admin/__init__.py +27 -0
  86. traigent-0.13.0.dev1/traigent/admin/client.py +281 -0
  87. traigent-0.13.0.dev1/traigent/admin/config.py +47 -0
  88. traigent-0.13.0.dev1/traigent/admin/dtos.py +166 -0
  89. traigent-0.13.0.dev1/traigent/agents/__init__.py +68 -0
  90. traigent-0.13.0.dev1/traigent/agents/config_mapper.py +753 -0
  91. traigent-0.13.0.dev1/traigent/agents/executor.py +391 -0
  92. traigent-0.13.0.dev1/traigent/agents/platforms.py +845 -0
  93. traigent-0.13.0.dev1/traigent/agents/specification_generator.py +930 -0
  94. traigent-0.13.0.dev1/traigent/analytics/__init__.py +178 -0
  95. traigent-0.13.0.dev1/traigent/analytics/example_insights.py +308 -0
  96. traigent-0.13.0.dev1/traigent/analytics/intelligence.py +1901 -0
  97. traigent-0.13.0.dev1/traigent/analytics/meta_learning.py +827 -0
  98. traigent-0.13.0.dev1/traigent/analytics/predictive.py +1542 -0
  99. traigent-0.13.0.dev1/traigent/api/__init__.py +143 -0
  100. traigent-0.13.0.dev1/traigent/api/config_builder.py +255 -0
  101. traigent-0.13.0.dev1/traigent/api/config_space.py +962 -0
  102. traigent-0.13.0.dev1/traigent/api/constraints.py +1349 -0
  103. traigent-0.13.0.dev1/traigent/api/decorators.py +2414 -0
  104. traigent-0.13.0.dev1/traigent/api/functions.py +1216 -0
  105. traigent-0.13.0.dev1/traigent/api/parameter_validator.py +491 -0
  106. traigent-0.13.0.dev1/traigent/api/strategy_presets.py +396 -0
  107. traigent-0.13.0.dev1/traigent/api/types.py +2177 -0
  108. traigent-0.13.0.dev1/traigent/cli/auth_commands.py +1881 -0
  109. traigent-0.13.0.dev1/traigent/cli/generate_config_command.py +349 -0
  110. traigent-0.13.0.dev1/traigent/cli/main.py +2416 -0
  111. traigent-0.13.0.dev1/traigent/cli/onboard_commands.py +564 -0
  112. traigent-0.13.0.dev1/traigent/cloud/__init__.py +72 -0
  113. traigent-0.13.0.dev1/traigent/cloud/api_key_manager.py +484 -0
  114. traigent-0.13.0.dev1/traigent/cloud/api_operations.py +869 -0
  115. traigent-0.13.0.dev1/traigent/cloud/auth.py +1929 -0
  116. traigent-0.13.0.dev1/traigent/cloud/backend_bridges.py +822 -0
  117. traigent-0.13.0.dev1/traigent/cloud/backend_client.py +1358 -0
  118. traigent-0.13.0.dev1/traigent/cloud/backend_components.py +272 -0
  119. traigent-0.13.0.dev1/traigent/cloud/backend_synchronizer.py +717 -0
  120. traigent-0.13.0.dev1/traigent/cloud/benchmark_client.py +206 -0
  121. traigent-0.13.0.dev1/traigent/cloud/billing.py +1386 -0
  122. traigent-0.13.0.dev1/traigent/cloud/client.py +1987 -0
  123. traigent-0.13.0.dev1/traigent/cloud/cloud_operations.py +76 -0
  124. traigent-0.13.0.dev1/traigent/cloud/credential_manager.py +318 -0
  125. traigent-0.13.0.dev1/traigent/cloud/credential_resolver.py +361 -0
  126. traigent-0.13.0.dev1/traigent/cloud/dataset_converter.py +897 -0
  127. traigent-0.13.0.dev1/traigent/cloud/dtos.py +1011 -0
  128. traigent-0.13.0.dev1/traigent/cloud/governance.py +254 -0
  129. traigent-0.13.0.dev1/traigent/cloud/integration_manager.py +893 -0
  130. traigent-0.13.0.dev1/traigent/cloud/models.py +404 -0
  131. traigent-0.13.0.dev1/traigent/cloud/password_auth_handler.py +367 -0
  132. traigent-0.13.0.dev1/traigent/cloud/privacy_operations.py +370 -0
  133. traigent-0.13.0.dev1/traigent/cloud/production_mcp_client.py +1002 -0
  134. traigent-0.13.0.dev1/traigent/cloud/remote_guidance.py +108 -0
  135. traigent-0.13.0.dev1/traigent/cloud/resilient_client.py +439 -0
  136. traigent-0.13.0.dev1/traigent/cloud/service.py +378 -0
  137. traigent-0.13.0.dev1/traigent/cloud/session_operations.py +1206 -0
  138. traigent-0.13.0.dev1/traigent/cloud/session_types.py +17 -0
  139. traigent-0.13.0.dev1/traigent/cloud/sessions.py +1229 -0
  140. traigent-0.13.0.dev1/traigent/cloud/subset_selection.py +614 -0
  141. traigent-0.13.0.dev1/traigent/cloud/sync_manager.py +927 -0
  142. traigent-0.13.0.dev1/traigent/cloud/token_manager.py +614 -0
  143. traigent-0.13.0.dev1/traigent/cloud/trial_operations.py +1065 -0
  144. traigent-0.13.0.dev1/traigent/cloud/url_security.py +156 -0
  145. traigent-0.13.0.dev1/traigent/config/backend_config.py +370 -0
  146. traigent-0.13.0.dev1/traigent/config/context.py +542 -0
  147. traigent-0.13.0.dev1/traigent/config/providers.py +1099 -0
  148. traigent-0.13.0.dev1/traigent/config/types.py +645 -0
  149. traigent-0.13.0.dev1/traigent/config_generator/agent_classifier.py +250 -0
  150. traigent-0.13.0.dev1/traigent/config_generator/apply.py +336 -0
  151. traigent-0.13.0.dev1/traigent/config_generator/catalog/schemas/tvar_catalog_entry_schema.json +230 -0
  152. traigent-0.13.0.dev1/traigent/config_generator/catalog/schemas/tvar_observation_schema.json +217 -0
  153. traigent-0.13.0.dev1/traigent/config_generator/catalog/schemas/tvar_value_recommendation_schema.json +140 -0
  154. traigent-0.13.0.dev1/traigent/config_generator/catalog/tvar_catalog.v1.json +751 -0
  155. traigent-0.13.0.dev1/traigent/config_generator/catalog.py +158 -0
  156. traigent-0.13.0.dev1/traigent/config_generator/llm_backend.py +124 -0
  157. traigent-0.13.0.dev1/traigent/config_generator/presets/range_presets.py +219 -0
  158. traigent-0.13.0.dev1/traigent/config_generator/recommendations.py +296 -0
  159. traigent-0.13.0.dev1/traigent/config_generator/subsystems/tvar_recommendations.py +545 -0
  160. traigent-0.13.0.dev1/traigent/config_generator/types.py +372 -0
  161. traigent-0.13.0.dev1/traigent/core/__init__.py +67 -0
  162. traigent-0.13.0.dev1/traigent/core/backend_session_manager.py +1296 -0
  163. traigent-0.13.0.dev1/traigent/core/best_config_runtime.py +809 -0
  164. traigent-0.13.0.dev1/traigent/core/ci_approval.py +201 -0
  165. traigent-0.13.0.dev1/traigent/core/config_builder.py +565 -0
  166. traigent-0.13.0.dev1/traigent/core/config_state_manager.py +1019 -0
  167. traigent-0.13.0.dev1/traigent/core/constants.py +279 -0
  168. traigent-0.13.0.dev1/traigent/core/cost_enforcement.py +1282 -0
  169. traigent-0.13.0.dev1/traigent/core/cost_estimator.py +316 -0
  170. traigent-0.13.0.dev1/traigent/core/evaluator_wrapper.py +587 -0
  171. traigent-0.13.0.dev1/traigent/core/exception_handler.py +241 -0
  172. traigent-0.13.0.dev1/traigent/core/license.py +927 -0
  173. traigent-0.13.0.dev1/traigent/core/llm_processor.py +357 -0
  174. traigent-0.13.0.dev1/traigent/core/metadata_helpers.py +623 -0
  175. traigent-0.13.0.dev1/traigent/core/objectives.py +825 -0
  176. traigent-0.13.0.dev1/traigent/core/optimization_pipeline.py +652 -0
  177. traigent-0.13.0.dev1/traigent/core/optimized_function.py +2879 -0
  178. traigent-0.13.0.dev1/traigent/core/orchestrator.py +3115 -0
  179. traigent-0.13.0.dev1/traigent/core/parallel_execution_manager.py +476 -0
  180. traigent-0.13.0.dev1/traigent/core/result_selection.py +820 -0
  181. traigent-0.13.0.dev1/traigent/core/session_types.py +151 -0
  182. traigent-0.13.0.dev1/traigent/core/stop_condition_manager.py +201 -0
  183. traigent-0.13.0.dev1/traigent/core/stop_conditions.py +700 -0
  184. traigent-0.13.0.dev1/traigent/core/trace_env.py +64 -0
  185. traigent-0.13.0.dev1/traigent/core/tracing.py +601 -0
  186. traigent-0.13.0.dev1/traigent/core/trial_lifecycle.py +894 -0
  187. traigent-0.13.0.dev1/traigent/core/trial_result_factory.py +649 -0
  188. traigent-0.13.0.dev1/traigent/core/types.py +323 -0
  189. traigent-0.13.0.dev1/traigent/core/workflow_trace_manager.py +468 -0
  190. traigent-0.13.0.dev1/traigent/core_metrics/client.py +423 -0
  191. traigent-0.13.0.dev1/traigent/effectuation/__init__.py +244 -0
  192. traigent-0.13.0.dev1/traigent/effectuation/contracts.py +207 -0
  193. traigent-0.13.0.dev1/traigent/effectuation/strategies/__init__.py +21 -0
  194. traigent-0.13.0.dev1/traigent/effectuation/strategies/framework_param.py +56 -0
  195. traigent-0.13.0.dev1/traigent/effectuation/strategies/self_consistency.py +208 -0
  196. traigent-0.13.0.dev1/traigent/evaluation/__init__.py +57 -0
  197. traigent-0.13.0.dev1/traigent/evaluation/client.py +685 -0
  198. traigent-0.13.0.dev1/traigent/evaluation/config.py +56 -0
  199. traigent-0.13.0.dev1/traigent/evaluation/dtos.py +719 -0
  200. traigent-0.13.0.dev1/traigent/evaluators/__init__.py +17 -0
  201. traigent-0.13.0.dev1/traigent/evaluators/base.py +3169 -0
  202. traigent-0.13.0.dev1/traigent/evaluators/hybrid_api.py +1373 -0
  203. traigent-0.13.0.dev1/traigent/evaluators/local.py +1594 -0
  204. traigent-0.13.0.dev1/traigent/evaluators/metrics.py +245 -0
  205. traigent-0.13.0.dev1/traigent/evaluators/metrics_tracker.py +1543 -0
  206. traigent-0.13.0.dev1/traigent/examples/quickstart/__main__.py +145 -0
  207. traigent-0.13.0.dev1/traigent/examples/quickstart/_env.py +53 -0
  208. traigent-0.13.0.dev1/traigent/examples/tutorial_bootstrap.py +83 -0
  209. traigent-0.13.0.dev1/traigent/generation/__init__.py +69 -0
  210. traigent-0.13.0.dev1/traigent/generation/backend_provider.py +90 -0
  211. traigent-0.13.0.dev1/traigent/generation/example_synth.py +120 -0
  212. traigent-0.13.0.dev1/traigent/generation/llm_provider.py +116 -0
  213. traigent-0.13.0.dev1/traigent/generation/loop.py +236 -0
  214. traigent-0.13.0.dev1/traigent/generation/models.py +146 -0
  215. traigent-0.13.0.dev1/traigent/generation/options.py +46 -0
  216. traigent-0.13.0.dev1/traigent/generation/prompt_rewriter.py +142 -0
  217. traigent-0.13.0.dev1/traigent/generation/validators.py +171 -0
  218. traigent-0.13.0.dev1/traigent/guaranteed_modes.py +77 -0
  219. traigent-0.13.0.dev1/traigent/hybrid/http_transport.py +549 -0
  220. traigent-0.13.0.dev1/traigent/hybrid/lifecycle.py +328 -0
  221. traigent-0.13.0.dev1/traigent/hybrid/mcp_transport.py +377 -0
  222. traigent-0.13.0.dev1/traigent/hybrid/protocol.py +637 -0
  223. traigent-0.13.0.dev1/traigent/hybrid/transport.py +375 -0
  224. traigent-0.13.0.dev1/traigent/integrations/bedrock_client.py +567 -0
  225. traigent-0.13.0.dev1/traigent/integrations/langfuse/client.py +808 -0
  226. traigent-0.13.0.dev1/traigent/integrations/llms/__init__.py +33 -0
  227. traigent-0.13.0.dev1/traigent/integrations/llms/langchain/base.py +280 -0
  228. traigent-0.13.0.dev1/traigent/integrations/llms/litellm_plugin.py +149 -0
  229. traigent-0.13.0.dev1/traigent/integrations/model_discovery/cache.py +300 -0
  230. traigent-0.13.0.dev1/traigent/integrations/observability/wandb.py +693 -0
  231. traigent-0.13.0.dev1/traigent/integrations/plugin_registry.py +508 -0
  232. traigent-0.13.0.dev1/traigent/integrations/utils/__init__.py +44 -0
  233. traigent-0.13.0.dev1/traigent/integrations/utils/mock_adapter.py +369 -0
  234. traigent-0.13.0.dev1/traigent/integrations/utils/parameter_normalizer.py +616 -0
  235. traigent-0.13.0.dev1/traigent/invokers/local.py +282 -0
  236. traigent-0.13.0.dev1/traigent/invokers/streaming.py +312 -0
  237. traigent-0.13.0.dev1/traigent/knobs/__init__.py +90 -0
  238. traigent-0.13.0.dev1/traigent/knobs/adapters.py +44 -0
  239. traigent-0.13.0.dev1/traigent/knobs/bindings.py +145 -0
  240. traigent-0.13.0.dev1/traigent/knobs/canonical.py +79 -0
  241. traigent-0.13.0.dev1/traigent/knobs/cascade.py +245 -0
  242. traigent-0.13.0.dev1/traigent/knobs/certificates.py +253 -0
  243. traigent-0.13.0.dev1/traigent/knobs/composites.py +1119 -0
  244. traigent-0.13.0.dev1/traigent/knobs/kinds.py +29 -0
  245. traigent-0.13.0.dev1/traigent/knobs/patterns.py +969 -0
  246. traigent-0.13.0.dev1/traigent/knobs/resolution.py +64 -0
  247. traigent-0.13.0.dev1/traigent/knobs/resolver.py +381 -0
  248. traigent-0.13.0.dev1/traigent/knobs/runtime.py +2028 -0
  249. traigent-0.13.0.dev1/traigent/knobs/signals.py +72 -0
  250. traigent-0.13.0.dev1/traigent/knobs/telemetry.py +245 -0
  251. traigent-0.13.0.dev1/traigent/mcp/__init__.py +7 -0
  252. traigent-0.13.0.dev1/traigent/mcp/server.py +201 -0
  253. traigent-0.13.0.dev1/traigent/mcp/tools.py +992 -0
  254. traigent-0.13.0.dev1/traigent/observability/__init__.py +67 -0
  255. traigent-0.13.0.dev1/traigent/observability/agent_spans.py +210 -0
  256. traigent-0.13.0.dev1/traigent/observability/client.py +1016 -0
  257. traigent-0.13.0.dev1/traigent/observability/config.py +112 -0
  258. traigent-0.13.0.dev1/traigent/optimizers/__init__.py +123 -0
  259. traigent-0.13.0.dev1/traigent/optimizers/batch_optimizers.py +880 -0
  260. traigent-0.13.0.dev1/traigent/optimizers/bayesian.py +605 -0
  261. traigent-0.13.0.dev1/traigent/optimizers/cloud_optimizer.py +698 -0
  262. traigent-0.13.0.dev1/traigent/optimizers/interactive_optimizer.py +546 -0
  263. traigent-0.13.0.dev1/traigent/optimizers/registry.py +229 -0
  264. traigent-0.13.0.dev1/traigent/optimizers/remote.py +222 -0
  265. traigent-0.13.0.dev1/traigent/optimizers/remote_services.py +1132 -0
  266. traigent-0.13.0.dev1/traigent/plugins/registry.py +1058 -0
  267. traigent-0.13.0.dev1/traigent/projects/client.py +216 -0
  268. traigent-0.13.0.dev1/traigent/projects/dtos.py +211 -0
  269. traigent-0.13.0.dev1/traigent/prompts/client.py +321 -0
  270. traigent-0.13.0.dev1/traigent/security/__init__.py +89 -0
  271. traigent-0.13.0.dev1/traigent/security/audit.py +873 -0
  272. traigent-0.13.0.dev1/traigent/security/auth/helpers.py +93 -0
  273. traigent-0.13.0.dev1/traigent/security/auth/models.py +88 -0
  274. traigent-0.13.0.dev1/traigent/security/auth/oidc.py +225 -0
  275. traigent-0.13.0.dev1/traigent/security/auth/saml.py +166 -0
  276. traigent-0.13.0.dev1/traigent/security/auth/sms.py +192 -0
  277. traigent-0.13.0.dev1/traigent/security/auth/totp.py +145 -0
  278. traigent-0.13.0.dev1/traigent/security/config.py +111 -0
  279. traigent-0.13.0.dev1/traigent/security/credentials.py +1093 -0
  280. traigent-0.13.0.dev1/traigent/security/crypto_utils.py +610 -0
  281. traigent-0.13.0.dev1/traigent/security/deployment.py +379 -0
  282. traigent-0.13.0.dev1/traigent/security/encryption.py +1466 -0
  283. traigent-0.13.0.dev1/traigent/security/enterprise.py +916 -0
  284. traigent-0.13.0.dev1/traigent/security/rate_limiter.py +656 -0
  285. traigent-0.13.0.dev1/traigent/security/redaction.py +91 -0
  286. traigent-0.13.0.dev1/traigent/security/tenant.py +885 -0
  287. traigent-0.13.0.dev1/traigent/skills/traigent-analyze-results/SKILL.md +325 -0
  288. traigent-0.13.0.dev1/traigent/skills/traigent-analyze-results/references/convergence-patterns.md +187 -0
  289. traigent-0.13.0.dev1/traigent/skills/traigent-analyze-results/references/optimization-result-api.md +194 -0
  290. traigent-0.13.0.dev1/traigent/skills/traigent-configuration-space/SKILL.md +458 -0
  291. traigent-0.13.0.dev1/traigent/skills/traigent-configuration-space/references/constraints.md +431 -0
  292. traigent-0.13.0.dev1/traigent/skills/traigent-configuration-space/references/parameter-types.md +239 -0
  293. traigent-0.13.0.dev1/traigent/skills/traigent-debugging/SKILL.md +401 -0
  294. traigent-0.13.0.dev1/traigent/skills/traigent-debugging/references/error-reference.md +270 -0
  295. traigent-0.13.0.dev1/traigent/skills/traigent-debugging/references/logging-config.md +185 -0
  296. traigent-0.13.0.dev1/traigent/skills/traigent-debugging/references/mock-mode.md +199 -0
  297. traigent-0.13.0.dev1/traigent/skills/traigent-decorator-setup/SKILL.md +306 -0
  298. traigent-0.13.0.dev1/traigent/skills/traigent-decorator-setup/references/evaluation-options.md +208 -0
  299. traigent-0.13.0.dev1/traigent/skills/traigent-decorator-setup/references/execution-modes.md +167 -0
  300. traigent-0.13.0.dev1/traigent/skills/traigent-decorator-setup/references/injection-modes.md +173 -0
  301. traigent-0.13.0.dev1/traigent/skills/traigent-integrations/SKILL.md +305 -0
  302. traigent-0.13.0.dev1/traigent/skills/traigent-integrations/references/dspy.md +190 -0
  303. traigent-0.13.0.dev1/traigent/skills/traigent-integrations/references/langchain.md +198 -0
  304. traigent-0.13.0.dev1/traigent/skills/traigent-integrations/references/litellm.md +186 -0
  305. traigent-0.13.0.dev1/traigent/skills/traigent-quickstart/SKILL.md +214 -0
  306. traigent-0.13.0.dev1/traigent/skills/traigent-quickstart/references/environment-variables.md +114 -0
  307. traigent-0.13.0.dev1/traigent/skills/traigent-quickstart/references/installation-extras.md +86 -0
  308. traigent-0.13.0.dev1/traigent/skills/traigent-run-optimization/SKILL.md +375 -0
  309. traigent-0.13.0.dev1/traigent/skills/traigent-run-optimization/references/algorithms.md +155 -0
  310. traigent-0.13.0.dev1/traigent/skills/traigent-run-optimization/references/cost-management.md +211 -0
  311. traigent-0.13.0.dev1/traigent/skills/traigent-run-optimization/references/parallel-config.md +173 -0
  312. traigent-0.13.0.dev1/traigent/storage/local_storage.py +1000 -0
  313. traigent-0.13.0.dev1/traigent/testing/__init__.py +129 -0
  314. traigent-0.13.0.dev1/traigent/traigent_client.py +780 -0
  315. traigent-0.13.0.dev1/traigent/tuned_variables/__init__.py +55 -0
  316. traigent-0.13.0.dev1/traigent/tuned_variables/observation.py +311 -0
  317. traigent-0.13.0.dev1/traigent/tvl/__main__.py +219 -0
  318. traigent-0.13.0.dev1/traigent/tvl/models.py +821 -0
  319. traigent-0.13.0.dev1/traigent/tvl/spec_loader.py +2273 -0
  320. traigent-0.13.0.dev1/traigent/utils/__init__.py +120 -0
  321. traigent-0.13.0.dev1/traigent/utils/callbacks.py +1136 -0
  322. traigent-0.13.0.dev1/traigent/utils/constraints.py +606 -0
  323. traigent-0.13.0.dev1/traigent/utils/cost_calculator.py +1231 -0
  324. traigent-0.13.0.dev1/traigent/utils/diagnostics.py +357 -0
  325. traigent-0.13.0.dev1/traigent/utils/env_config.py +545 -0
  326. traigent-0.13.0.dev1/traigent/utils/error_handler.py +272 -0
  327. traigent-0.13.0.dev1/traigent/utils/exceptions.py +596 -0
  328. traigent-0.13.0.dev1/traigent/utils/importance.py +514 -0
  329. traigent-0.13.0.dev1/traigent/utils/insights.py +414 -0
  330. traigent-0.13.0.dev1/traigent/utils/langchain_interceptor.py +454 -0
  331. traigent-0.13.0.dev1/traigent/utils/litellm_interceptor.py +142 -0
  332. traigent-0.13.0.dev1/traigent/utils/local_analytics.py +566 -0
  333. traigent-0.13.0.dev1/traigent/utils/logging.py +105 -0
  334. traigent-0.13.0.dev1/traigent/utils/optimization_logger.py +923 -0
  335. traigent-0.13.0.dev1/traigent/utils/persistence.py +592 -0
  336. traigent-0.13.0.dev1/traigent/utils/results_table.py +524 -0
  337. traigent-0.13.0.dev1/traigent/utils/retry.py +601 -0
  338. traigent-0.13.0.dev1/traigent/utils/url_security.py +125 -0
  339. traigent-0.13.0.dev1/traigent.egg-info/PKG-INFO +543 -0
  340. traigent-0.13.0.dev1/traigent.egg-info/SOURCES.txt +589 -0
  341. traigent-0.13.0.dev1/traigent.egg-info/requires.txt +139 -0
  342. traigent-0.11.4/CHANGELOG.md +0 -126
  343. traigent-0.11.4/COMMERCIAL-LICENSING.md +0 -15
  344. traigent-0.11.4/DISCLAIMER.md +0 -166
  345. traigent-0.11.4/MANIFEST.in +0 -46
  346. traigent-0.11.4/NOTICE +0 -34
  347. traigent-0.11.4/PKG-INFO +0 -527
  348. traigent-0.11.4/README.md +0 -385
  349. traigent-0.11.4/SECURITY.md +0 -42
  350. traigent-0.11.4/docs/README.md +0 -117
  351. traigent-0.11.4/docs/agent-skill.md +0 -32
  352. traigent-0.11.4/docs/api-reference/complete-function-specification.md +0 -593
  353. traigent-0.11.4/docs/api-reference/decorator-reference.md +0 -682
  354. traigent-0.11.4/docs/api-reference/interactive_optimizer.md +0 -154
  355. traigent-0.11.4/docs/api-reference/telemetry.md +0 -349
  356. traigent-0.11.4/docs/api-reference/thread-pool-examples.md +0 -461
  357. traigent-0.11.4/docs/architecture/ARCHITECTURE.md +0 -417
  358. traigent-0.11.4/docs/architecture/cost-architecture-validation.md +0 -242
  359. traigent-0.11.4/docs/architecture/integrations-inventory.md +0 -897
  360. traigent-0.11.4/docs/architecture/plugin_architecture.md +0 -373
  361. traigent-0.11.4/docs/architecture/project-structure.md +0 -87
  362. traigent-0.11.4/docs/architecture/stop_conditions.md +0 -173
  363. traigent-0.11.4/docs/contributing/ADDING_NEW_INTEGRATIONS.md +0 -532
  364. traigent-0.11.4/docs/contributing/CONTRIBUTING.md +0 -215
  365. traigent-0.11.4/docs/contributing/README.md +0 -20
  366. traigent-0.11.4/docs/examples/API_PATTERNS.md +0 -454
  367. traigent-0.11.4/docs/examples/LEARNING_ROADMAP.md +0 -43
  368. traigent-0.11.4/docs/examples/QUICK_REFERENCE.md +0 -60
  369. traigent-0.11.4/docs/examples/README.md +0 -95
  370. traigent-0.11.4/docs/examples/START_HERE.md +0 -84
  371. traigent-0.11.4/docs/examples/TROUBLESHOOTING.md +0 -51
  372. traigent-0.11.4/docs/features/README.md +0 -21
  373. traigent-0.11.4/docs/features/authentication.md +0 -371
  374. traigent-0.11.4/docs/features/constraint-dsl.md +0 -818
  375. traigent-0.11.4/docs/getting-started/GETTING_STARTED.md +0 -132
  376. traigent-0.11.4/docs/getting-started/README.md +0 -17
  377. traigent-0.11.4/docs/getting-started/installation.md +0 -81
  378. traigent-0.11.4/docs/getting-started/minimal-integration.md +0 -65
  379. traigent-0.11.4/docs/getting-started/testing.md +0 -290
  380. traigent-0.11.4/docs/guides/evaluation.md +0 -490
  381. traigent-0.11.4/docs/guides/execution-modes.md +0 -71
  382. traigent-0.11.4/docs/guides/js-bridge.md +0 -630
  383. traigent-0.11.4/docs/guides/parallel-configuration.md +0 -166
  384. traigent-0.11.4/docs/guides/secrets_management.md +0 -156
  385. traigent-0.11.4/docs/hybrid-mode-api-contract.md +0 -820
  386. traigent-0.11.4/docs/hybrid-mode-client-guide.md +0 -877
  387. traigent-0.11.4/docs/operations/azure_openai.md +0 -35
  388. traigent-0.11.4/docs/operations/bedrock.md +0 -61
  389. traigent-0.11.4/docs/operations/google_gemini.md +0 -28
  390. traigent-0.11.4/docs/traceability/alloy/cost_enforcement/showBudgetExhaustion-solution-0.md +0 -41
  391. traigent-0.11.4/docs/traceability/alloy/cost_enforcement/showDoubleRelease-solution-0.md +0 -49
  392. traigent-0.11.4/docs/traceability/alloy/cost_enforcement/showValidTrace-solution-0.md +0 -37
  393. traigent-0.11.4/docs/user-guide/README.md +0 -27
  394. traigent-0.11.4/docs/user-guide/agent_optimization.md +0 -552
  395. traigent-0.11.4/docs/user-guide/choosing_optimization_model.md +0 -314
  396. traigent-0.11.4/docs/user-guide/evaluation_guide.md +0 -384
  397. traigent-0.11.4/docs/user-guide/injection_modes.md +0 -679
  398. traigent-0.11.4/docs/user-guide/interactive_optimization.md +0 -382
  399. traigent-0.11.4/docs/user-guide/tuned_variables.md +0 -795
  400. traigent-0.11.4/docs/walkthrough.md +0 -40
  401. traigent-0.11.4/pyproject.toml +0 -428
  402. traigent-0.11.4/requirements/requirements-all.txt +0 -17
  403. traigent-0.11.4/requirements/requirements-dev.txt +0 -28
  404. traigent-0.11.4/requirements/requirements-integrations.txt +0 -29
  405. traigent-0.11.4/requirements/requirements-security.txt +0 -16
  406. traigent-0.11.4/requirements/requirements-test.txt +0 -30
  407. traigent-0.11.4/requirements/requirements.txt +0 -16
  408. traigent-0.11.4/traigent/__init__.py +0 -342
  409. traigent-0.11.4/traigent/_version.py +0 -79
  410. traigent-0.11.4/traigent/adapters/execution_adapter.py +0 -470
  411. traigent-0.11.4/traigent/agents/__init__.py +0 -66
  412. traigent-0.11.4/traigent/agents/config_mapper.py +0 -654
  413. traigent-0.11.4/traigent/agents/executor.py +0 -392
  414. traigent-0.11.4/traigent/agents/platforms.py +0 -868
  415. traigent-0.11.4/traigent/agents/specification_generator.py +0 -893
  416. traigent-0.11.4/traigent/analytics/__init__.py +0 -175
  417. traigent-0.11.4/traigent/analytics/example_insights.py +0 -314
  418. traigent-0.11.4/traigent/analytics/intelligence.py +0 -1899
  419. traigent-0.11.4/traigent/analytics/meta_learning.py +0 -814
  420. traigent-0.11.4/traigent/analytics/predictive.py +0 -1542
  421. traigent-0.11.4/traigent/api/__init__.py +0 -85
  422. traigent-0.11.4/traigent/api/config_builder.py +0 -229
  423. traigent-0.11.4/traigent/api/config_space.py +0 -870
  424. traigent-0.11.4/traigent/api/constraints.py +0 -1349
  425. traigent-0.11.4/traigent/api/decorators.py +0 -2254
  426. traigent-0.11.4/traigent/api/functions.py +0 -1116
  427. traigent-0.11.4/traigent/api/parameter_validator.py +0 -475
  428. traigent-0.11.4/traigent/api/types.py +0 -1886
  429. traigent-0.11.4/traigent/bridges/__init__.py +0 -25
  430. traigent-0.11.4/traigent/bridges/js_bridge.py +0 -665
  431. traigent-0.11.4/traigent/bridges/process_pool.py +0 -436
  432. traigent-0.11.4/traigent/cli/auth_commands.py +0 -1111
  433. traigent-0.11.4/traigent/cli/generate_config_command.py +0 -313
  434. traigent-0.11.4/traigent/cli/main.py +0 -1938
  435. traigent-0.11.4/traigent/cloud/__init__.py +0 -33
  436. traigent-0.11.4/traigent/cloud/api_key_manager.py +0 -488
  437. traigent-0.11.4/traigent/cloud/api_operations.py +0 -817
  438. traigent-0.11.4/traigent/cloud/auth.py +0 -1674
  439. traigent-0.11.4/traigent/cloud/backend_bridges.py +0 -805
  440. traigent-0.11.4/traigent/cloud/backend_client.py +0 -1124
  441. traigent-0.11.4/traigent/cloud/backend_components.py +0 -257
  442. traigent-0.11.4/traigent/cloud/backend_synchronizer.py +0 -736
  443. traigent-0.11.4/traigent/cloud/billing.py +0 -1312
  444. traigent-0.11.4/traigent/cloud/client.py +0 -1902
  445. traigent-0.11.4/traigent/cloud/cloud_operations.py +0 -135
  446. traigent-0.11.4/traigent/cloud/credential_manager.py +0 -223
  447. traigent-0.11.4/traigent/cloud/credential_resolver.py +0 -355
  448. traigent-0.11.4/traigent/cloud/dataset_converter.py +0 -863
  449. traigent-0.11.4/traigent/cloud/dtos.py +0 -700
  450. traigent-0.11.4/traigent/cloud/integration_manager.py +0 -827
  451. traigent-0.11.4/traigent/cloud/models.py +0 -401
  452. traigent-0.11.4/traigent/cloud/password_auth_handler.py +0 -314
  453. traigent-0.11.4/traigent/cloud/privacy_operations.py +0 -326
  454. traigent-0.11.4/traigent/cloud/production_mcp_client.py +0 -919
  455. traigent-0.11.4/traigent/cloud/resilient_client.py +0 -443
  456. traigent-0.11.4/traigent/cloud/service.py +0 -432
  457. traigent-0.11.4/traigent/cloud/session_operations.py +0 -955
  458. traigent-0.11.4/traigent/cloud/session_types.py +0 -8
  459. traigent-0.11.4/traigent/cloud/sessions.py +0 -1231
  460. traigent-0.11.4/traigent/cloud/subset_selection.py +0 -612
  461. traigent-0.11.4/traigent/cloud/sync_manager.py +0 -609
  462. traigent-0.11.4/traigent/cloud/token_manager.py +0 -538
  463. traigent-0.11.4/traigent/cloud/trial_operations.py +0 -968
  464. traigent-0.11.4/traigent/config/backend_config.py +0 -367
  465. traigent-0.11.4/traigent/config/context.py +0 -466
  466. traigent-0.11.4/traigent/config/providers.py +0 -1031
  467. traigent-0.11.4/traigent/config/types.py +0 -600
  468. traigent-0.11.4/traigent/config_generator/agent_classifier.py +0 -232
  469. traigent-0.11.4/traigent/config_generator/apply.py +0 -289
  470. traigent-0.11.4/traigent/config_generator/llm_backend.py +0 -121
  471. traigent-0.11.4/traigent/config_generator/presets/range_presets.py +0 -156
  472. traigent-0.11.4/traigent/config_generator/subsystems/tvar_recommendations.py +0 -246
  473. traigent-0.11.4/traigent/config_generator/types.py +0 -315
  474. traigent-0.11.4/traigent/core/__init__.py +0 -40
  475. traigent-0.11.4/traigent/core/backend_session_manager.py +0 -1015
  476. traigent-0.11.4/traigent/core/ci_approval.py +0 -216
  477. traigent-0.11.4/traigent/core/config_builder.py +0 -571
  478. traigent-0.11.4/traigent/core/config_state_manager.py +0 -545
  479. traigent-0.11.4/traigent/core/constants.py +0 -278
  480. traigent-0.11.4/traigent/core/cost_enforcement.py +0 -1270
  481. traigent-0.11.4/traigent/core/cost_estimator.py +0 -303
  482. traigent-0.11.4/traigent/core/evaluator_wrapper.py +0 -539
  483. traigent-0.11.4/traigent/core/exception_handler.py +0 -239
  484. traigent-0.11.4/traigent/core/license.py +0 -539
  485. traigent-0.11.4/traigent/core/llm_processor.py +0 -339
  486. traigent-0.11.4/traigent/core/metadata_helpers.py +0 -501
  487. traigent-0.11.4/traigent/core/objectives.py +0 -816
  488. traigent-0.11.4/traigent/core/optimization_pipeline.py +0 -700
  489. traigent-0.11.4/traigent/core/optimized_function.py +0 -2357
  490. traigent-0.11.4/traigent/core/orchestrator.py +0 -2546
  491. traigent-0.11.4/traigent/core/parallel_execution_manager.py +0 -439
  492. traigent-0.11.4/traigent/core/result_selection.py +0 -637
  493. traigent-0.11.4/traigent/core/session_types.py +0 -63
  494. traigent-0.11.4/traigent/core/stop_condition_manager.py +0 -199
  495. traigent-0.11.4/traigent/core/stop_conditions.py +0 -643
  496. traigent-0.11.4/traigent/core/tracing.py +0 -459
  497. traigent-0.11.4/traigent/core/trial_lifecycle.py +0 -835
  498. traigent-0.11.4/traigent/core/trial_result_factory.py +0 -530
  499. traigent-0.11.4/traigent/core/types.py +0 -323
  500. traigent-0.11.4/traigent/core/workflow_trace_manager.py +0 -326
  501. traigent-0.11.4/traigent/core_metrics/client.py +0 -420
  502. traigent-0.11.4/traigent/evaluators/__init__.py +0 -19
  503. traigent-0.11.4/traigent/evaluators/base.py +0 -2934
  504. traigent-0.11.4/traigent/evaluators/hybrid_api.py +0 -1360
  505. traigent-0.11.4/traigent/evaluators/js_evaluator.py +0 -329
  506. traigent-0.11.4/traigent/evaluators/local.py +0 -1472
  507. traigent-0.11.4/traigent/evaluators/metrics.py +0 -242
  508. traigent-0.11.4/traigent/evaluators/metrics_tracker.py +0 -1210
  509. traigent-0.11.4/traigent/examples/quickstart/__main__.py +0 -72
  510. traigent-0.11.4/traigent/hybrid/http_transport.py +0 -543
  511. traigent-0.11.4/traigent/hybrid/lifecycle.py +0 -324
  512. traigent-0.11.4/traigent/hybrid/mcp_transport.py +0 -377
  513. traigent-0.11.4/traigent/hybrid/protocol.py +0 -630
  514. traigent-0.11.4/traigent/hybrid/transport.py +0 -288
  515. traigent-0.11.4/traigent/integrations/bedrock_client.py +0 -598
  516. traigent-0.11.4/traigent/integrations/langfuse/client.py +0 -792
  517. traigent-0.11.4/traigent/integrations/llms/__init__.py +0 -31
  518. traigent-0.11.4/traigent/integrations/llms/langchain/base.py +0 -274
  519. traigent-0.11.4/traigent/integrations/model_discovery/cache.py +0 -296
  520. traigent-0.11.4/traigent/integrations/observability/wandb.py +0 -689
  521. traigent-0.11.4/traigent/integrations/plugin_registry.py +0 -401
  522. traigent-0.11.4/traigent/integrations/utils/__init__.py +0 -49
  523. traigent-0.11.4/traigent/integrations/utils/mock_adapter.py +0 -310
  524. traigent-0.11.4/traigent/integrations/utils/parameter_normalizer.py +0 -615
  525. traigent-0.11.4/traigent/invokers/local.py +0 -278
  526. traigent-0.11.4/traigent/invokers/streaming.py +0 -313
  527. traigent-0.11.4/traigent/observability/__init__.py +0 -65
  528. traigent-0.11.4/traigent/observability/client.py +0 -744
  529. traigent-0.11.4/traigent/observability/config.py +0 -99
  530. traigent-0.11.4/traigent/optimizers/__init__.py +0 -113
  531. traigent-0.11.4/traigent/optimizers/batch_optimizers.py +0 -808
  532. traigent-0.11.4/traigent/optimizers/bayesian.py +0 -616
  533. traigent-0.11.4/traigent/optimizers/cloud_optimizer.py +0 -689
  534. traigent-0.11.4/traigent/optimizers/interactive_optimizer.py +0 -474
  535. traigent-0.11.4/traigent/optimizers/registry.py +0 -195
  536. traigent-0.11.4/traigent/optimizers/remote.py +0 -181
  537. traigent-0.11.4/traigent/optimizers/remote_services.py +0 -1131
  538. traigent-0.11.4/traigent/plugins/registry.py +0 -1025
  539. traigent-0.11.4/traigent/projects/client.py +0 -214
  540. traigent-0.11.4/traigent/projects/dtos.py +0 -195
  541. traigent-0.11.4/traigent/prompts/client.py +0 -319
  542. traigent-0.11.4/traigent/security/__init__.py +0 -53
  543. traigent-0.11.4/traigent/security/audit.py +0 -958
  544. traigent-0.11.4/traigent/security/auth/helpers.py +0 -82
  545. traigent-0.11.4/traigent/security/auth/models.py +0 -43
  546. traigent-0.11.4/traigent/security/auth/oidc.py +0 -219
  547. traigent-0.11.4/traigent/security/auth/saml.py +0 -162
  548. traigent-0.11.4/traigent/security/auth/sms.py +0 -192
  549. traigent-0.11.4/traigent/security/auth/totp.py +0 -146
  550. traigent-0.11.4/traigent/security/config.py +0 -104
  551. traigent-0.11.4/traigent/security/credentials.py +0 -964
  552. traigent-0.11.4/traigent/security/crypto_utils.py +0 -539
  553. traigent-0.11.4/traigent/security/deployment.py +0 -336
  554. traigent-0.11.4/traigent/security/encryption.py +0 -1335
  555. traigent-0.11.4/traigent/security/enterprise.py +0 -841
  556. traigent-0.11.4/traigent/security/rate_limiter.py +0 -625
  557. traigent-0.11.4/traigent/security/tenant.py +0 -861
  558. traigent-0.11.4/traigent/storage/local_storage.py +0 -895
  559. traigent-0.11.4/traigent/traigent_client.py +0 -782
  560. traigent-0.11.4/traigent/tuned_variables/__init__.py +0 -52
  561. traigent-0.11.4/traigent/tvl/__main__.py +0 -218
  562. traigent-0.11.4/traigent/tvl/models.py +0 -775
  563. traigent-0.11.4/traigent/tvl/spec_loader.py +0 -2101
  564. traigent-0.11.4/traigent/utils/__init__.py +0 -118
  565. traigent-0.11.4/traigent/utils/callbacks.py +0 -1082
  566. traigent-0.11.4/traigent/utils/constraints.py +0 -605
  567. traigent-0.11.4/traigent/utils/cost_calculator.py +0 -1151
  568. traigent-0.11.4/traigent/utils/diagnostics.py +0 -357
  569. traigent-0.11.4/traigent/utils/env_config.py +0 -311
  570. traigent-0.11.4/traigent/utils/error_handler.py +0 -248
  571. traigent-0.11.4/traigent/utils/exceptions.py +0 -596
  572. traigent-0.11.4/traigent/utils/importance.py +0 -514
  573. traigent-0.11.4/traigent/utils/insights.py +0 -414
  574. traigent-0.11.4/traigent/utils/langchain_interceptor.py +0 -359
  575. traigent-0.11.4/traigent/utils/local_analytics.py +0 -557
  576. traigent-0.11.4/traigent/utils/logging.py +0 -58
  577. traigent-0.11.4/traigent/utils/optimization_logger.py +0 -840
  578. traigent-0.11.4/traigent/utils/persistence.py +0 -573
  579. traigent-0.11.4/traigent/utils/results_table.py +0 -254
  580. traigent-0.11.4/traigent/utils/retry.py +0 -600
  581. traigent-0.11.4/traigent.egg-info/PKG-INFO +0 -527
  582. traigent-0.11.4/traigent.egg-info/SOURCES.txt +0 -490
  583. traigent-0.11.4/traigent.egg-info/requires.txt +0 -132
  584. {traigent-0.11.4 → traigent-0.13.0.dev1}/CONTRIBUTING.md +0 -0
  585. {traigent-0.11.4 → traigent-0.13.0.dev1}/CONTRIBUTOR-LICENSING.md +0 -0
  586. {traigent-0.11.4 → traigent-0.13.0.dev1}/LICENSE +0 -0
  587. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/api-reference/enterprise-beta-api.md +0 -0
  588. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/architecture/execution_mode_follow_up.md +0 -0
  589. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/contributing/CODE_OF_CONDUCT.md +0 -0
  590. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/contributing/EXAMPLE_TEMPLATE.md +0 -0
  591. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/contributing/SECURITY.md +0 -0
  592. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/contributing/code_review_instructions.md +0 -0
  593. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/contributing/test-quality-guide.md +0 -0
  594. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/demos/DEMO_VIDEO_GUIDE.md +0 -0
  595. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/demos/README.md +0 -0
  596. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/feature_matrices/README.md +0 -0
  597. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/features/dataflow-detection.md +0 -0
  598. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/features/framework_override_enhanced_features.md +0 -0
  599. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/features/prompt_management.md +0 -0
  600. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/features/seamless_injection.md +0 -0
  601. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/features/strict_metrics_nulls.md +0 -0
  602. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/guides/VSCODE_RESTART_GUIDE.md +0 -0
  603. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/guides/llm_plugin_migration_guide.md +0 -0
  604. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/testing/CREATIVE_STRESS_TESTING.md +0 -0
  605. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/traceability/schema.md +0 -0
  606. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/traceability/tagging_tracking.md +0 -0
  607. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/traceability/taxonomy_reference.md +0 -0
  608. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/tvl/CONSTRAINT_EXPRESSIONS.md +0 -0
  609. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/user-guide/configuration-spaces.md +0 -0
  610. {traigent-0.11.4 → traigent-0.13.0.dev1}/docs/user-guide/optuna_integration.md +0 -0
  611. {traigent-0.11.4 → traigent-0.13.0.dev1}/requirements/requirements-analytics.txt +0 -0
  612. {traigent-0.11.4 → traigent-0.13.0.dev1}/requirements/requirements-bayesian.txt +0 -0
  613. {traigent-0.11.4 → traigent-0.13.0.dev1}/requirements/requirements-hybrid.txt +0 -0
  614. {traigent-0.11.4 → traigent-0.13.0.dev1}/setup.cfg +0 -0
  615. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/analytics/anomaly.py +0 -0
  616. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/analytics/cost_optimization.py +0 -0
  617. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/analytics/scheduling.py +0 -0
  618. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/api/agent_inference.py +0 -0
  619. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/api/constraint_builders.py +0 -0
  620. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/api/parameter_ranges.py +0 -0
  621. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/api/safety.py +0 -0
  622. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/api/validation_protocol.py +0 -0
  623. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cli/__init__.py +0 -0
  624. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cli/detect_tvars_command.py +0 -0
  625. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cli/function_discovery.py +0 -0
  626. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cli/hooks_commands.py +0 -0
  627. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cli/local_commands.py +0 -0
  628. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cli/optimization_validator.py +0 -0
  629. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cli/validation_types.py +0 -0
  630. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cloud/_aiohttp_compat.py +0 -0
  631. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cloud/agent_dtos.py +0 -0
  632. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cloud/async_batch_transport.py +0 -0
  633. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cloud/event_manager.py +0 -0
  634. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cloud/optimizer_client.py +0 -0
  635. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cloud/trial_tracker.py +0 -0
  636. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/cloud/validators.py +0 -0
  637. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config/__init__.py +0 -0
  638. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config/api_keys.py +0 -0
  639. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config/ast_transformer.py +0 -0
  640. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config/feature_flags.py +0 -0
  641. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config/models.yaml +0 -0
  642. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config/parallel.py +0 -0
  643. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config/project.py +0 -0
  644. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config/runtime_injector.py +0 -0
  645. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config/seamless_injection.py +0 -0
  646. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config/seamless_optuna_adapter.py +0 -0
  647. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config/tenant.py +0 -0
  648. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/__init__.py +0 -0
  649. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/pipeline.py +0 -0
  650. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/presets/__init__.py +0 -0
  651. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/presets/agent_type_catalog.py +0 -0
  652. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/presets/benchmark_catalog.py +0 -0
  653. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/presets/constraint_templates.py +0 -0
  654. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/subsystems/__init__.py +0 -0
  655. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/subsystems/benchmarks.py +0 -0
  656. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/subsystems/objectives.py +0 -0
  657. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/subsystems/safety_constraints.py +0 -0
  658. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/subsystems/structural_constraints.py +0 -0
  659. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/config_generator/subsystems/tvar_ranges.py +0 -0
  660. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/cache_policy.py +0 -0
  661. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/logger_facade.py +0 -0
  662. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/mandatory_metrics.py +0 -0
  663. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/meta_types.py +0 -0
  664. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/metric_registry.py +0 -0
  665. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/metrics_aggregator.py +0 -0
  666. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/namespace.py +0 -0
  667. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/orchestrator_helpers.py +0 -0
  668. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/progress_manager.py +0 -0
  669. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/pruning_progress_tracker.py +0 -0
  670. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/refactoring_utils.py +0 -0
  671. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/sample_budget.py +0 -0
  672. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/samplers/__init__.py +0 -0
  673. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/samplers/random_sampler.py +0 -0
  674. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/session_context.py +0 -0
  675. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/stat_significance.py +0 -0
  676. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/trial_context.py +0 -0
  677. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/types_ext.py +0 -0
  678. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core/utils.py +0 -0
  679. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core_metrics/__init__.py +0 -0
  680. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core_metrics/config.py +0 -0
  681. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/core_metrics/dtos.py +0 -0
  682. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/evaluators/dataset_registry.py +0 -0
  683. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/examples/__init__.py +0 -0
  684. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/examples/quickstart/__init__.py +0 -0
  685. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/examples/quickstart/qa_samples.jsonl +0 -0
  686. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/hooks/__init__.py +0 -0
  687. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/hooks/config.py +0 -0
  688. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/hooks/installer.py +0 -0
  689. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/hooks/validator.py +0 -0
  690. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/hybrid/__init__.py +0 -0
  691. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/hybrid/discovery.py +0 -0
  692. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/__init__.py +0 -0
  693. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/activation.py +0 -0
  694. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/base.py +0 -0
  695. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/base_plugin.py +0 -0
  696. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/batch_wrapper.py +0 -0
  697. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/config.py +0 -0
  698. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/dspy_adapter.py +0 -0
  699. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/framework_override.py +0 -0
  700. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/langchain/__init__.py +0 -0
  701. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/langchain/handler.py +0 -0
  702. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/langfuse/__init__.py +0 -0
  703. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/langfuse/callback.py +0 -0
  704. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/langfuse/tracker.py +0 -0
  705. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/anthropic_plugin.py +0 -0
  706. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/azure_openai_plugin.py +0 -0
  707. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/base_llm_plugin.py +0 -0
  708. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/bedrock_plugin.py +0 -0
  709. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/cohere_plugin.py +0 -0
  710. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/gemini_plugin.py +0 -0
  711. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/huggingface_plugin.py +0 -0
  712. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/langchain/__init__.py +0 -0
  713. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/langchain/discovery.py +0 -0
  714. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/langchain_plugin.py +0 -0
  715. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/llamaindex_plugin.py +0 -0
  716. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/mistral_plugin.py +0 -0
  717. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/openai.py +0 -0
  718. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/llms/openai_plugin.py +0 -0
  719. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/mappings.py +0 -0
  720. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/model_discovery/__init__.py +0 -0
  721. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/model_discovery/anthropic_discovery.py +0 -0
  722. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/model_discovery/azure_discovery.py +0 -0
  723. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/model_discovery/base.py +0 -0
  724. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/model_discovery/gemini_discovery.py +0 -0
  725. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/model_discovery/mistral_discovery.py +0 -0
  726. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/model_discovery/openai_discovery.py +0 -0
  727. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/model_discovery/registry.py +0 -0
  728. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/observability/__init__.py +0 -0
  729. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/observability/mlflow.py +0 -0
  730. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/observability/workflow_traces.py +0 -0
  731. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/providers.py +0 -0
  732. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/pydantic_ai/__init__.py +0 -0
  733. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/pydantic_ai/_types.py +0 -0
  734. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/pydantic_ai/handler.py +0 -0
  735. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/pydantic_ai/plugin.py +0 -0
  736. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/utils/discovery.py +0 -0
  737. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/utils/message_coercion.py +0 -0
  738. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/utils/response_wrapper.py +0 -0
  739. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/utils/validation.py +0 -0
  740. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/utils/version_compat.py +0 -0
  741. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/vector_stores/__init__.py +0 -0
  742. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/vector_stores/base.py +0 -0
  743. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/vector_stores/chromadb_plugin.py +0 -0
  744. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/vector_stores/pinecone_plugin.py +0 -0
  745. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/vector_stores/weaviate_plugin.py +0 -0
  746. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/integrations/wrappers.py +0 -0
  747. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/invokers/__init__.py +0 -0
  748. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/invokers/base.py +0 -0
  749. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/invokers/batch.py +0 -0
  750. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/metrics/__init__.py +0 -0
  751. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/metrics/agent_metrics.py +0 -0
  752. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/metrics/content_features.py +0 -0
  753. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/metrics/deepeval_metrics.py +0 -0
  754. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/metrics/ragas_metrics.py +0 -0
  755. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/metrics/registry.py +0 -0
  756. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/observability/decorators.py +0 -0
  757. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/observability/dtos.py +0 -0
  758. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/base.py +0 -0
  759. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/benchmarking.py +0 -0
  760. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/grid.py +0 -0
  761. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/optuna_adapter.py +0 -0
  762. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/optuna_checkpoint.py +0 -0
  763. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/optuna_coordinator.py +0 -0
  764. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/optuna_optimizer.py +0 -0
  765. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/optuna_utils.py +0 -0
  766. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/pruners.py +0 -0
  767. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/random.py +0 -0
  768. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/results.py +0 -0
  769. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/optimizers/service_registry.py +0 -0
  770. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/plugins/__init__.py +0 -0
  771. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/projects/__init__.py +0 -0
  772. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/projects/config.py +0 -0
  773. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/prompts/__init__.py +0 -0
  774. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/prompts/config.py +0 -0
  775. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/prompts/dtos.py +0 -0
  776. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/providers/__init__.py +0 -0
  777. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/providers/validation.py +0 -0
  778. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/py.typed +0 -0
  779. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/reporting/__init__.py +0 -0
  780. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/reporting/example_map.py +0 -0
  781. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/security/auth/__init__.py +0 -0
  782. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/security/auth/mfa.py +0 -0
  783. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/security/headers.py +0 -0
  784. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/security/input_validation.py +0 -0
  785. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/security/jwt_validator.py +0 -0
  786. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/security/session_manager.py +0 -0
  787. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/storage/__init__.py +0 -0
  788. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/telemetry/__init__.py +0 -0
  789. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/telemetry/optuna_metrics.py +0 -0
  790. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/traigent_integration.py +0 -0
  791. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tuned_variables/dataflow_strategy.py +0 -0
  792. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tuned_variables/detection_strategies.py +0 -0
  793. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tuned_variables/detection_types.py +0 -0
  794. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tuned_variables/detector.py +0 -0
  795. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tuned_variables/discovery.py +0 -0
  796. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tuned_variables/py.typed +0 -0
  797. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tvl/__init__.py +0 -0
  798. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tvl/objectives.py +0 -0
  799. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tvl/options.py +0 -0
  800. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tvl/promotion_gate.py +0 -0
  801. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tvl/registry.py +0 -0
  802. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tvl/spec_validator.py +0 -0
  803. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/tvl/statistics.py +0 -0
  804. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/batch_optimizer_utils.py +0 -0
  805. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/batch_processing.py +0 -0
  806. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/example_id.py +0 -0
  807. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/file_versioning.py +0 -0
  808. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/function_identity.py +0 -0
  809. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/hashing.py +0 -0
  810. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/incentives.py +0 -0
  811. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/llm_response_parsing.py +0 -0
  812. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/multi_objective.py +0 -0
  813. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/numpy_compat.py +0 -0
  814. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/objectives.py +0 -0
  815. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/optimization_analyzer.py +0 -0
  816. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/reproducibility.py +0 -0
  817. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/secure_path.py +0 -0
  818. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/user_prompts.py +0 -0
  819. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/utils/validation.py +0 -0
  820. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/visualization/__init__.py +0 -0
  821. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/visualization/plots.py +0 -0
  822. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/wrapper/__init__.py +0 -0
  823. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/wrapper/errors.py +0 -0
  824. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/wrapper/server.py +0 -0
  825. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent/wrapper/service.py +0 -0
  826. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent.egg-info/dependency_links.txt +0 -0
  827. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent.egg-info/entry_points.txt +0 -0
  828. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent.egg-info/top_level.txt +0 -0
  829. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent_validation/__init__.py +0 -0
  830. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent_validation/base.py +0 -0
  831. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent_validation/plugins.py +0 -0
  832. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent_validation/py.typed +0 -0
  833. {traigent-0.11.4 → traigent-0.13.0.dev1}/traigent_validation/validators.py +0 -0
@@ -0,0 +1,235 @@
1
+ # Changelog
2
+
3
+ All notable changes to Traigent SDK are documented in this file.
4
+
5
+ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
+
7
+ ## [Unreleased]
8
+
9
+ ### Added
10
+ - **Composite telemetry rides the measures channel.** `composite_measures(run)`
11
+ (`traigent.knobs.telemetry`, re-exported from `traigent.knobs`) flattens a composite
12
+ run's RFC 0002 §3.10 content-free telemetry — `escalation_rate`, `stage_selected`, and
13
+ the per-gate `gate_margin_pass_rate` map — into flat, identifier-safe, numeric-only keys
14
+ (e.g. `composite_escalation_rate`, `composite_stage_selected`,
15
+ `composite_gate_0_margin_pass_rate`). Merge it into the metrics your decorated function
16
+ returns and the `composite_*` keys ride the existing per-trial measures wire channel as
17
+ ordinary numeric metrics — no new wire surface. Keys are capped with headroom below the
18
+ backend `MeasuresDict` 50-key ceiling (truncated deterministically with a logged warning,
19
+ never raised mid-trial), and the output is content-free by construction (the adapter reads
20
+ `run.measures` only, never `run.output`). New docs page
21
+ `docs/concepts/composite-knobs.md` covers the pattern catalog, executing a composite,
22
+ certified selection with a `binary_cascade`, and telemetry-to-measures; runnable offline
23
+ example at `examples/advanced/composite-knobs/composite_telemetry.py`.
24
+
25
+ ### Changed
26
+ - **Unpriced models now block instead of warn-and-continue.** When a real run includes
27
+ models with no known pricing, the SDK now requires explicit confirmation: interactive
28
+ terminals get a blocking prompt; non-interactive runs fail closed before any trial.
29
+ Pre-approve with `cost_approved=True` (must be a real boolean) or
30
+ `TRAIGENT_COST_APPROVED=true` (exact value), or supply custom pricing via
31
+ `TRAIGENT_CUSTOM_MODEL_PRICING_JSON`/`_FILE`. `TRAIGENT_STRICT_COST_ACCOUNTING=true`
32
+ still hard-fails without prompting; mock runs are unaffected.
33
+
34
+ ## [0.12.0] - 2026-06-06
35
+
36
+ ### Added
37
+ - **Content-logging opt-out for optimization logs** (#1069). `TRAIGENT_LOG_EXAMPLE_CONTENT=false`
38
+ (or `OptimizationLogger(..., log_example_content=False)`) keeps per-trial ids and metrics on
39
+ disk while omitting the per-example `query` / `response` / `expected` content — without having
40
+ to enable full privacy mode. Defaults to on for DX. The logger now also writes a `.gitignore`
41
+ (`*`) into the log root (`./.traigent/optimization_logs/` by default) so prompt/response
42
+ content isn't accidentally committed, and `docs/api-reference/telemetry.md` documents the
43
+ default location, what is persisted, and that on-disk redaction covers structured PII only.
44
+
45
+ ### Removed
46
+ - **Breaking in 0.12.0:** removed Python-orchestrated JavaScript optimization through the temporary JS bridge. `ExecutionOptions.runtime`, all `ExecutionOptions.js_*` fields, `traigent.bridges.*`, and `traigent.evaluators.JSEvaluator` are no longer available. JavaScript/TypeScript users should migrate to native `@traigent/sdk` optimization with `optimize(spec)(agentFn)` and `await wrapped.optimize(...)`; see https://github.com/Traigent/traigent-js/blob/main/docs/getting-started/minimal-integration.md and https://github.com/Traigent/traigent-js/blob/main/docs/MIGRATION_FROM_PYTHON.md.
47
+
48
+ ### Fixed
49
+ - **`BenchmarkClient` now attributes generation to the active project** (#1066). It read
50
+ `TRAIGENT_PROJECT_ID` but applied it to the bare `/api/v1` root, which `scope_api_path`
51
+ leaves unrewritten — so `generate_sync` posted to the unscoped `/api/v1/datasets/generate`
52
+ and the benchmark was not project-scoped (a tenancy / data-isolation gap for multi-project
53
+ tenants). With a project set it now targets the project-scoped backend route
54
+ `POST /api/v1beta/projects/{id}/benchmarks/generate` (the `/datasets/generate` alias is not
55
+ project-scoped on the backend; the project-scoped generate route is registered under
56
+ `benchmarks`). With no project set, behavior is unchanged.
57
+
58
+ ### Security
59
+ - **Standalone backend clients now honor `TRAIGENT_OFFLINE_MODE`** (#1068). Seven publicly-exported clients — `EvaluationClient`, `PromptManagementClient`, `EnterpriseAdminClient`, `ProjectManagementClient`, `CoreMetricsClient`, `BenchmarkClient`, `ExampleInsightsClient` — previously ignored offline mode and performed outbound HTTP (carrying evaluator definitions, prompt text, tenant/admin records, per-example features) even with `TRAIGENT_OFFLINE_MODE=true`, breaking the documented air-gapped guarantee. They now **fail closed** at the request boundary with a clear `OfflineModeError` (new, `traigent.utils.error_handler`) via the shared `raise_if_backend_offline()` guard — so a caller learns the request was deliberately blocked instead of silently leaking off-box. Behavior is unchanged when offline mode is off.
60
+ - SDK auth and security policy checks now use `treat_as_production_policy()`, which treats unset or unknown environment names as production-safe by default. Local development JWT validation and mock password auth now require an explicit non-production environment such as `ENVIRONMENT=development` or `TRAIGENT_ENV=development`.
61
+ - Bump `litellm` floor from `>=1.83.0` to `>=1.83.7` to fix [GHSA-xqmj-j6mv-4862](https://github.com/BerriAI/litellm/security/advisories/GHSA-xqmj-j6mv-4862) — prompt-template SSTI in `POST /prompts/test` that could run arbitrary code in the LiteLLM Proxy process. 1.83.7 renders templates in a sandboxed Jinja environment.
62
+ - Bump `langchain-core` floor `>=1.2.22` → `>=1.2.28` (CVE-2026-40087 — improper element neutralization in templates).
63
+ - Bump `langchain-openai` floor `>=0.3.30` → `>=1.1.14` (GHSA-r7w7-9xr2-qq2r — SSRF). Major-version-line bump; lock currently resolves to 1.2.x.
64
+ - Lock-only bumps for transitive deps to clear Aikido CVEs: `fonttools` 4.60.1 → 4.62.1 (CVE-2025-66034), `langgraph-checkpoint` 3.0.0 → 4.0.2 (CVE-2026-27794, unsafe deserialization → RCE), `filelock` 3.20.0 → 3.29.0 (CVE-2025-68146, CVE-2026-22701), `sqlparse` 0.5.3 → 0.5.5 (GHSA-27jp-wm6q-gp25), `pygments` 2.19.2 → 2.20.0 (CVE-2026-4539). Two further uv.lock advisories — `ragas` (CVE-2026-6587, SSRF) and `diskcache` (CVE-2025-69872, code injection) — have no upstream patch yet and remain open; tracked separately.
65
+
66
+ ### Migration notes
67
+ - **`langgraph-checkpoint` 3.x → 4.x:** the 4.0 release drops default deserialization of payloads serialized with the legacy `"json"` serde mode. Users running `langgraph` with a persistent checkpoint saver (SQLite, Postgres, Redis, etc.) whose stored state contains JSON-format blobs will see deserialization failures unless they configure `serde` with an explicit `allowed_json_modules` list. Traigent does not bind `langgraph-checkpoint` directly — it arrives transitively through the `langgraph` dependency — so this only affects projects that also use `langgraph` checkpointers in their own code. See [CVE-2026-27794](https://github.com/langchain-ai/langgraph/security/advisories) for the underlying RCE that motivated removing the default.
68
+
69
+ ### Changed
70
+ - **Strict evidence modes now fail closed in promotion** (#1103,
71
+ FR-SDK-FAIL-CLOSED-PROMOTION-V1). When a TVL promotion policy declares a strict
72
+ evidence mode — `require_calibration.enabled: true` or `chance_constraints` —
73
+ the verdicts *no decision*, *insufficient samples*, and *gate exception* now
74
+ WITHHOLD promotion instead of silently falling back to the permissive simple
75
+ comparison, and the terminal selector returns either the gate-certified
76
+ incumbent verbatim or an explicit no-winner result
77
+ (`reason_code="NO_CERTIFIED_SELECTION"`, empty `best_config`,
78
+ `best_score=None`) instead of re-deriving a winner by raw score.
79
+ **Behavior change for existing specs that already declare
80
+ `chance_constraints`:** runs whose evidence never certifies a winner now
81
+ return the explicit no-winner result; no best config is applied or
82
+ snapshotted, so `export_best_config()` raises `ConfigurationError` instead
83
+ of exporting an uncertified config. Runs with certified winners, and all
84
+ specs without strict declarations, are unchanged. First-trial incumbency
85
+ counts as initialization, not certification.
86
+ - **Dual-licensed** under `AGPL-3.0-only OR LicenseRef-Traigent-Commercial`: declared the SPDX
87
+ license expression in package metadata (PEP 639 via `setuptools>=77`), added `license-files`,
88
+ per-module SPDX headers, and `COMMERCIAL-LICENSE.md`; aligned `NOTICE`, `README`, and
89
+ `DISCLAIMER`. Commercial terms remain available under separate agreement; see
90
+ `COMMERCIAL-LICENSE.md` and `CONTRIBUTOR-LICENSING.md`. No version bump in this change.
91
+ - Agent platform helpers now distinguish executable platforms from configuration-mapping-only platforms: `get_supported_platforms()` reports only executor-backed platforms, while `get_mapping_platforms()` returns all registered mappings.
92
+ - Agent executors without real cost-estimation support now raise `NotImplementedError` instead of returning an authoritative-looking zero-cost estimate.
93
+ - Langfuse trace metrics now include an `observations_partial` numeric flag in `to_measures_dict()` when observation pagination returns incomplete metrics.
94
+ - `OptimizationJob.wait()` now raises `PlatformCapabilityError` with an actionable
95
+ experimental-feature message instead of `NotImplementedError`. This is an
96
+ intentional public exception-type change to remove a concrete public
97
+ `NotImplementedError` stub; callers that handled the old error should catch
98
+ `PlatformCapabilityError` or `TraigentError`.
99
+ - Cost enforcement invariant checks now treat the cost-limit bound as an admission-time permit rule. `assert_invariants()` still detects stranded permits and reservation drift, but it no longer flags valid post-trial actual-cost overruns while other admitted permits remain in flight.
100
+ - `metric_limit` in parallel mode is evaluated after each batch and may overshoot by up to `parallel_trials - 1` trials; use `cost_limit` when a hard spend bound is required.
101
+ - Deprecated `budget_limit` stop-condition aliases now report `OptimizationResult.stop_reason="metric_limit"` instead of `"cost_limit"`. Use `cost_limit` for hard USD spend control and `metric_limit` with `metric_name` for soft cumulative metric stopping.
102
+ - Built-in hypervolume convergence now reports `OptimizationResult.stop_reason="convergence"`; arbitrary custom stop conditions still report the generic `"condition"` reason unless explicitly mapped.
103
+
104
+ ### Fixed
105
+ - Trial tenants now pass quota checks until `trial_ends_at` and are blocked after expiry.
106
+ - Unsupported hybrid keep-alive now marks the session status as `unsupported` instead of treating every tracked session as alive.
107
+
108
+ ## [0.11.4] - 2026-04-04
109
+
110
+ ### Fixed
111
+ - Mock mode reported 0% accuracy when callers passed custom `metric_functions` because the mock evaluator returned a constant value that didn't satisfy the user-provided metric closure. The mock now honors registered `metric_functions` so mock-mode optimizations produce non-trivial scores (#649).
112
+
113
+ ## [0.11.3] - 2026-04-04
114
+
115
+ ### Changed
116
+ - Release-prep version bump on top of 0.11.2; no user-visible behavior change. Published to PyPI at 2026-04-03T22:27:47Z (2026-04-04 local release date) to align metadata with the next-patch release pipeline.
117
+
118
+ ## [0.11.2] - 2026-04-01
119
+
120
+ ### Fixed
121
+ - Quickstart accuracy always 0% with real LLMs - add system prompt for concise answers and use contains-match instead of exact-match (#642)
122
+ - CI publish verification retry improvements (#640)
123
+
124
+ ## [0.11.1] - 2026-04-01
125
+
126
+ ### Fixed
127
+ - Quickstart fails when run from any directory other than project root - set `TRAIGENT_DATASET_ROOT` to package directory (#636)
128
+ - PyPI publish verification broken pipe - save curl response to file instead of piping (#635)
129
+ - Consistent `resolve()` for dataset path in quickstart
130
+
131
+ ## [0.11.0] - 2026-03-30
132
+
133
+ ### Added
134
+ - **DeepEval metric integration** - `DeepEvalScorer` bridges DeepEval metrics into Traigent's `metric_functions` system
135
+ - **Rich results table** - Formatted ASCII table with box-drawing characters for optimization output
136
+ - **Interactive vendor error handling** - Pause/resume prompts on rate limits and budget exhaustion
137
+ - **Evaluation kwargs** - Configurable per-evaluation parameters for hybrid wrapper service
138
+ - **Run labeling** - Optional `run_label` on `OptimizationResult` for experiment tagging
139
+ - **Session creation circuit breaker** - Graceful fallback when backend is unreachable
140
+ - **RAG walkthrough demo** - New `walkthrough/demo/optimize_rag.py` example
141
+
142
+ ### Changed
143
+ - Default backend URL changed from `localhost:5000` to `https://portal.traigent.ai` - SDK devs should set `TRAIGENT_BACKEND_URL=http://localhost:5000` explicitly
144
+ - `ExperimentRunDTO.status` default changed from `"pending"` to `"not_started"`
145
+ - `HybridEvaluateRequest.config` type narrowed from `dict[str, Any]` to `dict[str, ScalarValue]` (`config` is now a deprecated alias for `kwargs`)
146
+ - Keyring credential storage removed in favor of file-only storage (`~/.traigent/credentials.json` with `0600` permissions) to avoid macOS Keychain prompts
147
+ - Schema validator package renamed from `optigen_schemas` to `traigent-schema`
148
+
149
+ ### Removed
150
+ - **`benchmark_id` from `HybridExecuteRequest` and `HybridEvaluateRequest`** - Breaking change for external hybrid service consumers
151
+ - **`benchmarks_revision` from hybrid request DTOs**
152
+ - `hello.py` replaced by `hello_world.py`
153
+ - `traigent/experimental/` package (simple_cloud platforms)
154
+ - `traigent/conftest.py` (moved to `tests/conftest.py`)
155
+
156
+ ### Fixed
157
+ - Credential file write TOCTOU race fixed with atomic `os.open()` + mode `0o600`
158
+ - Credential file read now verifies and tightens permissions if overly permissive
159
+ - Auth rejection log spam suppressed with instance-scoped deduplication at DEBUG level
160
+ - `pydantic` added to core dependencies
161
+ - `traigent-schema` made optional for public installs
162
+ - Missing `aiohttp.ClientTimeout` added to `DatasetConverter` and OAuth2 sessions
163
+ - Vendor error classification anchored to contextual patterns (`"status 429"` instead of bare `"429"`)
164
+ - `_safe_copy` in DeepEval integration now raises `TypeError` instead of silently returning shared mutable instance
165
+ - Silent `except Exception: pass` in `_finalize_optimization` replaced with debug logging
166
+ - Dead methods removed from orchestrator (`_check_batch_vendor_failures`, `_maybe_pause_on_cost_limit`, `_handle_vendor_pause_in_loop`)
167
+
168
+ ### Breaking Changes
169
+ - `create_session()` return type changed from `str` to `SessionCreationResult` dataclass.
170
+ `SessionCreationResult.__str__` returns the session ID so most existing code continues
171
+ to work without changes, but explicit `isinstance(result, str)` checks will need updating.
172
+
173
+ **Before (v0.10.x):**
174
+ ```python
175
+ session_id: str = create_session()
176
+ ```
177
+ **After (v0.11.0+):**
178
+ ```python
179
+ result = create_session()
180
+ session_id: str = result.session_id # explicit
181
+ # or: str(result) # via __str__
182
+ ```
183
+ - `HybridExecuteRequest` and `HybridEvaluateRequest` no longer accept `benchmark_id` parameter
184
+ - Default backend URL is now cloud instead of localhost
185
+
186
+ ## [0.10.0] - 2026-02-07
187
+
188
+ ### Added
189
+ - **LangChain/LangGraph native callback handler** - Native instrumentation for LangChain and LangGraph workflows via `TraigentCallbackHandler`
190
+ - **Langfuse observability bridge** - Integration with Langfuse for unified observability across platforms
191
+ - **Namespace parsing utilities** - Agent namespace extraction from span names for multi-agent optimization
192
+ - **Agent-specific metrics utilities** - Automatic per-agent metric aggregation for multi-agent workflows
193
+ - **Workflow traces visualization** - Graph-based visualization of multi-agent workflow execution
194
+ - Multi-agent parameter and measure mapping system
195
+ - `AgentConfiguration` types for explicit agent groupings
196
+ - `agent` parameter on `Range`, `Choices`, `IntRange` classes
197
+ - `agent_prefixes` for prefix-based agent inference
198
+ - TVL support for `agent` field on tvars
199
+ - Content scoring and data integrity improvements
200
+ - Pre-rendered architecture diagram (replaces inline Mermaid)
201
+ - Click-to-play demo thumbnails with animated SVG playback
202
+
203
+ ### Changed
204
+ - **Root directory reorganization** - Consolidated 40+ root items to ~14
205
+ - Moved `baselines/` to `configs/baselines/`, `runtime/` to `configs/runtime/`
206
+ - Consolidated `mypy.ini` and `pytest.ini` into `pyproject.toml`
207
+ - Backend session metadata now includes `agent_configuration`
208
+ - Improved type safety across API types
209
+ - Improved node context restoration on chain end to prevent metric misattribution
210
+ - README trimmed ~30% with all examples fixed to include required params
211
+
212
+ ### Fixed
213
+ - Agent ID validation to fix edge cases in multi-agent workflows
214
+ - Mock mode metrics simulation for cost and accuracy in demos
215
+
216
+ ## [0.9.0] - 2025-01-09
217
+
218
+ ### Added
219
+ - Core optimization decorator (`@traigent.optimize`)
220
+ - Grid, Random, and Bayesian optimization strategies
221
+ - TVL (Traigent Variable Language) specification support
222
+ - LangChain and DSPy integration adapters
223
+ - Edge analytics execution mode
224
+ - Cloud and hybrid execution modes
225
+ - Privacy-preserving optimization mode
226
+ - Parallel trial execution support
227
+ - Stop conditions (plateau detection, max trials)
228
+ - Plugin architecture for extensibility
229
+
230
+ ### Changed
231
+ - Refactored plugin architecture for modularity
232
+
233
+ ### Security
234
+ - JWT-based authentication for cloud operations
235
+ - Input validation and sanitization
@@ -0,0 +1,15 @@
1
+ # Commercial Licensing
2
+
3
+ Open-source releases of Traigent are licensed under the GNU Affero General
4
+ Public License v3.0 only (`AGPL-3.0-only`).
5
+
6
+ Traigent also offers separate commercial licenses for organizations that need
7
+ different terms, including cases where AGPL obligations are not a fit for the
8
+ intended deployment or distribution model.
9
+
10
+ Commercial rights are not granted by default through this repository. They are
11
+ available only under a separate written agreement with Traigent.
12
+
13
+ To discuss commercial licensing, contact: `legal@traigent.ai`
14
+
15
+ For the open-source license terms, see [LICENSE](LICENSE).
@@ -0,0 +1,199 @@
1
+ # Traigent SDK Disclaimer
2
+
3
+ This document provides cost, warranty, and operational-risk guidance for the Traigent SDK.
4
+ For paid services or portal users, contractual terms are governed by the applicable Traigent
5
+ Terms of Service, order form, or other signed agreement. For open-source SDK use without a
6
+ separate agreement, warranty and liability are governed by the AGPL-3.0 license; this document
7
+ is informational unless incorporated into a separate agreement.
8
+
9
+ ## Cost Liability
10
+
11
+ Traigent optimizes LLM applications by running multiple trials across different configurations.
12
+ **This can result in significant API costs.**
13
+
14
+ ### Cost Estimates Are Approximations
15
+
16
+ - Cost estimates provided by Traigent are **approximations based on maximum context length and expected token usage**
17
+ - **Actual billing is determined solely by the LLM provider** (OpenAI, Anthropic, Google, etc.)
18
+ - Traigent cannot guarantee cost accuracy for:
19
+ - New or updated models with changed pricing
20
+ - Custom endpoints or self-hosted models
21
+ - Provider-specific billing variations
22
+ - Token counting differences between providers
23
+
24
+ ### User Responsibility for Costs
25
+
26
+ Users are **solely responsible** for:
27
+
28
+ 1. Monitoring and controlling their API spending
29
+ 2. Configuring appropriate spending limits via `TRAIGENT_RUN_COST_LIMIT`
30
+ 3. Using `enable_mock_mode_for_quickstart()` from `traigent.testing` for local development and testing,
31
+ or `python -m traigent.examples.quickstart` for the no-cost demo
32
+ 4. Reviewing actual API provider billing independently
33
+ 5. Understanding provider pricing before production use
34
+ 6. Setting hard provider-side billing caps, quotas, budgets, and alerts directly with their LLM,
35
+ API, cloud, and infrastructure providers
36
+
37
+ ### Cost Limits Are Best-Effort Guardrails
38
+
39
+ Traigent cost limits, budgets, alerts, thresholds, stop conditions, and estimates are
40
+ **best-effort software controls**. They are not guarantees, insurance, financial commitments,
41
+ provider-side billing controls, or a substitute for provider/account-level spending caps.
42
+
43
+ Actual costs may exceed configured Traigent limits or estimates due to, among other things:
44
+
45
+ - Provider pricing changes, billing rules, or tokenization differences
46
+ - Parallel execution, retries, partial failures, timeouts, or cancelled requests
47
+ - Cached tokens, output tokens, tool calls, embeddings, or provider-specific usage accounting
48
+ - Stale pricing data, unrecognized model names, custom endpoints, or self-hosted models
49
+ - Bugs, race conditions, network failures, misconfiguration, or user-supplied credentials
50
+ - Provider dashboards or invoices applying charges differently than local estimates
51
+
52
+ ### Parallel Execution Warning
53
+
54
+ Traigent may execute multiple LLM calls in parallel during optimization. This means:
55
+
56
+ - Multiple API requests can be made simultaneously
57
+ - Costs can accumulate rapidly during parallel execution
58
+ - Users should configure appropriate limits before running optimization
59
+
60
+ ## Third-Party API Terms
61
+
62
+ Traigent integrates with third-party LLM providers. Users must comply with the terms of service
63
+ of each provider they use:
64
+
65
+ - **OpenAI**: https://openai.com/policies/terms-of-use
66
+ - **Anthropic**: https://www.anthropic.com/legal/consumer-terms
67
+ - **Google AI**: https://ai.google.dev/terms
68
+ - **AWS Bedrock**: https://aws.amazon.com/service-terms/
69
+ - **Azure OpenAI**: https://www.microsoft.com/licensing/terms/
70
+ - Other provider terms as applicable
71
+
72
+ Traigent is **not responsible** for:
73
+
74
+ - Provider billing, rate limits, or service interruptions
75
+ - Changes to provider pricing or terms
76
+ - Provider account suspension or termination
77
+ - Data handling by third-party providers
78
+ - API, cloud, infrastructure, or provider charges that exceed Traigent estimates, budgets,
79
+ thresholds, alerts, stop conditions, or limits
80
+
81
+ ## No Warranty
82
+
83
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
84
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
85
+ PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
86
+ FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
87
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
88
+ DEALINGS IN THE SOFTWARE.
89
+
90
+ This includes, but is not limited to:
91
+
92
+ - No warranty that cost estimates will be accurate
93
+ - No warranty that optimization will achieve desired results
94
+ - No warranty of uninterrupted or error-free operation
95
+ - No warranty regarding integration with third-party services
96
+
97
+ ## Limitation of Liability
98
+
99
+ IN NO EVENT SHALL TRAIGENT, ITS AUTHORS, OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
100
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
101
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
102
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
103
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
104
+ WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
105
+
106
+ **This specifically includes liability for:**
107
+
108
+ - API costs incurred during optimization
109
+ - Costs from misconfigured limits or settings
110
+ - Costs from parallel execution of LLM calls
111
+ - Costs from bugs, retries, race conditions, stale pricing data, custom model mappings, failed
112
+ stop conditions, missed alerts, or provider billing differences
113
+ - Any financial damages related to LLM API usage
114
+
115
+ ## Best Practices for Cost Control
116
+
117
+ To minimize unexpected costs, we strongly recommend:
118
+
119
+ 1. **Always use mock mode for local development**:
120
+ ```python
121
+ from traigent.testing import enable_mock_mode_for_quickstart
122
+
123
+ enable_mock_mode_for_quickstart()
124
+ ```
125
+ For the packaged demo, run `python -m traigent.examples.quickstart`. The legacy
126
+ `TRAIGENT_MOCK_LLM=true` env var remains available for older local scripts and is disabled
127
+ when `ENVIRONMENT=production`.
128
+
129
+ 2. **Set explicit cost limits**:
130
+ ```bash
131
+ export TRAIGENT_RUN_COST_LIMIT=2.0 # USD per optimization run
132
+ ```
133
+
134
+ 3. **Start with small datasets and few trials**:
135
+ ```python
136
+ @traigent.optimize(max_trials=5)
137
+ def my_function():
138
+ ...
139
+ ```
140
+
141
+ 4. **Monitor your provider dashboards** for actual usage and billing
142
+
143
+ 5. **Set hard caps directly with your providers** whenever available, including provider-side
144
+ budgets, quotas, alerts, organization limits, project limits, and payment controls
145
+
146
+ 6. **Use the approval flow** for production runs:
147
+ ```bash
148
+ export TRAIGENT_COST_APPROVED=true # Only after reviewing estimates
149
+ ```
150
+
151
+ ## Customizing Cost Estimates
152
+
153
+ Traigent uses the [tokencost](https://github.com/AgentOps-AI/tokencost) library for LLM pricing data.
154
+
155
+ ### Model Name Mappings
156
+
157
+ To add custom model name aliases, edit `traigent/utils/cost_calculator.py`:
158
+
159
+ ```python
160
+ # In CostCalculator class
161
+ EXACT_MODEL_MAPPING = {
162
+ # Add your custom mappings here
163
+ "my-custom-model": "gpt-4o", # Map to a known tokencost model
164
+ "internal-claude": "claude-3-5-sonnet-20241022",
165
+ }
166
+ ```
167
+
168
+ ### Custom Pricing for Self-Hosted Models
169
+
170
+ For self-hosted or custom endpoint models not in tokencost:
171
+
172
+ 1. The cost calculator will return `$0.00` for unknown models
173
+ 2. Monitor actual costs via your infrastructure billing
174
+ 3. Consider contributing new model pricing to the tokencost library
175
+
176
+ ### Updating Pricing Data
177
+
178
+ To get the latest pricing data:
179
+
180
+ ```bash
181
+ pip install --upgrade tokencost
182
+ ```
183
+
184
+ Note: Pricing data in tokencost may lag behind provider announcements.
185
+
186
+ ## Changes to This Disclaimer
187
+
188
+ This disclaimer may be updated from time to time. Continued use of the software constitutes
189
+ acceptance of any changes. Users are responsible for reviewing this disclaimer periodically.
190
+
191
+ ## Contact
192
+
193
+ For questions about this disclaimer or the Traigent SDK, please open an issue on GitHub:
194
+ https://github.com/Traigent/Traigent/issues
195
+
196
+ ---
197
+
198
+ *Last updated: May 2026*
199
+ *Dual-licensed: GNU Affero General Public License v3.0 only (AGPL-3.0-only) - see [LICENSE](LICENSE) - or a Traigent commercial license under separate agreement (see [COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md)).*
@@ -0,0 +1,46 @@
1
+ # MANIFEST.in - Specify additional files to include in the distribution package
2
+
3
+ # Core documentation files
4
+ include README.md
5
+ include LICENSE
6
+ include NOTICE
7
+ include CHANGELOG.md
8
+ include CONTRIBUTING.md
9
+ include CONTRIBUTOR-LICENSING.md
10
+ include COMMERCIAL-LICENSE.md
11
+ include SECURITY.md
12
+ include DISCLAIMER.md
13
+
14
+ # Requirements files
15
+ include requirements/*.txt
16
+
17
+ # Configuration files
18
+ include pyproject.toml
19
+
20
+ # Include package data
21
+ recursive-include traigent *.py
22
+ recursive-include traigent *.json
23
+ recursive-include traigent/examples *.jsonl
24
+ recursive-include traigent *.yaml
25
+ include traigent/py.typed
26
+ prune traigent/experimental
27
+
28
+ # Documentation
29
+ recursive-include docs *.md
30
+ prune docs/demos/node_modules
31
+ prune docs/internal
32
+ prune docs/reviews
33
+ prune docs/refactoring
34
+ prune docs/tvl/tvl-website
35
+ exclude docs/WORKFLOW_TRACES_SDK_IMPLEMENTATION_REPORT.md
36
+ exclude docs/testing/RELEASE_READINESS_TESTING.md
37
+ exclude traigent/conftest.py
38
+ prune tests
39
+
40
+ # Exclude local type-checker caches from package artifacts
41
+ prune traigent/.mypy_cache
42
+ prune traigent/*/.mypy_cache
43
+ prune traigent/*/*/.mypy_cache
44
+
45
+ # Exclude development and build artifacts
46
+ global-exclude __pycache__ *.py[co] *.pyd .DS_Store *.swp *.swo *~ *.bak *.tmp
@@ -0,0 +1,36 @@
1
+ Traigent SDK
2
+ Copyright 2024-2026 Traigent Ltd
3
+
4
+ This software is dual-licensed: GNU Affero General Public License v3.0 only
5
+ (AGPL-3.0-only) OR a Traigent commercial license under separate written
6
+ agreement. SPDX: AGPL-3.0-only OR LicenseRef-Traigent-Commercial.
7
+ See LICENSE and COMMERCIAL-LICENSE.md.
8
+
9
+ This NOTICE file is provided for attribution and third-party notice purposes
10
+ only. It does not modify the applicable license terms.
11
+
12
+ ================================================================================
13
+
14
+ This project depends on the following notable third-party libraries
15
+ (not vendored; each retains its own license):
16
+
17
+ - Optuna (MIT License) - https://github.com/optuna/optuna
18
+ - LangChain (MIT License) - https://github.com/langchain-ai/langchain
19
+ - OpenAI Python SDK (MIT License) - https://github.com/openai/openai-python
20
+ - Anthropic Python SDK (MIT License) - https://github.com/anthropics/anthropic-sdk-python
21
+
22
+ For full license texts of dependencies, see their respective repositories.
23
+
24
+ ================================================================================
25
+
26
+ Compatibility notice:
27
+
28
+ - Traigent SDK includes an optional interoperability module at
29
+ `traigent.integrations.langfuse` for reading data from Langfuse APIs and SDKs.
30
+ - This integration is independently implemented by Traigent. It is not
31
+ affiliated with, endorsed by, or sponsored by Langfuse GmbH.
32
+ - "Langfuse" and related marks are the property of their respective owner.
33
+ - Traigent SDK does not claim any rights in Langfuse branding, and users remain
34
+ responsible for complying with the applicable Langfuse open-source licenses,
35
+ enterprise-license boundaries, and hosted-service terms when they connect to
36
+ Langfuse software or services.