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.13.3

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.13.3
File Size Uploaded
plural-0.13.3.tar.gz 450.9 kB Details

Built distribution (wheel)

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

Total release size: 737.3 kB

Release files / plural-0.13.3.tar.gz

Download URL plural-0.13.3.tar.gz
Size 450.9 kB
Tags Source
SHA-256 checksum
How to use checksums
12afd4527481a64d4ebbd9afa58299ca6b9535afe54a974d571d751d5b923215
BLAKE2b-256 checksum
How to use checksums
dfda2104ea7ed3f389de664d7c7dfa11c0e628c0f6613b8828408d632a1e23b4
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 16, 2026.

Transparency log

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

Download URL plural-0.13.3-py3-none-any.whl
Size 286.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62f0fab4bb2e264b5f0c7eca1332da0159819290b5f2bd03c7b2b02059a427ff
BLAKE2b-256 checksum
How to use checksums
ab007cfcf6b77c06d1c13610278db36bc9e54e84355fa488090d1e661e7f3aa2
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 16, 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

0.14.0

2 release files

This release

0.13.3 This release

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