Set up Plurai simulation for any AI agent in minutes. This plugin analyzes your agent's code, identifies production dependencies, and generates a simulate.py wrapper that lets you test your agent against simulated scenarios without production infrastructure.
Install
Add the public Plurai marketplace, then install the plugin:
/plugin marketplace add plurai-ai/plurai-plugins
/plugin install plurai-simulation@plurai-plugins
First run
Start Claude Code from your agent's folder, then run /simulate:
cd <your agent>
claude
The overview page opens in your browser and updates live during the run. On Claude Code, you get a private link to it at the end.
Start from your agent's folder or any folder above it; from anywhere else, the page stays on your machine and no link is
published.
Claude Code asks before reading the plugin's own files, because they are installed outside your project:
- Auto mode: choose
Yes, and keep allowing any reads outside the working directories. It won't ask again.
- Default mode: choose
Yes, allow reading from <folder> during this session. It asks once per skill in each session.
For an unattended or CI run, see Unattended and CI runs.
Using another coding agent or Windows? See the Copilot CLI (beta),
Codex CLI (beta) or Windows guide.
Quickstart
-
Sign in. There is nothing to run: the first Plurai command signs you in. With no login saved, it installs the SDK the
plugin was tested with when it is missing (it asks first) and runs the SDK's plurai login, which opens the browser:
you sign in or sign up there, pick your organization and approve. The SDK creates its own key and saves it; the key is
never shown, typed or copied.
No browser on this machine? See Sign in without a browser.
-
Run your first simulation. From the project that holds your agent:
/simulate <path to your agent>
/simulate scans the agent, installs the SDK the plugin was tested with, builds the suite, runs it and writes the fix
plan. What you can do lists each stage as a command of its own.
Supported environments
- Coding agents. Claude Code. Codex CLI (beta). Copilot CLI (beta).
- Operating systems. macOS and Linux. Windows (PowerShell, no WSL) is supported with Git for Windows and a
python.org Python; docs/install-windows.md is the install guide. Agents that need the Node
bridge are not supported on Windows. Codex on Windows follows Codex's documented hook shell (
cmd.exe) and is not run in
the plugin's CI.
- Python. Python 3.12 or newer for the SDK the plugin installs into your project's environment, and a
python3 on
the PATH for the plugin's own hooks and scripts. An agent written in Node also needs Node 22.15 or newer
(Agents in other runtimes).
Watch your simulation live
Everything from a run comes together in one page: plurai_sim/artifacts/report.html, beside your agent's code
(plurai_sim/envs/<name>/artifacts/report.html when you use a named environment).

For every other file and folder, see What the plugin writes.
What you can do
/simulate <path to your agent>
/simulate runs the whole simulation end to end — scan the agent, build the suite, run it, and
write the fix plan — asking at the start only what it cannot decide for you (such as whether to connect a
trace source, whether to remove personal data before uploading, and on a repeat run what this run should do). Each stage ends with its summary in
chat. The overview page opens in your browser when the run starts and updates live as it goes; the private link to it
comes once, at the end of the run (when it finishes, halts, or you stop it), and it is the same link on every later run of the
project. To change anything,
say so in chat at any point (the map, the mocked world, the scenarios, an eval, the run, the fix
plan) and the flow redoes that stage and everything after it.
Each stage is also a command you can run alone — each produces what the next one consumes: