First public release
The first release of the Plurai simulation SDK, published on PyPI as
plurai-simulation-sdk. The import name and
the command lines are plurai, plurai-run-simulation and plurai-scan-contract. The plugin pins the exact SDK
version it was tested with, so update the plugin to move to a new SDK version.Installpip install plurai-simulation-sdk, on Python 3.12 or 3.13, on macOS, Linux and Windows.- A small base install, with everything heavier as an extra: document readers, corpus extraction and one driver per source, local anonymization, and the LangSmith, Langfuse, Arize and Braintrust sinks. See Install.
- Your agent’s environment needs
langchain-core1.3.3 or newer.
plurai loginsigns you in through your browser, creates a key for the organization you pick and saves it in~/.plurai/credentials.json. The key is never shown.plurai login --statusshows the backend, the key’s name and its expiry.plurai logoutrevokes the key and removes the file.- For CI and machines without a browser, export
PLURAI_URLandPLURAI_TOKEN. There is no URL or token flag. See Sign in.
plurai-run-simulationplays your scenarios against your agent, writes one folder per scenario and arun_summary.json, and prints the verdicts.- One shared exit code table for all three command lines. A run that completed with
failing evals exits
1. - Credit, capacity and outages stop a run cleanly with exit
20and one plain sentence. Finished scenarios keep their verdicts; the rest are marked incomplete, never failed. A short outage is retried and costs no scenario. - A hosted mock that can’t answer stops the run with exit
11and the fix, instead of finishing on stub answers. - Ctrl-C exits
130and keeps what was already written. --command-run-idgroups the jobs of one command.
- Every
plurai ingest-*upload prints a disclosure first and is logged in.plurai/uploads/audit.log. - With
anonymize: true, personal data is replaced locally before upload, and the scrub fails closed. - The SDK sends no telemetry.
plurai diagnoseprints a support bundle that never includes your token.
- The public names, the command-line flags, the exit codes, the credentials file, the
PLURAI_*variables and theplurai capabilitieskeys stay compatible within a major version. See the stability contract.