The task is the unit of intelligence. Find which model is best at yours.
Quickstart | Docs | Examples | pluralintel.com
Plural is a framework for building evals that optimize agent performance on the tasks you care about. It discovers which models work best on your task and routes work to those agents.
- Local or hosted. Keep your evals in a folder and run them on your machine, or store them in a hosted project at pluralintel.com to track and compare every run.
- Runs where you need it. On your machine, in Docker, or in remote sandboxes such as
Daytona (
pip install "plural[daytona]").
Get started
You need Python 3.10 or newer and an account at pluralintel.com, which model calls go through.
pip install "plural[mcp]"
plural auth login
plural project init my-eval && cd my-eval
plural env init support-desk
plural run --task support-desk-first --model openai/gpt-5.6-luna
Running task/support-desk-first with gpt-5.6-luna (openai/gpt-5.6-luna) locally: 1 Trial, 1 at a time (auto: every Trial at once).
[1/1] trl_6523ca3f8db536eaa894d2fb support-desk-first succeeded score=1.000 | 1 succeeded, 0 failed, mean 1.000
Job job_168352e303f3330932a452c6 succeeded.
gpt-5.6-luna: mean score 1.000 over 1 Trial, 1 succeeded, coverage 100%
That's a full measurement: plural env init wrote a small support desk (an
Environment), one assignment in it (a Task), and the code that grades it (a
Verifier), and plural run scored a model on it. Try another model with
--model, see what happened with plural job show <job-id>, then make it yours: the
run first lists each PLURAL-TODO in the new files, an example for you to replace.
Or write it in Python
An App is a class whose actions are the agent's tools:
# wordle.py
from plural import App, Environment, Runtime, State, action, initial
class Game(State):
secret: str = initial("", description="The hidden word.")
guesses: int = 0
solved: bool = False
class Wordle(App[Game]):
"""Guess a hidden five-letter word."""
@action
def guess(self, word: str) -> str:
"""Guess a word. + is right, ? is elsewhere, - is absent."""
secret = self.state.secret
self.state.guesses += 1
self.state.solved = word == secret
return " ".join("+" if a == b else "?" if a in secret else "-" for a, b in zip(word, secret))
def terminated(self) -> bool:
return self.state.solved or self.state.guesses >= 6
environment = Environment(name="wordle", apps=[Wordle()], runtime=Runtime.local())
A Task sets the hidden State, and a Verifier, kept in its own file so the agent can't read it, scores the result:
# run.py
from plural import Agent, DeterministicVerifier, Episode, Job, Task, VerifierOutput
from wordle import environment
def solved(episode: Episode) -> VerifierOutput:
return VerifierOutput(score=float(episode.state["solved"]))
task = Task(
name="crane",
instructions="Find the hidden five-letter word.",
environment=environment,
initial_state={"secret": "crane"},
verifiers=[DeterministicVerifier(name="solved", check=solved)],
)
result = Job(task, agents=[Agent(model="openai/gpt-5.6-luna")]).run() # after plural auth login
print(result.aggregates[0].mean_score)
For a training loop, step the same Environment yourself, Gym-style:
observation, info = environment.reset(initial_state={"secret": "crane"}, seed=0)
observation, reward, terminated, truncated, info = environment.step("guess", word="trace")
# {'text': '- + + ? +'} 0.0 False False
The vocabulary
| App | One system the agent works with. Its actions are the agent's tools; its State stays hidden. |
| Environment | Apps, plus where they run and the episode's limits. |
| Task | One assignment in an Environment, with its starting State. |
| Verifier | The grader: check scores the finished episode; reward credits each step. |
| Agent | A model, its instructions, and the harness that drives it. |
| Benchmark | A versioned set of Tasks and the rules for ranking results. |
| Job / Trial | A run of Agents on a Task or Benchmark / one attempt, with its full record. |
See it in the web app
Connect your project folder to a private hosted project once, then add --record to
any run to see its Trials, trajectories, and costs at pluralintel.com,
and to rank models on a Benchmark's leaderboard. Jobs still run on your machine, and
nothing is ever made public.
plural project init my-eval --push # from inside my-eval
plural run --task support-desk-first --model openai/gpt-5.6-luna --record
Runs are recorded once the starter's PLURAL-TODO examples are replaced.
Learn more
- Quickstart: build and benchmark Wordle in ten minutes.
- Start from your own system: an MCP server, an API, or traces.
- Verifiers and training: scores, step rewards, and RL.
- Multi-agent Tasks: seats, turns, and shared worlds.
- Python SDK and CLI reference.
- Examples, including a support queue that runs offline with a scripted agent.
- Changelog.
Development
uv sync --group dev --group docs
uv run ruff check . && uv run mypy src
uv run pytest tests/unit tests/contract
uv run python scripts/check_docs.py
License
Metadata
Release files for plural 0.26.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plural-0.26.0.tar.gz | 1.5 MB | With provenance | Details for plural-0.26.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plural-0.26.0-py3-none-any.whl | Python 3 | none | any | Details for plural-0.26.0-py3-none-any.whl |
Total release size: 2.5 MB
Release files / plural-0.26.0.tar.gz
| Download URL | plural-0.26.0.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3f774b68539f46d6baa841227df39fb6f3d688811b6c5f4a940fa914f5ead72
|
|
BLAKE2b-256 checksum How to use checksums |
30f9a5e50701a97404a0028c8d2bb55f994a9910852efc4b56bcd3c1a05f97ad
|
| 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 Nov 20, 2026.
Transparency logRelease files / plural-0.26.0-py3-none-any.whl
| Download URL | plural-0.26.0-py3-none-any.whl |
|---|---|
| Size | 942.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7dee346ded318623e6e3a6c5cb278c879e291057b02c1e1fd3cea02199063336
|
|
BLAKE2b-256 checksum How to use checksums |
b04a8d3ae4ef783bfc4986665938d43adb66cca0b0d1dd95d74c9a92da513c30
|
| 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 Nov 20, 2026.
Transparency logSecurity for plural 0.26.0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for plural-0.26.0.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 Nov 20, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.