Skip to main content

PraisonAI TypeScript CLI

The praisonai-ts CLI provides a complete command-line interface for the PraisonAI TypeScript SDK.

Installation

Quick Start

Global Options

Environment Variables


Commands Reference

Core Commands

chat

Chat with an AI agent.

run

Run an agent with a task.

workflow

Execute a multi-agent workflow.

Agent Generation

auto

Auto-generate agents from a topic.

Specialized Agents

image

Image generation and analysis.

research

Deep research on a topic.

query-rewrite

Rewrite queries for better search results.

prompt-expand

Expand prompts with more detail.

context

Manage conversation context.

router

Route requests to appropriate agents.

Safety & Validation

guardrail

Content validation and safety.

Memory & State

memory

Manage agent memory.

session

Manage agent sessions.

knowledge

Manage knowledge base.

Tools & Skills

tools

List or manage tools.

skills

Manage agent skills.

mcp

Model Context Protocol management.

Evaluation

eval

Evaluate agent performance.

Planning

planning

Task planning and todo management.

Infrastructure

vector

Vector store management.
Available Providers:
  • MemoryVectorStore
  • PineconeVectorStore
  • WeaviateVectorStore
  • QdrantVectorStore
  • ChromaVectorStore

db

Database adapter management.
Available Adapters:
  • SQLite
  • Redis (Upstash)
  • PostgreSQL (Neon)
  • Memory

cache

Caching management.
Available Providers:
  • MemoryCache
  • FileCache

graph-rag

Graph-based retrieval augmented generation.

reranker

Document reranking.
Available Providers:
  • CohereReranker
  • CrossEncoderReranker
  • LLMReranker

Monitoring

telemetry

Usage monitoring and analytics.

observability

Monitoring and tracing.
Available Providers:
  • ConsoleObservabilityProvider
  • MemoryObservabilityProvider
  • LangfuseObservabilityProvider

Voice

voice

Text-to-speech and speech-to-text.
Available Providers:
  • OpenAIVoiceProvider
  • ElevenLabsVoiceProvider

Agent Handoff

handoff

Agent handoff management.

Utility Commands

providers

List available LLM providers.

version

Show CLI version.

help

Show help information.

JSON Output Format

All commands support --json flag for structured output:

Success Response

Error Response


Exit Codes


Complete Command List