praisonai-code is the terminal-native agent CLI — install it on its own for a smaller footprint when you only need agentic commands.
praisonai-code executes the agent and streams the reply.
Which install do I need?
Bothpraisonai-code (console script) and python -m praisonai_code call the same entry point: configure logging, register commands, then run the Typer app.
Quick Start
Install standalone
--version for a quick one-liner (package version only, no panel):--output actions for the standalone-safe in-process Agent path. Default run "…" (no --output actions) requires the wrapper.How It Works
When a command needs thepraisonai wrapper, the CLI uses an internal bridge. If the wrapper is missing, you get a clear install hint instead of a silent failure. Plugin discovery is vendored inside praisonai-code, so plugin-related flows keep working without the wrapper.
The default run "…" guard checks wrapper_available() before any credential setup. When the wrapper is absent it prints:
chat and code raise the parallel hint: Error: chat requires the praisonai wrapper. Install the full wrapper: pip install praisonai (and the same for code).
The vendored _registry module means plugins work even without the wrapper installed. Version resolution reads from the praisonai-code package metadata directly, not the wrapper.
Command matrix
Three tiers decide what a command needs: fully standalone, wrapper-required (listed on a standalone install but needs the wrapper at runtime), and wrapper-only (not listed without the wrapper).Standalone (pip install praisonai-code) | Wrapper-required (listed, needs praisonai) | Wrapper-only (pip install praisonai) |
|---|---|---|
acp · agent · agents · attach · auth · batch · benchmark · browser · call · checkpoint · command · commit · completion · config · context · debug · deploy · diag · docs · doctor · endpoints · env · eval · examples · flow · github · hooks · init · knowledge · langextract · langfuse · loop · lsp · managed · mcp · memory · models · n8n · obs · package · paths · permissions · plugins · port · profile · publish · rag · realtime · recipe · registry · replay · research · run --output actions · rules · sandbox · schedule · serve · session · setup · skills · templates · test · todo · tools · traces · tracker · train · ui · up · validate · version · workflow | run "…" (default) · chat · code | bot · claw · daemon · dashboard · gateway · identity · kanban · onboard · pairing |
--help but fail fast with an install hint when the wrapper is missing. Wrapper-only names stay out of --help entirely and do not load a Typer module.
daemon start runs standalone in both foreground and --background modes — only the bot/gateway daemon sub-apps are wrapper-only.Standalone limits
On apip install praisonai-code-only install:
| Command | Works standalone? | Notes |
|---|---|---|
run --help, config, doctor | Yes | |
run --output actions "…" | Yes | In-process Agent |
run "…" (default) | No | Requires pip install praisonai |
chat, code | No | TUI / interactive legacy live in wrapper |
daemon start (foreground) | Yes | |
daemon start --background | Yes | Spawns python -m praisonai_code.runtime |
Piped stdin (type file.log | praisonai-code run "…") | Yes | Works on Windows as of 2026-07-07 (PR #2705) via a stat-based pipe classifier; also supports Get-Content file.log | praisonai-code run "…". Interactive terminals skip the stdin read. See Piped Input. |
chat, code, default run), install the wrapper: pip install praisonai.
Wrapper-command loading
Wrapper-only commands (bot, gateway, pairing, identity, onboard, kanban, dashboard, claw, daemon) are Typer sub-apps whose implementations live in the praisonai wrapper. When you install praisonai-code standalone, these commands are not listed in --help and are not resolvable — get_command() returns None instead of loading a module that doesn’t exist in praisonai_code.
bot, gateway, pairing, identity, onboard, kanban, dashboard, claw, or daemon, install the full wrapper:
Configuration and environment
| Variable / command | Behaviour |
|---|---|
LOGLEVEL | Read on CLI entry via configure_cli_logging (default WARNING). Controls root log verbosity for standalone runs. |
praisonai-code version check | Compares your installed version with PyPI (https://pypi.org/pypi/praisonai-code/json). |
Version commands
praisonai key is omitted when the wrapper is not installed.
praisonai-code version check needs outbound HTTPS to PyPI.Best Practices
When to use praisonai-code alone
When to use praisonai-code alone
Use
praisonai-code when you only need run --output actions, config, doctor, or the warm-runtime daemon — smaller install, no gateway/bot deps.When to install the full wrapper
When to install the full wrapper
Install
praisonai for interactive chat/code, default conversational run "…", Telegram/Discord/Slack bots, the WebSocket gateway, or kanban/dashboard.Monorepo dev install order
Monorepo dev install order
In dev,
pip install -e src/praisonai-agents && pip install -e src/praisonai-code && pip install -e src/praisonai (this exact order) — matches the release publish order in pypi-release.yml.AgentApp is a silent alias for AgentOS
AgentApp is a silent alias for AgentOS
from praisonai import AgentOS and from praisonai import AgentApp both work — AgentApp is a backward-compat silent alias for AgentOS. No deprecation warning is emitted.Related
Choose your install
Compare full wrapper, code-only, and SDK installs
Architecture
Three-package layout and dependency direction

