Skip to main content

Plural

Plural is a Python SDK and CLI for finding out which AI is good at your work. You describe the work once, run any model against it, and keep the evidence behind every score.

The idea, in eight words

  1. App: one system the AI works with, such as a game written in Python, an MCP server, or an HTTP API. What its actions return is all the AI sees; its State stays hidden.
  2. Environment: the world, made of Apps, plus where it runs and its limits.
  3. Task: one assignment in an Environment, in plain language.
  4. Verifier: the grader. Its check scores the finished work, and it can give rewards along the way for training.
  5. Agent: a model plus its instructions.
  6. Benchmark: a versioned set of Tasks, ranked by score.
  7. Job: one run of Agents on a Task or Benchmark.
  8. Trial: one Agent on one Task, once, with its full record.

Several Agents can also share one Task, to cooperate or compete: give the Environment a party, and each Agent plays from its own seat with its own view and score.

Only what an action returns ever reaches the model. Scores, rewards, App State, credentials, and secrets never do.

Install

Plural requires Python 3.10 or newer.

pip install "plural[mcp]>=0.22.1"

Try a finished project

The support queue includes an Agent that follows keyword rules instead of calling a model, so it runs offline with no account. From a copy of examples/first-project:

plural benchmark validate support-triage
plural run --benchmark support-triage --agent scripted
plural job show <job-id>

Start your own

plural project init my-eval
cd my-eval
plural env init support-desk
plural auth login --api-key-stdin
plural run --task support-desk-first --model openai/gpt-5.6-luna

plural env init writes an Environment with a working example Task and Verifier, so the first run scores straight away. Replace each place marked PLURAL-TODO with your own work; plural task validate support-desk-first lists the ones left. To start from an MCP server, an API, or traces instead, use plural app add; see Create an Environment.

Every model call goes through the Plural gateway, billed at the provider's price, so a real run needs a Plural API key from pluralintel.com. Every run is a Job, recorded under .plural/jobs/ with each input pinned by version and content hash, so plural job rerun repeats it exactly.

Every Job runs from your machine. To see it in the web app as well, connect the folder to a private hosted project and add --record:

plural project init my-eval --push
plural run --task refund --model openai/gpt-5.6-luna --record

To run Trials in cloud sandboxes, set the Environment's runtime to a provider such as daytona. Pushing never makes anything public.

Python

The CLI and the SDK load the same resources:

from plural import Job
from plural.project import Project, Workspace

workspace = Workspace(Project.find())
benchmark = workspace.get("benchmark", "support-triage")
agent = workspace.get("agent", "scripted")
result = Job(benchmark, agents=[agent]).run()

Learn more

Start with the Quickstart, or read Core concepts first. Coming from 0.20? The changelog lists every breaking change and what to write instead.

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

Metadata

Release files for plural 0.22.1

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.22.1
File Size Uploaded Provenance
plural-0.22.1.tar.gz 1.1 MB With provenance Details

Built distribution (wheel)

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

Total release size: 1.7 MB

Release files / plural-0.22.1.tar.gz

Download URL plural-0.22.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
ea43c0af9034d6ef2f3aa2701527ad6579f0d73aca7c44a810bc1cb406576440
BLAKE2b-256 checksum
How to use checksums
cbdd7ea0d4bb18913816b58bfde584e35b7c1397d0022340b34100429c338af2
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 22, 2026.

Transparency log

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

Download URL plural-0.22.1-py3-none-any.whl
Size 625.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e340a2c5603171e454b646c2f85b16ec8720f4182b085b9431e05b24ad27c078
BLAKE2b-256 checksum
How to use checksums
a6b1159c76075791496ade5f284f237abf3eba8e13d25b77bb5aee35bfe6bbe2
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 22, 2026.

Transparency log

Security for plural 0.22.1

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for plural-0.22.1.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 22, 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.

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