src/praisonai/scripts/ folder contains automation scripts for development, testing, and release workflows.
Script Overview
One-Liner Installer
The installer scripts provide a frictionless installation experience: macOS/Linux:Features
- OS Detection - Automatically detects macOS, Linux (various distros), Windows, WSL
- Isolation Backend - Auto-selects
uv tool→pipx→ venv fallback; override with--backend - Python Management - Installs Python 3.10+ if not available (venv path only)
- Package Manager Support - brew, apt, dnf, pacman, winget, chocolatey
- PATH Shim - Drops
~/.local/bin/praisonaiso the CLI is available without activating a venv - Idempotent PATH Block - Appends a clearly-marked
# >>> PraisonAI PATH >>>block to shell rc; skip with--no-modify-path - Shell Completions - Offers to install bash/zsh/fish completions via
praisonai completion <shell> - Interactive Onboarding - Prompts for LLM setup and bot configuration after installation
- Dry Run Mode - Preview changes before applying
Environment Variables
Examples
Version Management
bump_version.py
Updates version across all package files:praisonai/version.pypyproject.toml
check_version_sync.py
Verifies all packages have consistent versions:Release Workflow
bump_and_release.py
Automated release pipeline:- Bumps version
- Updates changelog
- Creates git tag
- Pushes to GitHub
- Triggers PyPI release
release.py
Manual PyPI release:Smoke Testing
test-install-smoke.sh
Tests the installer in isolated Docker containers:- Ubuntu 22.04
- Debian 12
- Alpine Linux
Docker Test Files
Located inscripts/docker/install-smoke/:
Adding New Scripts
When adding new scripts:- Location: Place in
src/praisonai/scripts/ - Permissions: Make executable with
chmod +x script.sh - Documentation: Update this page
- Testing: Add to CI/CD if applicable
Related
Local Development
Setting up dev environment
Testing
Running tests

