Dreadnode SDK
Project description
Dreadnode Strikes SDK
Strikes is a platform for building, experimenting with, and evaluating AI security agent code.
- Experiment + Tasking + Observability in a single place that's lightweight and scales.
- Track your data with parameters, inputs, and outputs all connected to your tasks.
- Log your artifacts — data, models, files, and folders — to track data of your Dreadnode runs, enabling easy reuse and reproducibility.
- Measure everything with metrics throughout your code and anywhere you need them.
- Scale your code from a single run to thousands.
import dreadnode as dn
import rigging as rg
from .tools import reversing_tools
dn.configure()
@dataclass
class Finding:
name: str
severity: str
description: str
exploit_code: str
@dn.scorer(name="Score Finding")
async def score_finding(finding: Finding) -> float:
if finding.severity == "critical":
return 1.0
elif finding.severity == "high":
return 0.8
else:
return 0.2
@dn.task(scorers=[score_finding])
@rg.prompt(tools=[reversing_tools])
async def analyze_binary(binary: str) -> list[Finding]:
"""
Analyze the binary for vulnerabilities.
"""
...
with dn.run(tags=["reverse-engineering"]):
binary = "c2/downloads/service.exe"
dn.log_params(
model="gpt-4",
temperature=0.5,
binary=binary
)
findings = await analyze_binary(binary)
dn.log_metric("findings", len(findings))
Installation
We publish every version to PyPi:
pip install -U dreadnode
If you want to build from source:
uv sync
# Install with multimodal extras
uv sync --extras multimodal
# Install with training extras
uv sync --extras training
# Install with all extras
uv sync --all-extras
Installation from PyPI with Optional Features
For advanced media processing capabilities (audio, video, images), install the multimodal extras:
# Multimodal support (audio, video processing)
pip install -U "dreadnode[multimodal]"
# Training support (ML model integration)
pip install -U "dreadnode[training]"
# All optional features
pip install -U "dreadnode[all]"
See our installation guide for more options.
Getting Started
Read through our introduction guide in the docs.
Examples
Check out dreadnode/example-agents to find your favorite use case.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dreadnode-1.14.0.tar.gz.
File metadata
- Download URL: dreadnode-1.14.0.tar.gz
- Upload date:
- Size: 231.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
204ee9080df8e1189a318c1363f94796f5f29c2b69d4a58e4c4335a778482ef4
|
|
| MD5 |
7e2aa1dc1bc1ba27ecd98a88a1873b77
|
|
| BLAKE2b-256 |
50fc46653bc8b230fbf005c9ae5b997a92021bb2bea19934069fca7b35887d24
|
Provenance
The following attestation bundles were made for dreadnode-1.14.0.tar.gz:
Publisher:
publish.yaml on dreadnode/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dreadnode-1.14.0.tar.gz -
Subject digest:
204ee9080df8e1189a318c1363f94796f5f29c2b69d4a58e4c4335a778482ef4 - Sigstore transparency entry: 527514183
- Sigstore integration time:
-
Permalink:
dreadnode/sdk@38aa4c388a4d0d91d06106a7d6417d07ad18f7f3 -
Branch / Tag:
refs/tags/v1.14.0 - Owner: https://github.com/dreadnode
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@38aa4c388a4d0d91d06106a7d6417d07ad18f7f3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dreadnode-1.14.0-py3-none-any.whl.
File metadata
- Download URL: dreadnode-1.14.0-py3-none-any.whl
- Upload date:
- Size: 294.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a6fe76e38e29d62892d56883bf34d1309ae6aa365c4263cd72ed20f44337626
|
|
| MD5 |
5bfc02646ee6f98a9a8aeb49ae22d84e
|
|
| BLAKE2b-256 |
b9766f807f9dcb3d7ec7efeaf145f0d3825fb8401f033eba7f46445a3dfca1f6
|
Provenance
The following attestation bundles were made for dreadnode-1.14.0-py3-none-any.whl:
Publisher:
publish.yaml on dreadnode/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dreadnode-1.14.0-py3-none-any.whl -
Subject digest:
3a6fe76e38e29d62892d56883bf34d1309ae6aa365c4263cd72ed20f44337626 - Sigstore transparency entry: 527514215
- Sigstore integration time:
-
Permalink:
dreadnode/sdk@38aa4c388a4d0d91d06106a7d6417d07ad18f7f3 -
Branch / Tag:
refs/tags/v1.14.0 - Owner: https://github.com/dreadnode
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@38aa4c388a4d0d91d06106a7d6417d07ad18f7f3 -
Trigger Event:
push
-
Statement type: