> ## 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**](../modules/protocols) module.

<Badge color="blue">AI Agent</Badge>

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

<CardGroup cols={2}>
  <Card title="register_command()" icon="function" href="../functions/ChatCommandProtocol-register_command">
    Register a chat command handler.
  </Card>

  <Card title="list_commands()" icon="function" href="../functions/ChatCommandProtocol-list_commands">
    List all registered chat commands.
  </Card>
</CardGroup>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/bots/protocols.py#L1105">
  `praisonaiagents/bots/protocols.py` at line 1105
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Chat Feature" icon="comments" href="/docs/docs/features/chat" />

  <Card title="Conversation Stores" icon="database" href="/docs/docs/databases/overview" />
</CardGroup>
