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
- Environment — world, actions, State, Observation, resources, and Runtime.
- Verifier — deterministic, Agent, or Human scoring.
- Task — instructions bound to one Environment and its Verifiers.
- Benchmark — immutable versioned Task pins.
- Agent — catalog model, instructions, and optional Harness.
- Harness — native loop, a built-in name, or a custom executable.
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| plural-0.13.3.tar.gz | 450.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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