Skip to main content

Dreadnode SDK

Project description

Logo

Dreadnode Strikes SDK

PyPI - Python Version PyPI - Version GitHub License Tests Pre-Commit Renovate


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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dreadnode-1.15.2.tar.gz (279.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dreadnode-1.15.2-py3-none-any.whl (328.6 kB view details)

Uploaded Python 3

File details

Details for the file dreadnode-1.15.2.tar.gz.

File metadata

  • Download URL: dreadnode-1.15.2.tar.gz
  • Upload date:
  • Size: 279.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dreadnode-1.15.2.tar.gz
Algorithm Hash digest
SHA256 49c87becf3c0b2d7c27ed0d1b3367c7d433aa68b68bc17f58b97fb7613624aa5
MD5 31eba9ec302741ee19d46babb946ca9d
BLAKE2b-256 b39350017cd219e8bf6ab1041c7ca5569cbba8a95c993ee04298674e00aea477

See more details on using hashes here.

Provenance

The following attestation bundles were made for dreadnode-1.15.2.tar.gz:

Publisher: publish.yaml on dreadnode/sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dreadnode-1.15.2-py3-none-any.whl.

File metadata

  • Download URL: dreadnode-1.15.2-py3-none-any.whl
  • Upload date:
  • Size: 328.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dreadnode-1.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 27d35404b16f7d8a1866fea3540f844a7f3f565c9fdbef99ebde67e0007da02c
MD5 f5539fb1c28d4fcb79975186a9157363
BLAKE2b-256 dca9b0505b7032873f04f05f6b650321ea3299380eeb05948545e7e85f0ed412

See more details on using hashes here.

Provenance

The following attestation bundles were made for dreadnode-1.15.2-py3-none-any.whl:

Publisher: publish.yaml on dreadnode/sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page