Skip to main content
Run agents directly from your terminal without writing code.

Quick Start

1

Install CLI

cargo install praisonai-cli
2

Run an Agent

praisonai chat "What is Rust?"
3

Interactive Mode

praisonai
# > What is Rust?
# Rust is a systems programming language...
# > exit

Commands

CommandDescription
praisonai chat <prompt>One-shot chat
praisonaiInteractive mode
praisonai run <file>Run workflow file
praisonai --model <model>Use specific model
praisonai --helpShow help

Examples

With a Specific Model

praisonai --model gpt-4o chat "Explain quantum computing"

Run Workflow File

praisonai run workflow.yaml

Pipe Input

echo "Summarize this" | praisonai chat

Configuration

Set defaults with environment variables:
export OPENAI_API_KEY="your-key"
export PRAISONAI_MODEL="gpt-4o"
export PRAISONAI_VERBOSE="true"

Best Practices

Use export OPENAI_API_KEY rather than passing keys inline.
Define multi-agent workflows in YAML for repeatability.

Installation

Setup instructions

Quick Start

Code examples