Every PraisonAI bot comes with built-in chat commands. Just type a command in your chat — no setup required.Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
Built-in Commands
/status
Shows agent name, model, platform, and uptime.
/new
Resets the conversation session. Starts a fresh chat with the agent.
/help
Lists all available commands (built-in + custom) with descriptions.
Quick Start
Platform Examples
Command Details
/status
Shows current bot information:| Field | Description |
|---|---|
| Agent | Name of the AI agent |
| Model | LLM model being used |
| Platform | telegram, discord, slack, or whatsapp |
| Uptime | How long the bot has been running |
| Running | Whether the bot is currently active |
/new
Resets the conversation:- Clears all previous messages from the agent’s session
- Replies with a confirmation message
- Next message starts a completely new conversation
/help
Lists all available commands — both built-in and custom — with their descriptions.Custom Commands
Register your own commands usingregister_command(). Available on all bot adapters.
register_command() API
| Parameter | Type | Required | Description |
|---|---|---|---|
name | str | Yes | Command name without / prefix |
handler | Callable | Yes | Function to call. Receives a BotMessage argument |
description | str | No | Human-readable description (shown in /help) |
usage | str | No | Usage example string |
channels | list[str] | No | Restrict to specific platforms (e.g., ["telegram", "slack"]). Empty = all platforms |
list_commands()
Get all registered commands:Python Usage
Start bots programmatically — built-in commands are always available:Bot tokens should never be hardcoded. Use environment variables or a
.env file to store them securely.
