Skip to main content
The thinking command manages thinking token budgets for complex reasoning.
Invocations of praisonai thinking … shown here reach their handler as of PraisonAI PR #4329 (release ≥ the merge date, 2026-08-24). Older releases silently billed this exact command to an LLM at ~2.5k tokens with exit 0 — see issue #4327. Upgrade with pip install -U praisonai.

Quick Start

Usage

Show Status

Expected Output:

Set Budget Level

Available levels: minimal, low, medium, high, maximum

Use from code / run

For a single invocation without persisting a global default, pass --thinking on praisonai code or praisonai run:
The --thinking flag is applied after the agent is constructed. It takes effect on the very next request whether the LLM instance has been materialised yet or not (fixed in PR #4479). Unknown --thinking values fail closed with exit code 1 before any work runs.

Show Usage Stats

Python API

See Also