> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Chat Command Protocol • AI Agent SDK

> ChatCommandProtocol: Protocol for bots that support standardized chat commands.

# ChatCommandProtocol

> Defined in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

AI Agent

Protocol for bots that support standardized chat commands.

Extends BotProtocol with chat command registration and listing.
Implementations should track registered commands and expose them
for /help listings and command dispatching.

## Methods

> [card] [register\_command()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/ChatCommandProtocol-register_command.md)
>
> Register a chat command handler.

> [card] [list\_commands()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/ChatCommandProtocol-list_commands.md)
>
> List all registered chat commands.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/bots/protocols.py#L1320)
>
> `praisonaiagents/bots/protocols.py` at line 1320

***

## Related Documentation

> [card] [Chat Feature](https://praison.ai/docs/docs/features/chat)

> [card] [Conversation Stores](https://praison.ai/docs/docs/databases/overview)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.