dreadnode 2.0.1__tar.gz → 2.0.3__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 (452) hide show
  1. dreadnode-2.0.3/LICENSE +203 -0
  2. {dreadnode-2.0.1 → dreadnode-2.0.3}/PKG-INFO +27 -85
  3. {dreadnode-2.0.1 → dreadnode-2.0.3}/README.md +6 -45
  4. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/__init__.py +39 -13
  5. dreadnode-2.0.3/dreadnode/__main__.py +13 -0
  6. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/__init__.py +19 -8
  7. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/agent.py +203 -88
  8. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/events.py +40 -1
  9. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/hooks.py +95 -30
  10. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/mcp/__init__.py +13 -17
  11. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/mcp/auth.py +1 -1
  12. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/mcp/client.py +74 -16
  13. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/mcp/config.py +8 -1
  14. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/reactions.py +12 -0
  15. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/skills.py +72 -64
  16. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/stopping.py +6 -6
  17. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/subagent.py +8 -4
  18. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/tools.py +27 -30
  19. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/trajectory.py +5 -3
  20. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/analytics/engine.py +2 -9
  21. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/analytics/types.py +2 -5
  22. dreadnode-2.0.3/dreadnode/airt/assessment.py +486 -0
  23. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/autodan_turbo.py +5 -5
  24. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/beast.py +9 -9
  25. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/crescendo.py +15 -7
  26. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/deep_inception.py +6 -6
  27. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/drattack.py +8 -7
  28. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/events.py +17 -20
  29. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/goat.py +17 -9
  30. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/gptfuzzer.py +3 -3
  31. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/multimodal.py +3 -3
  32. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/pair.py +14 -6
  33. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/prompt.py +99 -34
  34. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/rainbow.py +3 -3
  35. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/renellm.py +7 -7
  36. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/reporting/llm_summary.py +2 -2
  37. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/tap.py +3 -3
  38. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/api/client.py +894 -69
  39. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/api/models.py +411 -9
  40. dreadnode-2.0.3/dreadnode/app/cli/__init__.py +5 -0
  41. dreadnode-2.0.3/dreadnode/app/cli/airt.py +368 -0
  42. dreadnode-2.0.3/dreadnode/app/cli/capability.py +252 -0
  43. dreadnode-2.0.3/dreadnode/app/cli/dataset.py +103 -0
  44. dreadnode-2.0.3/dreadnode/app/cli/evaluation.py +199 -0
  45. dreadnode-2.0.3/dreadnode/app/cli/main.py +345 -0
  46. dreadnode-2.0.3/dreadnode/app/cli/model.py +103 -0
  47. dreadnode-2.0.3/dreadnode/app/cli/optimize.py +406 -0
  48. dreadnode-2.0.3/dreadnode/app/cli/runtime.py +52 -0
  49. dreadnode-2.0.3/dreadnode/app/cli/shared.py +706 -0
  50. dreadnode-2.0.3/dreadnode/app/cli/task.py +275 -0
  51. dreadnode-2.0.3/dreadnode/app/cli/train.py +545 -0
  52. dreadnode-2.0.3/dreadnode/app/cli/worlds.py +595 -0
  53. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/main.py +767 -106
  54. dreadnode-2.0.3/dreadnode/app/print_mode.py +212 -0
  55. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/server/app.py +1274 -229
  56. dreadnode-2.0.3/dreadnode/app/server/auth.py +53 -0
  57. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/server/default-agent/tools/coding.py +23 -24
  58. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/server/default-agent/tools/subagent.py +3 -4
  59. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/server/session.py +57 -8
  60. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/app.py +1436 -339
  61. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/client.py +226 -28
  62. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/commands.py +32 -36
  63. dreadnode-2.0.3/dreadnode/app/tui/connection.py +325 -0
  64. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/dreadnode.tcss +273 -137
  65. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/event_contract.py +30 -2
  66. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/model_variants.py +4 -2
  67. dreadnode-2.0.3/dreadnode/app/tui/runtime_cache.py +97 -0
  68. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/screens/__init__.py +5 -3
  69. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/screens/auth.py +39 -10
  70. dreadnode-2.0.3/dreadnode/app/tui/screens/base.py +107 -0
  71. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/screens/capabilities.py +265 -132
  72. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/screens/console.py +26 -12
  73. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/screens/environments.py +23 -19
  74. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/screens/evaluations.py +75 -39
  75. dreadnode-2.0.3/dreadnode/app/tui/screens/model_picker.py +127 -0
  76. dreadnode-2.0.3/dreadnode/app/tui/screens/runtimes.py +1059 -0
  77. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/screens/sandboxes.py +60 -44
  78. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/screens/secrets.py +18 -11
  79. dreadnode-2.0.3/dreadnode/app/tui/screens/sessions.py +308 -0
  80. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/screens/traces.py +54 -37
  81. dreadnode-2.0.3/dreadnode/app/tui/screens/workspaces.py +651 -0
  82. dreadnode-2.0.3/dreadnode/app/tui/theme.py +122 -0
  83. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/turn_reducer.py +28 -1
  84. dreadnode-2.0.3/dreadnode/app/tui/update_check.py +105 -0
  85. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/__init__.py +17 -15
  86. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/agent_dialog.py +25 -39
  87. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/agent_suggester.py +5 -4
  88. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/composer.py +39 -16
  89. dreadnode-2.0.3/dreadnode/app/tui/widgets/context_bar.py +175 -0
  90. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/conversation.py +21 -11
  91. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/flash.py +3 -1
  92. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/header_bar.py +3 -3
  93. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/help_panel.py +38 -26
  94. dreadnode-2.0.3/dreadnode/app/tui/widgets/mcp_dialog.py +68 -0
  95. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/mention_overlay.py +15 -21
  96. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/message_queue.py +1 -1
  97. dreadnode-2.0.3/dreadnode/app/tui/widgets/overlay_mixin.py +37 -0
  98. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/permission_prompt.py +5 -2
  99. dreadnode-2.0.3/dreadnode/app/tui/widgets/prompt_info.py +57 -0
  100. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/session_sidebar.py +6 -3
  101. dreadnode-2.0.3/dreadnode/app/tui/widgets/skills_dialog.py +81 -0
  102. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/slash_overlay.py +22 -22
  103. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/status_bar.py +32 -16
  104. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/throbber.py +11 -3
  105. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/tool.py +5 -1
  106. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/tools_dialog.py +12 -37
  107. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/welcome.py +32 -11
  108. dreadnode-2.0.3/dreadnode/capabilities/__init__.py +49 -0
  109. dreadnode-2.0.3/dreadnode/capabilities/capability.py +383 -0
  110. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/capabilities/loader.py +396 -301
  111. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/capabilities/sync.py +38 -16
  112. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/capabilities/tool_rules.py +6 -2
  113. dreadnode-2.0.3/dreadnode/capabilities/types.py +116 -0
  114. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/conditions.py +34 -34
  115. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/exceptions.py +14 -13
  116. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/execution.py +15 -1
  117. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/hook.py +3 -3
  118. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/judge.py +1 -2
  119. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/load.py +21 -29
  120. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/log.py +137 -36
  121. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/meta/config.py +12 -8
  122. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/meta/context.py +19 -16
  123. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/meta/hydrate.py +3 -3
  124. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/meta/introspect.py +6 -9
  125. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/scorer.py +11 -13
  126. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/serialization.py +23 -12
  127. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/stopping.py +4 -4
  128. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/task.py +10 -14
  129. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/transforms.py +46 -5
  130. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/types/audio.py +0 -4
  131. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/types/common.py +4 -4
  132. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/types/image.py +5 -9
  133. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/types/video.py +10 -24
  134. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/util.py +11 -8
  135. dreadnode-2.0.3/dreadnode/datasets/__init__.py +4 -0
  136. dreadnode-2.0.3/dreadnode/datasets/dataset.py +34 -0
  137. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/datasets/hf.py +2 -2
  138. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/datasets/local.py +169 -20
  139. {dreadnode-2.0.1/dreadnode/core → dreadnode-2.0.3/dreadnode}/evaluations/__init__.py +10 -6
  140. {dreadnode-2.0.1/dreadnode/core → dreadnode-2.0.3/dreadnode}/evaluations/console.py +10 -10
  141. {dreadnode-2.0.1/dreadnode/core → dreadnode-2.0.3/dreadnode}/evaluations/evaluation.py +42 -28
  142. {dreadnode-2.0.1/dreadnode/core → dreadnode-2.0.3/dreadnode}/evaluations/events.py +3 -2
  143. {dreadnode-2.0.1/dreadnode/core → dreadnode-2.0.3/dreadnode}/evaluations/format.py +3 -3
  144. {dreadnode-2.0.1/dreadnode/core → dreadnode-2.0.3/dreadnode}/evaluations/result.py +1 -1
  145. {dreadnode-2.0.1/dreadnode/core → dreadnode-2.0.3/dreadnode}/evaluations/sample.py +8 -4
  146. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/caching.py +1 -1
  147. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/chat.py +2 -2
  148. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/data.py +4 -4
  149. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/generator/base.py +10 -11
  150. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/generator/http.py +2 -2
  151. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/generator/litellm_.py +19 -13
  152. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/generator/transformers_.py +11 -11
  153. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/generator/vllm_.py +7 -3
  154. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/message.py +77 -50
  155. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/models.py +41 -30
  156. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/tokenizer/base.py +0 -1
  157. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/tokenizer/transformers_.py +8 -8
  158. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/utils.py +4 -4
  159. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/models/__init__.py +1 -2
  160. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/models/hf.py +9 -5
  161. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/models/local.py +158 -21
  162. dreadnode-2.0.3/dreadnode/models/model.py +36 -0
  163. dreadnode-2.0.3/dreadnode/optimization/__init__.py +128 -0
  164. dreadnode-2.0.3/dreadnode/optimization/adapters/__init__.py +3 -0
  165. dreadnode-2.0.3/dreadnode/optimization/adapters/agent.py +186 -0
  166. dreadnode-2.0.3/dreadnode/optimization/api.py +176 -0
  167. dreadnode-2.0.3/dreadnode/optimization/backends/__init__.py +19 -0
  168. dreadnode-2.0.3/dreadnode/optimization/backends/base.py +118 -0
  169. dreadnode-2.0.3/dreadnode/optimization/backends/gepa.py +716 -0
  170. dreadnode-2.0.3/dreadnode/optimization/config.py +191 -0
  171. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/optimization/console.py +111 -3
  172. dreadnode-2.0.3/dreadnode/optimization/events.py +545 -0
  173. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/optimization/format.py +3 -3
  174. dreadnode-2.0.3/dreadnode/optimization/jobs.py +866 -0
  175. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/optimization/result.py +116 -0
  176. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/optimization/sampling.py +5 -5
  177. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/optimization/study.py +115 -45
  178. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/optimization/trial.py +2 -2
  179. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/packaging/loader.py +6 -5
  180. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/packaging/manifest.py +19 -8
  181. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/packaging/oci.py +215 -53
  182. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/packaging/package.py +89 -69
  183. dreadnode-2.0.3/dreadnode/packaging/task_validation.py +438 -0
  184. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/samplers/fuzzing.py +11 -9
  185. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/samplers/graph.py +6 -8
  186. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/samplers/grid.py +1 -1
  187. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/samplers/image.py +8 -2
  188. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/samplers/mapelites.py +10 -12
  189. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/samplers/random.py +2 -2
  190. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/samplers/strategy.py +2 -2
  191. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/advanced_jailbreak_detection.py +0 -1
  192. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/classification.py +2 -2
  193. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/credentials.py +5 -6
  194. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/exfiltration_detection.py +0 -1
  195. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/format.py +1 -1
  196. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/image.py +2 -2
  197. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/json.py +4 -3
  198. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/judge.py +7 -9
  199. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/mcp_security.py +1 -4
  200. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/multi_agent_security.py +3 -10
  201. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/pii.py +3 -3
  202. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/prompt_leak.py +3 -4
  203. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/readability.py +1 -1
  204. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/reasoning_security.py +0 -1
  205. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/sentiment.py +1 -1
  206. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/similarity.py +7 -7
  207. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/storage/__init__.py +7 -3
  208. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/storage/providers.py +4 -4
  209. dreadnode-2.0.3/dreadnode/storage/session_store.py +499 -0
  210. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/storage/storage.py +85 -13
  211. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/_ripgrep.py +1 -1
  212. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/editing.py +1 -1
  213. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/glob.py +4 -5
  214. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/grep.py +1 -2
  215. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/interaction.py +2 -2
  216. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/ls.py +8 -10
  217. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/task.py +2 -2
  218. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/web_search.py +5 -10
  219. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tracing/constants.py +1 -0
  220. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tracing/convert.py +1 -1
  221. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tracing/exporters.py +13 -12
  222. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tracing/span.py +50 -35
  223. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tracing/spans.py +20 -5
  224. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tracing/trace_converter.py +4 -4
  225. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/__init__.py +6 -6
  226. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/base.py +1 -7
  227. dreadnode-2.0.3/dreadnode/training/etl/__init__.py +85 -0
  228. dreadnode-2.0.3/dreadnode/training/etl/_common.py +73 -0
  229. dreadnode-2.0.3/dreadnode/training/etl/rl.py +118 -0
  230. dreadnode-2.0.3/dreadnode/training/etl/sft.py +102 -0
  231. dreadnode-2.0.3/dreadnode/training/etl/worlds.py +1178 -0
  232. dreadnode-2.0.3/dreadnode/training/jobs.py +1395 -0
  233. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/async_trainer.py +8 -6
  234. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/coordinator.py +6 -13
  235. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/distributed.py +2 -2
  236. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/dpo.py +5 -9
  237. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/fsdp2_learner.py +22 -24
  238. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/learner.py +6 -8
  239. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/multi_turn.py +52 -37
  240. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/ppo.py +6 -9
  241. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/reward_model.py +11 -13
  242. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/sft.py +6 -12
  243. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/trainer.py +20 -22
  244. dreadnode-2.0.3/dreadnode/training/recipes.py +201 -0
  245. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/rewards/scorer_bridge.py +0 -1
  246. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/rewards/types.py +1 -7
  247. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/rollouts/__init__.py +42 -3
  248. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/rollouts/orchestrator.py +13 -14
  249. dreadnode-2.0.3/dreadnode/training/rollouts/worlds.py +920 -0
  250. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/tinker/__init__.py +23 -0
  251. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/tinker/config.py +5 -6
  252. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/tinker/data.py +103 -0
  253. dreadnode-2.0.3/dreadnode/training/tinker/renderer.py +533 -0
  254. dreadnode-2.0.3/dreadnode/training/tinker/rl.py +386 -0
  255. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/tinker/trainer.py +29 -11
  256. dreadnode-2.0.3/dreadnode/training/utils.py +997 -0
  257. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/__init__.py +18 -43
  258. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/advanced_jailbreak.py +18 -13
  259. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/adversarial_suffix.py +3 -5
  260. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/agentic_workflow.py +10 -13
  261. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/audio.py +28 -28
  262. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/browser_agent_attacks.py +2 -6
  263. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/cipher.py +2 -2
  264. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/constitutional.py +7 -6
  265. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/documentation_poison.py +2 -2
  266. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/encoding.py +15 -15
  267. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/exfiltration.py +3 -4
  268. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/guardrail_bypass.py +9 -3
  269. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/image.py +20 -20
  270. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/json_tools.py +6 -6
  271. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/language.py +3 -4
  272. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/mcp_attacks.py +39 -45
  273. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/multi_agent_attacks.py +21 -40
  274. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/persuasion.py +2 -2
  275. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/perturbation.py +16 -16
  276. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/pii_extraction.py +4 -5
  277. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/pythonic_tools.py +7 -10
  278. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/rag_poisoning.py +3 -7
  279. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/reasoning_attacks.py +6 -8
  280. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/refine.py +48 -21
  281. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/stylistic.py +2 -2
  282. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/substitution.py +1 -3
  283. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/swap.py +1 -1
  284. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/text.py +7 -7
  285. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/xml_tools.py +16 -14
  286. dreadnode-2.0.3/dreadnode/version.py +10 -0
  287. dreadnode-2.0.3/pyproject.toml +368 -0
  288. dreadnode-2.0.1/dreadnode/__main__.py +0 -11
  289. dreadnode-2.0.1/dreadnode/airt/assessment.py +0 -641
  290. dreadnode-2.0.1/dreadnode/app/tui/screens/base.py +0 -47
  291. dreadnode-2.0.1/dreadnode/app/tui/screens/hub.py +0 -219
  292. dreadnode-2.0.1/dreadnode/app/tui/screens/model_picker.py +0 -97
  293. dreadnode-2.0.1/dreadnode/app/tui/screens/runtimes.py +0 -307
  294. dreadnode-2.0.1/dreadnode/app/tui/theme.py +0 -48
  295. dreadnode-2.0.1/dreadnode/app/tui/widgets/context_bar.py +0 -94
  296. dreadnode-2.0.1/dreadnode/app/tui/widgets/mcp_dialog.py +0 -89
  297. dreadnode-2.0.1/dreadnode/app/tui/widgets/nav_sidebar.py +0 -67
  298. dreadnode-2.0.1/dreadnode/capabilities/__init__.py +0 -89
  299. dreadnode-2.0.1/dreadnode/capabilities/capability.py +0 -298
  300. dreadnode-2.0.1/dreadnode/capabilities/types.py +0 -156
  301. dreadnode-2.0.1/dreadnode/capabilities/wrapper.py +0 -210
  302. dreadnode-2.0.1/dreadnode/core/generators/tokenizer/transformers_.py +0 -93
  303. dreadnode-2.0.1/dreadnode/datasets/__init__.py +0 -5
  304. dreadnode-2.0.1/dreadnode/datasets/dataset.py +0 -101
  305. dreadnode-2.0.1/dreadnode/environments/docker.py +0 -85
  306. dreadnode-2.0.1/dreadnode/environments/kali.py +0 -125
  307. dreadnode-2.0.1/dreadnode/environments/kernel.py +0 -102
  308. dreadnode-2.0.1/dreadnode/environments/kubernetes.py +0 -393
  309. dreadnode-2.0.1/dreadnode/environments/strikes.py +0 -281
  310. dreadnode-2.0.1/dreadnode/models/model.py +0 -170
  311. dreadnode-2.0.1/dreadnode/optimization/__init__.py +0 -66
  312. dreadnode-2.0.1/dreadnode/optimization/events.py +0 -273
  313. dreadnode-2.0.1/dreadnode/tracing/__init__.py +0 -0
  314. dreadnode-2.0.1/dreadnode/training/anyscale.py +0 -159
  315. dreadnode-2.0.1/dreadnode/training/azureml.py +0 -344
  316. dreadnode-2.0.1/dreadnode/training/ray/callbacks.py +0 -1024
  317. dreadnode-2.0.1/dreadnode/training/sagemaker/__init__.py +0 -238
  318. dreadnode-2.0.1/dreadnode/training/sagemaker/config.py +0 -414
  319. dreadnode-2.0.1/dreadnode/training/sagemaker/trainer.py +0 -854
  320. dreadnode-2.0.1/dreadnode/training/sagemaker.py +0 -258
  321. dreadnode-2.0.1/dreadnode/version.py +0 -3
  322. dreadnode-2.0.1/pyproject.toml +0 -276
  323. {dreadnode-2.0.1 → dreadnode-2.0.3}/.gitignore +0 -0
  324. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/exceptions.py +0 -0
  325. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/format.py +1 -1
  326. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/agents/mcp/server.py +0 -0
  327. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/__init__.py +0 -0
  328. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/analytics/__init__.py +0 -0
  329. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/analytics/aggregator.py +0 -0
  330. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/analytics/classifier.py +0 -0
  331. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/analytics/compliance.py +0 -0
  332. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/analytics/recommendations.py +0 -0
  333. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/compliance/__init__.py +0 -0
  334. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/compliance/atlas.py +0 -0
  335. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/compliance/nist.py +0 -0
  336. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/compliance/owasp.py +0 -0
  337. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/compliance/owasp_agentic.py +0 -0
  338. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/compliance/saif.py +0 -0
  339. {dreadnode-2.0.1/dreadnode → dreadnode-2.0.3/dreadnode/airt}/constants.py +0 -0
  340. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/__init__.py +0 -0
  341. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/assets/audio/adversarial_query.mp3 +0 -0
  342. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/assets/image/bomb.jpg +0 -0
  343. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/assets/image/meth.png +0 -0
  344. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/prompts/adversarial_benchmark_subset.csv +0 -0
  345. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/prompts/ai_safety.csv +0 -0
  346. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/rubrics/data_exfiltration.yaml +0 -0
  347. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/rubrics/goal_hijacking.yaml +0 -0
  348. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/rubrics/memory_poisoning.yaml +0 -0
  349. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/rubrics/privilege_escalation.yaml +0 -0
  350. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/rubrics/rce.yaml +0 -0
  351. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/rubrics/scope_creep.yaml +0 -0
  352. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/rubrics/tool_chaining.yaml +0 -0
  353. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/rubrics/tool_selection_safety.yaml +0 -0
  354. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/rubrics/unbounded_agency.yaml +0 -0
  355. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/rubrics/web_chatbot_security.yaml +0 -0
  356. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/templates/crescendo/variant_1.yaml +0 -0
  357. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/templates/crescendo/variant_2.yaml +0 -0
  358. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/templates/crescendo/variant_3.yaml +0 -0
  359. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/templates/crescendo/variant_4.yaml +0 -0
  360. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/data/templates/crescendo/variant_5.yaml +0 -0
  361. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/image.py +0 -0
  362. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/reporting/__init__.py +0 -0
  363. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/reporting/json_report.py +0 -0
  364. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/airt/reporting/markdown.py +0 -0
  365. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/__init__.py +0 -0
  366. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/api/__init__.py +0 -0
  367. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/server/__init__.py +0 -0
  368. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/server/system-prompt.md +0 -0
  369. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/server/utils.py +0 -0
  370. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/__init__.py +0 -0
  371. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/app/tui/widgets/tool_progress.py +0 -0
  372. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/__init__.py +0 -0
  373. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/discovery.py +0 -0
  374. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/environment.py +0 -0
  375. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/meta/__init__.py +0 -0
  376. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/metric.py +0 -0
  377. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/object.py +0 -0
  378. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/types/__init__.py +0 -0
  379. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/types/base.py +0 -0
  380. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/types/object_3d.py +0 -0
  381. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/types/table.py +0 -0
  382. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/core/types/text.py +0 -0
  383. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/__init__.py +0 -0
  384. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/exceptions.py +0 -0
  385. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/generator/__init__.py +0 -0
  386. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/parsing.py +0 -0
  387. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/generators/tokenizer/__init__.py +0 -0
  388. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/optimization/collectors.py +0 -0
  389. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/optimization/sampler.py +0 -0
  390. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/optimization/search.py +0 -0
  391. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/optimization/stopping.py +1 -1
  392. {dreadnode-2.0.1/dreadnode/environments → dreadnode-2.0.3/dreadnode/packaging}/__init__.py +0 -0
  393. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/py.typed +0 -0
  394. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/samplers/__init__.py +0 -0
  395. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/samplers/boundary.py +1 -1
  396. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/samplers/optuna.py +0 -0
  397. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/samplers/registry.py +0 -0
  398. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/__init__.py +20 -20
  399. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/agent_security.py +0 -0
  400. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/agentic.py +1 -1
  401. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/agentic_workflow.py +0 -0
  402. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/consistency.py +0 -0
  403. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/contains.py +0 -0
  404. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/cosine_sim.py +0 -0
  405. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/crucible.py +0 -0
  406. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/documentation_security.py +0 -0
  407. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/harm.py +0 -0
  408. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/ide_security.py +0 -0
  409. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/length.py +0 -0
  410. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/lexical.py +0 -0
  411. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/scorers/memorization.py +0 -0
  412. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/__init__.py +0 -0
  413. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/apply_patch.py +0 -0
  414. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/execute.py +0 -0
  415. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/fetch.py +0 -0
  416. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/memory.py +0 -0
  417. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/read.py +0 -0
  418. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/think.py +0 -0
  419. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/todo.py +0 -0
  420. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tools/write.py +0 -0
  421. {dreadnode-2.0.1/dreadnode/packaging → dreadnode-2.0.3/dreadnode/tracing}/__init__.py +0 -0
  422. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/tracing/exporter.py +0 -0
  423. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/dpo.py +0 -0
  424. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/events.py +0 -0
  425. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/grpo.py +0 -0
  426. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ppo.py +0 -0
  427. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/prime.py +0 -0
  428. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/__init__.py +0 -0
  429. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/config.py +0 -0
  430. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/experience.py +0 -0
  431. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/inference.py +0 -0
  432. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/rollout_env.py +0 -0
  433. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/ray/rollout_worker.py +0 -0
  434. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/rewards/__init__.py +0 -0
  435. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/rewards/aggregator.py +0 -0
  436. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/rewards/functions.py +0 -0
  437. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/rewards/shaping.py +0 -0
  438. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/rollouts/adapters.py +0 -0
  439. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/rollouts/types.py +0 -0
  440. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/serving/__init__.py +0 -0
  441. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/serving/vllm_client.py +0 -0
  442. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/sft.py +0 -0
  443. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/training/tinker_sft.py +0 -0
  444. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/agent_skill.py +0 -0
  445. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/document.py +0 -0
  446. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/flip_attack.py +0 -0
  447. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/ide_injection.py +0 -0
  448. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/injection.py +0 -0
  449. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/logic_bomb.py +0 -0
  450. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/response_steering.py +0 -0
  451. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/system_prompt_extraction.py +0 -0
  452. {dreadnode-2.0.1 → dreadnode-2.0.3}/dreadnode/transforms/video.py +0 -0
@@ -0,0 +1,203 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+
203
+ # TODO change me
@@ -1,91 +1,72 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dreadnode
3
- Version: 2.0.1
3
+ Version: 2.0.3
4
4
  Summary: Dreadnode SDK
5
- Project-URL: Homepage, https://github.com/dreadnode/sdk
6
- Project-URL: Repository, https://github.com/dreadnode/sdk
5
+ Project-URL: Homepage, https://dreadnode.io
7
6
  Project-URL: Documentation, https://docs.dreadnode.io
8
7
  Author-email: Dreadnode Team <support@dreadnode.io>
9
- Requires-Python: <3.14,>=3.10
10
- Requires-Dist: aiodocker>=0.25.0
8
+ License-File: LICENSE
9
+ Requires-Python: <3.14,>=3.11
11
10
  Requires-Dist: aiofiles<25.0.0,>=24.1.0
12
- Requires-Dist: chdb>=3.0.0
11
+ Requires-Dist: art<7.0.0,>=6.5
13
12
  Requires-Dist: coolname<3.0.0,>=2.2.0
14
13
  Requires-Dist: cyclopts>=4.2.0
14
+ Requires-Dist: datasets>=4.5.0
15
15
  Requires-Dist: fastapi>=0.115.0
16
16
  Requires-Dist: fastmcp>=2.14.0
17
17
  Requires-Dist: fsspec[s3]<=2025.10.0,>=2025.10.0
18
+ Requires-Dist: gepa>=0.1.1
18
19
  Requires-Dist: httpx<1.0.0,>=0.28.0
19
20
  Requires-Dist: jsonpath-ng>=1.7.0
20
21
  Requires-Dist: jsonref>=1.1.0
21
22
  Requires-Dist: litellm>=1.80.11
22
23
  Requires-Dist: logfire<=3.20.0,>=3.5.3
23
24
  Requires-Dist: loguru>=0.7.3
24
- Requires-Dist: numpy<=2.3.5
25
+ Requires-Dist: mcp<2.0.0,>=1.25.0
26
+ Requires-Dist: moviepy<3.0.0,>=2.1.2
27
+ Requires-Dist: numpy<=2.3.5,>=2.3.0
25
28
  Requires-Dist: optuna<5.0.0,>=4.5.0
26
29
  Requires-Dist: orjson>=3.11.5
30
+ Requires-Dist: packaging>=24.0
27
31
  Requires-Dist: pandas<3.0.0,>=2.2.3
32
+ Requires-Dist: pillow<12.0.0,>=11.2.1
33
+ Requires-Dist: prompt-toolkit<4.0.0,>=3.0.52
28
34
  Requires-Dist: pyarrow>=4.0.0
29
- Requires-Dist: pydantic-settings>=2.7.0
30
35
  Requires-Dist: pydantic-xml>=2.14.0
31
36
  Requires-Dist: pydantic<3.0.0,>=2.9.2
32
- Requires-Dist: python-jsonpath>=2.0.1
33
- Requires-Dist: python-ulid<4.0.0,>=3.0.0
34
37
  Requires-Dist: pyyaml>=6.0.2
38
+ Requires-Dist: scipy<2.0.0,>=1.11.0
39
+ Requires-Dist: soundfile<1.0.0,>=0.13.1
35
40
  Requires-Dist: textual>=8.0.2
36
- Requires-Dist: tomlkit>=0.13.3
37
41
  Requires-Dist: transformers>=4.57.1
38
- Requires-Dist: universal-pathlib<0.4.0,>=0.3.3
39
- Requires-Dist: uuid-utils>=0.12.0
40
42
  Requires-Dist: uvicorn>=0.34.0
41
43
  Requires-Dist: websockets>=14.0
42
44
  Requires-Dist: xmltodict>=1.0.2
43
45
  Provides-Extra: all
44
46
  Requires-Dist: confusables<2.0.0,>=1.2.0; extra == 'all'
45
- Requires-Dist: datasets<5.0.0,>=4.0.0; extra == 'all'
46
- Requires-Dist: moviepy<3.0.0,>=2.1.2; extra == 'all'
47
47
  Requires-Dist: nltk<4.0.0,>=3.9.1; extra == 'all'
48
- Requires-Dist: pillow<12.0.0,>=11.2.1; extra == 'all'
49
48
  Requires-Dist: presidio-analyzer<3.0.0,>=2.2.359; extra == 'all'
50
- Requires-Dist: pyarrow>=4.0.0; extra == 'all'
49
+ Requires-Dist: python-jsonpath>=2.0.1; extra == 'all'
51
50
  Requires-Dist: rapidfuzz>=3.14.1; extra == 'all'
51
+ Requires-Dist: ray[default,serve]<3.0.0,>=2.10.0; extra == 'all'
52
52
  Requires-Dist: scikit-learn<2.0.0,>=1.7.1; extra == 'all'
53
- Requires-Dist: scipy<2.0.0,>=1.11.0; extra == 'all'
54
53
  Requires-Dist: sentence-transformers<6.0.0,>=5.1.0; extra == 'all'
55
- Requires-Dist: soundfile<1.0.0,>=0.13.1; extra == 'all'
56
54
  Requires-Dist: textblob<1.0.0,>=0.19.0; extra == 'all'
57
55
  Requires-Dist: textstat<1.0.0,>=0.7.10; extra == 'all'
58
- Requires-Dist: transformers<5.0.0,>=4.41.0; extra == 'all'
59
- Provides-Extra: multimodal
60
- Requires-Dist: moviepy<3.0.0,>=2.1.2; extra == 'multimodal'
61
- Requires-Dist: pillow<12.0.0,>=11.2.1; extra == 'multimodal'
62
- Requires-Dist: scipy<2.0.0,>=1.11.0; extra == 'multimodal'
63
- Requires-Dist: soundfile<1.0.0,>=0.13.1; extra == 'multimodal'
56
+ Requires-Dist: torch>=2.9.0; extra == 'all'
64
57
  Provides-Extra: scoring
65
58
  Requires-Dist: confusables<2.0.0,>=1.2.0; extra == 'scoring'
66
59
  Requires-Dist: nltk<4.0.0,>=3.9.1; extra == 'scoring'
67
60
  Requires-Dist: presidio-analyzer<3.0.0,>=2.2.359; extra == 'scoring'
61
+ Requires-Dist: python-jsonpath>=2.0.1; extra == 'scoring'
68
62
  Requires-Dist: rapidfuzz>=3.14.1; extra == 'scoring'
69
63
  Requires-Dist: scikit-learn<2.0.0,>=1.7.1; extra == 'scoring'
70
64
  Requires-Dist: sentence-transformers<6.0.0,>=5.1.0; extra == 'scoring'
71
65
  Requires-Dist: textblob<1.0.0,>=0.19.0; extra == 'scoring'
72
66
  Requires-Dist: textstat<1.0.0,>=0.7.10; extra == 'scoring'
73
- Provides-Extra: serve
74
- Requires-Dist: ray[default,serve]<3.0.0,>=2.10.0; extra == 'serve'
75
- Provides-Extra: torch
76
- Requires-Dist: torch>=2.9.0; extra == 'torch'
77
67
  Provides-Extra: training
78
- Requires-Dist: datasets<5.0.0,>=4.0.0; extra == 'training'
79
- Requires-Dist: pyarrow>=4.0.0; extra == 'training'
80
- Requires-Dist: transformers<5.0.0,>=4.41.0; extra == 'training'
81
- Provides-Extra: training-rl
82
- Requires-Dist: datasets<5.0.0,>=4.0.0; extra == 'training-rl'
83
- Requires-Dist: ray[default]<3.0.0,>=2.10.0; extra == 'training-rl'
84
- Requires-Dist: torch>=2.9.0; extra == 'training-rl'
85
- Requires-Dist: transformers<5.0.0,>=4.41.0; extra == 'training-rl'
86
- Requires-Dist: vllm<1.0.0,>=0.6.0; (python_version >= '3.12' and sys_platform == 'linux') and extra == 'training-rl'
87
- Provides-Extra: transforms
88
- Requires-Dist: art<7.0.0,>=6.5; extra == 'transforms'
68
+ Requires-Dist: ray[default,serve]<3.0.0,>=2.10.0; extra == 'training'
69
+ Requires-Dist: torch>=2.9.0; extra == 'training'
89
70
  Description-Content-Type: text/markdown
90
71
 
91
72
  <p align="center">
@@ -368,28 +349,6 @@ with dn.run(name="custom-analysis"):
368
349
  await analyze("webapp")
369
350
  ```
370
351
 
371
- ## Deployment
372
-
373
- Serve agents as HTTP endpoints:
374
-
375
- ```python
376
- from dreadnode.core.integrations.serve import Serve, AuthMode
377
-
378
- # Configure server
379
- server = (
380
- Serve()
381
- .with_auth(AuthMode.API_KEY)
382
- .add(security_analyst, path="/analyze")
383
- .add(pentester, path="/pentest")
384
- )
385
-
386
- # Run server
387
- server.run(host="0.0.0.0", port=8000)
388
-
389
- # Or get FastAPI app for custom configuration
390
- app = server.app()
391
- ```
392
-
393
352
  ## Installation
394
353
 
395
354
  Install from PyPI:
@@ -401,10 +360,13 @@ pip install -U dreadnode
401
360
  With optional features:
402
361
 
403
362
  ```bash
404
- # Multimodal support (audio, video, images)
405
- pip install -U "dreadnode[multimodal]"
363
+ # Base install already includes TUI, models, datasets, and multimodal support
364
+ pip install -U dreadnode
365
+
366
+ # Optional scoring stack
367
+ pip install -U "dreadnode[scoring]"
406
368
 
407
- # Training integration (transformers callbacks)
369
+ # Optional training and serving stack
408
370
  pip install -U "dreadnode[training]"
409
371
 
410
372
  # All optional features
@@ -419,32 +381,12 @@ cd sdk
419
381
  uv sync --all-extras
420
382
  ```
421
383
 
422
- ## Notebooks
423
-
424
- Comprehensive Jupyter notebook tutorials are available in [`notebooks/`](./notebooks/):
425
-
426
- | Category | Notebooks |
427
- |----------|-----------|
428
- | Getting Started | 01: SDK Basics, 02: Tasks & Runs |
429
- | Agents | 03-07: Basics, Tools, Hooks, Scoring, Advanced |
430
- | Evaluation | 08-11: Scorers, Evaluations |
431
- | Data | 12-14: Datasets, Models, Data Types |
432
- | Security (AIRT) | 15-17: Targets, Attacks, Transforms |
433
- | Advanced | 18-24: Search, Generators, Data Designer, Deployment, Tracing, Packaging, Training |
434
- | Developers | 25-27: Config System, Context Injection, Custom Components |
435
- | Environments | 28: Docker, Jupyter Kernel, Kubernetes Sandbox |
436
- | Studies | 29: Optimization Studies, Agent Tuning, Search Strategies |
437
-
438
384
  ## Documentation
439
385
 
440
386
  - **[Installation Guide](https://docs.dreadnode.io/strikes/install)** - Setup options
441
387
  - **[Introduction](https://docs.dreadnode.io/strikes/intro)** - Getting started guide
442
388
  - **[API Reference](https://docs.dreadnode.io/strikes/api)** - Complete API documentation
443
389
 
444
- ## Examples
445
-
446
- Check out **[dreadnode/example-agents](https://github.com/dreadnode/example-agents)** for real-world use cases.
447
-
448
390
  ## License
449
391
 
450
392
  See [LICENSE](./LICENSE) for details.
@@ -278,28 +278,6 @@ with dn.run(name="custom-analysis"):
278
278
  await analyze("webapp")
279
279
  ```
280
280
 
281
- ## Deployment
282
-
283
- Serve agents as HTTP endpoints:
284
-
285
- ```python
286
- from dreadnode.core.integrations.serve import Serve, AuthMode
287
-
288
- # Configure server
289
- server = (
290
- Serve()
291
- .with_auth(AuthMode.API_KEY)
292
- .add(security_analyst, path="/analyze")
293
- .add(pentester, path="/pentest")
294
- )
295
-
296
- # Run server
297
- server.run(host="0.0.0.0", port=8000)
298
-
299
- # Or get FastAPI app for custom configuration
300
- app = server.app()
301
- ```
302
-
303
281
  ## Installation
304
282
 
305
283
  Install from PyPI:
@@ -311,10 +289,13 @@ pip install -U dreadnode
311
289
  With optional features:
312
290
 
313
291
  ```bash
314
- # Multimodal support (audio, video, images)
315
- pip install -U "dreadnode[multimodal]"
292
+ # Base install already includes TUI, models, datasets, and multimodal support
293
+ pip install -U dreadnode
294
+
295
+ # Optional scoring stack
296
+ pip install -U "dreadnode[scoring]"
316
297
 
317
- # Training integration (transformers callbacks)
298
+ # Optional training and serving stack
318
299
  pip install -U "dreadnode[training]"
319
300
 
320
301
  # All optional features
@@ -329,32 +310,12 @@ cd sdk
329
310
  uv sync --all-extras
330
311
  ```
331
312
 
332
- ## Notebooks
333
-
334
- Comprehensive Jupyter notebook tutorials are available in [`notebooks/`](./notebooks/):
335
-
336
- | Category | Notebooks |
337
- |----------|-----------|
338
- | Getting Started | 01: SDK Basics, 02: Tasks & Runs |
339
- | Agents | 03-07: Basics, Tools, Hooks, Scoring, Advanced |
340
- | Evaluation | 08-11: Scorers, Evaluations |
341
- | Data | 12-14: Datasets, Models, Data Types |
342
- | Security (AIRT) | 15-17: Targets, Attacks, Transforms |
343
- | Advanced | 18-24: Search, Generators, Data Designer, Deployment, Tracing, Packaging, Training |
344
- | Developers | 25-27: Config System, Context Injection, Custom Components |
345
- | Environments | 28: Docker, Jupyter Kernel, Kubernetes Sandbox |
346
- | Studies | 29: Optimization Studies, Agent Tuning, Search Strategies |
347
-
348
313
  ## Documentation
349
314
 
350
315
  - **[Installation Guide](https://docs.dreadnode.io/strikes/install)** - Setup options
351
316
  - **[Introduction](https://docs.dreadnode.io/strikes/intro)** - Getting started guide
352
317
  - **[API Reference](https://docs.dreadnode.io/strikes/api)** - Complete API documentation
353
318
 
354
- ## Examples
355
-
356
- Check out **[dreadnode/example-agents](https://github.com/dreadnode/example-agents)** for real-world use cases.
357
-
358
319
  ## License
359
320
 
360
321
  See [LICENSE](./LICENSE) for details.
@@ -6,11 +6,11 @@ from loguru import logger
6
6
  from dreadnode.version import VERSION
7
7
 
8
8
  if t.TYPE_CHECKING:
9
- from dreadnode.core import meta
10
- from dreadnode.core import log as logging
11
9
  from dreadnode.agents import Agent
12
10
  from dreadnode.app.main import DEFAULT_INSTANCE, Dreadnode
13
- from dreadnode.core.log import configure_logging
11
+ from dreadnode.core import log as logging
12
+ from dreadnode.core import meta
13
+ from dreadnode.core.log import configure_logging, configure_server_logging
14
14
  from dreadnode.core.meta import (
15
15
  AgentInput,
16
16
  AgentOutput,
@@ -38,6 +38,16 @@ if t.TYPE_CHECKING:
38
38
  from dreadnode.core.object import Object
39
39
  from dreadnode.core.scorer import Scorer
40
40
  from dreadnode.core.task import Task
41
+ from dreadnode.core.transforms import Transform
42
+ from dreadnode.core.types import Audio, Code, Image, Markdown, Object3D, Table, Text, Video
43
+ from dreadnode.datasets.dataset import Dataset
44
+ from dreadnode.evaluations import Evaluation
45
+ from dreadnode.optimization import (
46
+ DreadnodeAgentAdapter,
47
+ Optimization,
48
+ OptimizationConfig,
49
+ OptimizationResult,
50
+ )
41
51
  from dreadnode.tracing import convert
42
52
  from dreadnode.tracing.exporters import TraceBackend
43
53
  from dreadnode.tracing.span import Span, TaskSpan
@@ -45,10 +55,6 @@ if t.TYPE_CHECKING:
45
55
  study_span,
46
56
  trial_span,
47
57
  )
48
- from dreadnode.core.transforms import Transform
49
- from dreadnode.core.types import Audio, Code, Image, Markdown, Object3D, Table, Text, Video
50
- from dreadnode.datasets.dataset import Dataset
51
- from dreadnode.evaluations import Evaluation
52
58
 
53
59
 
54
60
  def get_default_instance() -> "Dreadnode":
@@ -84,6 +90,7 @@ __all__ = [
84
90
  "Dataset",
85
91
  "DatasetField",
86
92
  "Dreadnode",
93
+ "DreadnodeAgentAdapter",
87
94
  "EnvVar",
88
95
  "EvalInput",
89
96
  "EvalOutput",
@@ -95,6 +102,9 @@ __all__ = [
95
102
  "MetricSeries",
96
103
  "Object",
97
104
  "Object3D",
105
+ "Optimization",
106
+ "OptimizationConfig",
107
+ "OptimizationResult",
98
108
  "ParentTask",
99
109
  "Scorer",
100
110
  "Span",
@@ -117,6 +127,7 @@ __all__ = [
117
127
  "airt",
118
128
  "configure",
119
129
  "configure_logging",
130
+ "configure_server_logging",
120
131
  "convert",
121
132
  "evaluation",
122
133
  "get_current_run",
@@ -139,6 +150,11 @@ __all__ = [
139
150
  "log_samples",
140
151
  "logging",
141
152
  "meta",
153
+ "optimize_anything",
154
+ "push_capability",
155
+ "push_dataset",
156
+ "push_environment",
157
+ "push_model",
142
158
  "push_update",
143
159
  "run",
144
160
  "scorer",
@@ -163,7 +179,7 @@ __lazy_submodules__: list[str] = ["scorers", "agents", "airt", "eval", "transfor
163
179
 
164
180
  # Lazy module imports - these return the entire module
165
181
  __lazy_modules__: dict[str, str] = {
166
- "convert": "dreadnode.core.tracing.convert",
182
+ "convert": "dreadnode.tracing.convert",
167
183
  "logging": "dreadnode.core.log",
168
184
  "meta": "dreadnode.core.meta",
169
185
  }
@@ -187,11 +203,15 @@ __lazy_components__: dict[str, str] = {
187
203
  "Metric": "dreadnode.core.metric",
188
204
  "MetricSeries": "dreadnode.core.metric",
189
205
  "Object": "dreadnode.core.object",
206
+ "DreadnodeAgentAdapter": "dreadnode.optimization",
207
+ "Optimization": "dreadnode.optimization",
208
+ "OptimizationConfig": "dreadnode.optimization",
209
+ "OptimizationResult": "dreadnode.optimization",
190
210
  "Scorer": "dreadnode.core.scorer",
191
- "Span": "dreadnode.core.tracing.span",
211
+ "Span": "dreadnode.tracing.span",
192
212
  "Task": "dreadnode.core.task",
193
- "TaskSpan": "dreadnode.core.tracing.span",
194
- "TraceBackend": "dreadnode.core.tracing.exporters",
213
+ "TaskSpan": "dreadnode.tracing.span",
214
+ "TraceBackend": "dreadnode.tracing.exporters",
195
215
  "Transform": "dreadnode.core.transforms",
196
216
  # Meta/annotations
197
217
  "AgentInput": "dreadnode.core.meta",
@@ -216,13 +236,14 @@ __lazy_components__: dict[str, str] = {
216
236
  "TrialOutput": "dreadnode.core.meta",
217
237
  "TrialScore": "dreadnode.core.meta",
218
238
  # Span factories
219
- "study_span": "dreadnode.core.tracing.spans",
220
- "trial_span": "dreadnode.core.tracing.spans",
239
+ "study_span": "dreadnode.tracing.spans",
240
+ "trial_span": "dreadnode.tracing.spans",
221
241
  # Tools
222
242
  "tool": "dreadnode.core.tools",
223
243
  "tool_method": "dreadnode.core.tools",
224
244
  # Functions from modules
225
245
  "configure_logging": "dreadnode.core.log",
246
+ "configure_server_logging": "dreadnode.core.log",
226
247
  }
227
248
 
228
249
  # Dreadnode instance method/property aliases - these use lazy getters
@@ -241,6 +262,7 @@ __instance_methods__: list[str] = [
241
262
  "task_and_run",
242
263
  "scorer",
243
264
  "evaluation",
265
+ "optimize_anything",
244
266
  "study",
245
267
  "push_update",
246
268
  "tag",
@@ -263,6 +285,10 @@ __instance_methods__: list[str] = [
263
285
  "load_dataset",
264
286
  "load_model",
265
287
  "load_capability",
288
+ "push_capability",
289
+ "push_dataset",
290
+ "push_environment",
291
+ "push_model",
266
292
  ]
267
293
 
268
294
  # Aliases with different names
@@ -0,0 +1,13 @@
1
+ """Dreadnode process entrypoint."""
2
+
3
+ from __future__ import annotations
4
+
5
+
6
+ def run(argv: list[str] | None = None) -> None:
7
+ from dreadnode.app.cli import run as app_run
8
+
9
+ app_run(argv)
10
+
11
+
12
+ if __name__ == "__main__":
13
+ run()