Skip to main content
The version command displays version information and checks for updates. Available from both praisonai-code (standalone) and praisonai (full wrapper).

Usage

praisonai-code version [OPTIONS] COMMAND [ARGS]...
praisonai version [OPTIONS] COMMAND [ARGS]...

Commands

CommandDescription
showShow version information (default when no subcommand given)
checkCheck PyPI for a newer release

Examples

Show version panel

praisonai-code version
praisonai-code version show
Output (text mode):
╭─ Version Information ─────────────────────────────╮
│ PraisonAI Code: 0.0.4                             │
│ PraisonAI Wrapper: 1.x.x  ← only when installed  │
│ PraisonAI Agents: 1.6.x                           │
│ Python: 3.12.x                                    │
╰───────────────────────────────────────────────────╯
The PraisonAI Wrapper line is omitted when praisonai is not installed.

Show version as JSON

praisonai-code version show --json
JSON output keys:
{
  "praisonai-code": "0.0.4",
  "praisonai": "1.x.x",
  "praisonaiagents": "1.6.x",
  "python": "3.12.x"
}
The praisonai key is omitted when the wrapper package is not installed.

Check for updates

praisonai-code version check
Queries https://pypi.org/pypi/praisonai-code/json and returns:
{
  "current": "0.0.4",
  "latest": "0.0.5",
  "update_available": true
}
version check requires outbound HTTPS access to PyPI. In air-gapped environments, the command exits with an error message instead.

Quick version flag

praisonai-code --version
praisonai --version
Prints only the praisonai-code package version string and exits immediately.

See Also

Standalone praisonai-code binary

The same version group works when you invoke the praisonai-code console script or python -m praisonai_code.

Default (version show)

praisonai-code version
# or
praisonai-code version show
Human-readable panel fields:
LineWhen shown
PraisonAI CodeAlways — version from praisonai-code package metadata
PraisonAI WrapperOnly when praisonai is importable
PraisonAI AgentsAlways — praisonaiagents.__version__ or not installed
PythonAlways — major.minor.micro
Quick one-liner (Typer global option, not the panel above):
praisonai-code --version

JSON (version show)

praisonai-code version --json
Keys emitted:
{
  "praisonai-code": "0.0.4",
  "praisonai": "4.6.106",
  "praisonaiagents": "1.6.101",
  "python": "3.12.0"
}
The praisonai key is omitted when the wrapper is not installed.

Check for updates

praisonai-code version check
Compares the installed praisonai-code version with PyPI.
version check requires outbound HTTPS to PyPI.
JSON shape:
{
  "current": "0.0.4",
  "latest": "0.0.4",
  "update_available": false
}
On failure, JSON mode may include "latest": null and an "error" string instead.