Skip to main content

Plural

Plural 0.13.3 is a Python SDK and CLI for building reproducible agent evaluations and keeping the evidence behind every score.

Evaluation in seven objects

  1. Environment — world, actions, State, Observation, resources, and Runtime.
  2. Verifier — deterministic, Agent, or Human scoring.
  3. Task — instructions bound to one Environment and its Verifiers.
  4. Benchmark — immutable versioned Task pins.
  5. Agent — catalog model, instructions, and optional Harness.
  6. Harness — native loop, a built-in name, or a custom executable.
  7. Job — Agents × Tasks × attempts, with retries and evidence.

Python is the semantic source of truth. YAML serializes the same objects losslessly, and the CLI uses the same resolver and defaults.

Install

pip install "plural==0.13.3"

First evaluation

from pathlib import Path
from plural import Agent, Benchmark, Job, Task
from plural.verifiers import DeterministicVerifier

verify = Path("verify.py").read_text(encoding="utf-8")
verifier = DeterministicVerifier(
    name="resolved",
    check=("python", "-c", verify),
)
task = Task(
    name="ticket-1",
    instructions="Resolve the support ticket.",
    environment=environment,
    verifiers=[verifier],
)
benchmark = Benchmark(name="support", version="1.0.0", tasks=(task,))
agent = Agent(model="openai/gpt-5.6-luna", instructions="Use the available actions.")
job = Job(benchmark, agents=(agent,))

print(job.plan.trial_count)

Here environment is an Environment instance. Typed Python actions run from the class directory:

environment = SupportQueue(runtime=runtime)

Validate and run the same graph:

plural init support-eval
cd support-eval
plural validate project.py:job
plural export project.py:job --output job.yaml
plural inspect job.yaml
plural run job.yaml --dry-run

After implementing the Environment and Verifier, plural run job.yaml uses local orchestration by default. The Environment Runtime still selects trusted local subprocess, Docker, Daytona, or an installed provider plugin. Hosted submission is explicit:

plural run job.yaml --hosted

Start with the documentation, the executable support queue, and Wordle.

Development

uv sync --group dev --group docs
uv run ruff check .
uv run mypy --strict src/plural tests/typing/consumer.py
uv run pytest
uv run python scripts/check_docs.py
uv run mkdocs build --strict

License

Apache-2.0

Release files for plural 0.14.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 plural 0.14.0
File Size Uploaded
plural-0.14.0.tar.gz 479.4 kB Details

Built distribution (wheel)

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

Total release size: 783.6 kB

Release files / plural-0.14.0.tar.gz

Download URL plural-0.14.0.tar.gz
Size 479.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f9c99c100a7bab5ee3646e411e10ff49f9090b55b7093346baf20db2be1c8a62
BLAKE2b-256 checksum
How to use checksums
854170bcbf6065d97f37690b8450b8bb387abab40ce7efc02d749c685d635416
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 21, 2026.

Transparency log

Release files / plural-0.14.0-py3-none-any.whl

Download URL plural-0.14.0-py3-none-any.whl
Size 304.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf9328a17069e077249f75c8bfd85e7748992331a21b868edc42fbbbafb23dd9
BLAKE2b-256 checksum
How to use checksums
3140f87c63ed5f47f52e59dd488d58e7873c9c497e287dc79de532d7f632e8b2
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 21, 2026.

Transparency log

Release history Release notifications | RSS feed

0.17.1

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.0

2 release files

This release

0.14.0 This release

2 release files

0.13.3

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.6.1

2 release files

0.6.0

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