> ## 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.

# Bot User Protocol • AI Agent SDK

> BotUserProtocol: Protocol for bot user representation.

# BotUserProtocol

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

AI Agent

Protocol for bot user representation.

## Methods

> [card] [user\_id()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/BotUserProtocol-user_id.md)
>
> Unique user identifier.

> [card] [username()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/BotUserProtocol-username.md)
>
> User's username.

> [card] [is\_bot()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/BotUserProtocol-is_bot.md)
>
> Whether this user is a bot.

## Source

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


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