Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
The thinking command manages thinking token budgets for complex reasoning.
Quick Start
# Show current thinking budget
praisonai thinking status
Usage
Show Status
praisonai thinking status
Expected Output:
╭─ Thinking Budget ────────────────────────────────────────────────────────────╮
│ Level: medium │
│ Max Tokens: 8,000 │
│ Adaptive: enabled │
╰──────────────────────────────────────────────────────────────────────────────╯
Set Budget Level
praisonai thinking set high
Available levels: minimal, low, medium, high, maximum
Show Usage Stats
Python API
from praisonaiagents.thinking import ThinkingBudget, ThinkingTracker
# Use predefined levels
budget = ThinkingBudget.high() # 16,000 tokens
# Track usage
tracker = ThinkingTracker()
session = tracker.start_session(budget_tokens=16000)
tracker.end_session(session, tokens_used=12000)
summary = tracker.get_summary()
print(f"Utilization: {summary['average_utilization']:.1%}")
See Also