Skip to main content

DedeuceRL

Benchmark LLMs on active hidden-system identification.

DedeuceRL is organized around four layers:

  • dedeucerl.kernel: pure hidden-system semantics
  • dedeucerl.ir: executable action spaces, hypothesis/equivalence contracts, task contracts, and renderers
  • dedeucerl.runtime: budget, traps, events, tool dispatch, and replay
  • dedeucerl.surface: prompts, provider tool schemas, datasets, CLIs, Verifiers, and MCP

Install

pip install dedeucerl
pip install "dedeucerl[openai]"
pip install "dedeucerl[all]"

Quickstart

dedeucerl-generate --skin mealy --seeds 0-9 --budget 25 --n-states 3 -o tasks.json
dedeucerl-eval --skin mealy --split tasks.json --model heuristic:none --out results.jsonl
dedeucerl-aggregate results.jsonl --format markdown

mealy is the current reference kernel. Protocol/APIEnv/ExprPolicy are planned to return as kernels after the architecture stabilizes.

MCP Mode

Expose one stateful episode to any MCP host over STDIO:

dedeucerl-mcp serve --task mealy --seed 42

The MCP initialization supplies the task instructions and tools. DedeuceRL automatically records the semantic tool trace, scores terminal episodes, and writes result.json plus trace.jsonl under .dedeucerl/runs/<run-id>/. Terminal responses include the score, while discovery-only processes create no artifacts. No provider adapter, manual run-spec tool, or manual scoring step is required.

Prime / Verifiers

uv tool install prime
prime lab setup

Use dedeucerl.vf_env as the Verifiers entrypoint.

License: MIT.

Metadata

Release files for dedeucerl 1.1.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 dedeucerl 1.1.0
File Size Uploaded
dedeucerl-1.1.0.tar.gz 75.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dedeucerl 1.1.0
File Interpreter ABI Platform
dedeucerl-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 156.3 kB

Release files / dedeucerl-1.1.0.tar.gz

Download URL dedeucerl-1.1.0.tar.gz
Size 75.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cb3149b3cdc01042cd213044a3f55615900a0a5cd64f4ab5ef1bbdf800c174c1
BLAKE2b-256 checksum
How to use checksums
9790bc972b4de08a3f9999630a9bf44be6cd1e597780b5f436170bee474d3ad3
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 18, 2026.

Transparency log

Release files / dedeucerl-1.1.0-py3-none-any.whl

Download URL dedeucerl-1.1.0-py3-none-any.whl
Size 81.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3cfb787faae03aa1893c3ade3e9d7596876623ac5eeaf169f45c881991588e8
BLAKE2b-256 checksum
How to use checksums
b304368d0316da1cb30cd42d6ac7f98c59c6e5966c20506efd27713b255f31ab
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 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.8

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

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