Skip to main content
Pure Mode skips external-plugin discovery for a single run without touching your saved enable/disable state.

Quick Start

1

Use the CLI flag

2

Or set the env var


How It Works

The CLI flag sets PRAISONAI_NO_PLUGINS only for the current run, then restores the prior value on return. The @scopes_no_plugins decorator wraps each command, so suppression is restored on return and never leaks into a later in-process call. The run emits one log line: “Running without external plugins (—pure / PRAISONAI_NO_PLUGINS)”.

Configuration

Three surfaces suppress plugins. A constructor disabled=True wins; otherwise the env var decides. The env var accepts true, 1, or yes (case-insensitive). Pure Mode never mutates .praisonai/config.yaml or any persisted enable/disable state. Python parity forces suppression regardless of the env var:

Common Patterns

Reproduce a CI failure without whatever plugin your machine has enabled:
Debug a plugin regression by comparing a normal run with a plugin-free one:
Reuse in a notebook — one cell runs pure, the next picks plugins back up automatically:

Best Practices

Attach the plugin-free reproduction alongside the normal one — it makes obvious whether a plugin is involved.
The flag’s scope is guaranteed — it always restores the prior value on return.
A persistent export defeats the one-shot contract and hides real plugin behaviour from every command.
praisonai plugins doctor tells you whether plugins are suppressed for the current process.

Plugins CLI

List, enable, disable, and diagnose plugins

Plugins

Write, load, and configure plugins