Set your OpenAI API key as an environment variable in your terminal:
export OPENAI_API_KEY=your_openai_key
1
Install PraisonAI
Install the PraisonAI package:
npm install praisonai
2
Set API Key
Set your OpenAI API key as an environment variable in your terminal:
export OPENAI_API_KEY=your_openai_key
1
Install PraisonAI
Install the PraisonAI package:
npm install praisonai
2
Set API Key
Set your OpenAI API key as an environment variable in your terminal:
export OPENAI_API_KEY=your_openai_key
Generate your OpenAI API key from OpenAI
You can also use other LLM providers like Anthropic, Google, etc. Please refer to the Models for more information.
Windows terminals: PraisonAI automatically detects legacy Windows code pages (CP1252, CP850, etc.) and falls back to ASCII-safe output. For full emoji and box-drawing rendering, switch your terminal to UTF-8:
$env:PYTHONIOENCODING='utf-8'chcp 65001
The installer automatically detects your OS, installs Python if needed, creates a virtual environment, and configures your PATH.