Skip to main content

ssebench-sdk

The Python SDK of SSEBench, a benchmark that measures how well AI coding agents fix real security vulnerabilities. It is imported as sse.

Code that runs inside an SSEBench task container uses the SDK: an agent reads the task and checks its patch with the build, test and proof-of-concept actions, and the evaluator grades the result. The SDK is a client of ssebench-daemon, which serves those actions over the Unix socket named by the SSE_DAEMON_SOCKET environment variable. It does nothing useful outside a task container.

Install

pip install ssebench-sdk==<version>

Use the version of the SSEBench release you run against; see Versions. The SDK needs Python 3.12 or newer. An agent that runs in a task container installs it into its own environment; the reference agent in the SSEBench repository, agents/reference, is the smallest example.

Use

from sse import project

print(project.metadata.id, project.source)
result = project.build()
if result.is_success():
    print(project.function_test().stdout)

import sse does not contact the daemon. sse.project and sse.prompt ask it for the task when they are imported, so import them only inside a task container.

Versions

SSEBench components share one version and are released together, so ssebench-sdk X is made for ssebench-daemon X. Install the SDK version that matches the SSEBench release whose task container your code runs in, for example by pinning ssebench-sdk==X. When the SDK connects, it reads the daemon's version from GET /version and logs a warning if the two differ. The warning does not stop your code, but the two may disagree about the API, so treat it as a sign to fix the pin.

sse.__version__ holds the SDK's version. SSEBench writes the same version as 1.2.0-rc.1 in VERSION and in the daemon, and as 1.2.0rc1 in Python packages; they name the same release.

Documentation

The SDK is licensed under the Apache License 2.0.

Metadata

Release files for ssebench-sdk 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ssebench-sdk 1.0.0
File Size Uploaded
ssebench_sdk-1.0.0.tar.gz 27.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ssebench-sdk 1.0.0
File Interpreter ABI Platform
ssebench_sdk-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 53.6 kB

Release files / ssebench_sdk-1.0.0.tar.gz

Download URL ssebench_sdk-1.0.0.tar.gz
Size 27.2 kB
Tags Source
SHA-256 checksum
How to use checksums
81de206f6b41508ddefead8d30c130d7f1702987bb0c7c5dc4a3c5723356e2c0
BLAKE2b-256 checksum
How to use checksums
f40a9fb39e2287347358d2ef3202feb34a60d643abb3668543c018ebe6e5de90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / ssebench_sdk-1.0.0-py3-none-any.whl

Download URL ssebench_sdk-1.0.0-py3-none-any.whl
Size 26.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0963037cf60ad043db7f80f3db08f5027fe324f45433a60491686677b00146c
BLAKE2b-256 checksum
How to use checksums
9299472dd51ced43fdb8f6cf5b7c5cc115fac21ddde4fca3aede0d12a86154dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

1.1.0

2 release files

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page