Skip to main content

polydeukes-sdk (Python)

English · 한국어

Call the Polydeukes judge and memory commands from Python 3.12 or newer. Four synchronous verbs share one executable resolver and process runner. The package has zero runtime dependencies.

python -m pip install polydeukes-sdk

Download pdks-linux-x64 or pdks-darwin-arm64 from a GitHub Release, mark it executable, and put it on an absolute PATH directory as pdks, or pass its path as executable. Keep the SDK and executable on the same minor release. These are the supported platforms: Linux x64 and macOS arm64. On macOS, a browser download may require xattr -d com.apple.quarantine /path/to/pdks.

from polydeukes_sdk import (
    CheckCovenantSpec,
    CovenantInput,
    Upheld,
    check_covenant,
    CheckChangeSetSpec,
    check_change_set,
    MemoryIngestSpec,
    memory_ingest,
    MemorySearchSpec,
    memory_search,
    Found,
    Empty,
    Unavailable,
)

payload: CovenantInput = {"toolCalls": [], "subagentSpawns": [], "userMessages": []}
verdict = check_covenant(CheckCovenantSpec(repo_root=".", input=payload, timeout=10))
if isinstance(verdict, Upheld):
    print("The proposed operation may proceed", verdict.advisories)

verdict = check_change_set(CheckChangeSetSpec(repo_root=".", diff="", timeout=10))
ingest = memory_ingest(MemoryIngestSpec(root=".", timeout=30))
recall = memory_search(MemorySearchSpec(root=".", query="design decision", limit=5, timeout=10))
match recall:
    case Found(hits=hits):
        print(hits[0]["sectionTitle"])
    case Empty():
        print("No matches")
    case Unavailable(reason=reason):
        print("Memory unavailable:", reason)

The host supplies IR evidence and decides whether to execute the proposed operation. Only Upheld permits it in this example. The child reads configuration, judges disciplines, writes telemetry, and manages the memory index.

The Python SDK reference describes every spec, outcome, timeout, and the injectable spawn boundary.

Metadata

Release files for polydeukes-sdk 0.20.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 polydeukes-sdk 0.20.0
File Size Uploaded Provenance Actions
polydeukes_sdk-0.20.0.tar.gz 7.6 kB With provenance Details for polydeukes_sdk-0.20.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for polydeukes-sdk 0.20.0
File Interpreter ABI Platform Actions
polydeukes_sdk-0.20.0-py3-none-any.whl Python 3 none any Details for polydeukes_sdk-0.20.0-py3-none-any.whl

Total release size: 16.3 kB

Release files / polydeukes_sdk-0.20.0.tar.gz

Download URL polydeukes_sdk-0.20.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
667efbba6eb6a6c7d19ab89ddc4621ac4a427b3f0923649de89c57ac02f164df
BLAKE2b-256 checksum
How to use checksums
497d71226253bce4bf5a860068c630ff3b23a896c9bd2a6c7586e2269bc0eaac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 21, 2026.

Transparency log

Release files / polydeukes_sdk-0.20.0-py3-none-any.whl

Download URL polydeukes_sdk-0.20.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d3bf997ce54b021e7760d667581ad44ea412e945d43e7e3d4eebe3dadd29f8a
BLAKE2b-256 checksum
How to use checksums
f0d5e52a2f2fb4e50ab7562a3a96742d19d8b133be0a9eebebfef0d9795bf44b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 21, 2026.

Transparency log

Security for polydeukes-sdk 0.20.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for polydeukes_sdk-0.20.0.tar.gz

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 Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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