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

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

Protocol for bot user representation.

## Methods

<CardGroup cols={2}>
  <Card title="user_id()" icon="function" href="../functions/BotUserProtocol-user_id">
    Unique user identifier.
  </Card>

  <Card title="username()" icon="function" href="../functions/BotUserProtocol-username">
    User's username.
  </Card>

  <Card title="is_bot()" icon="function" href="../functions/BotUserProtocol-is_bot">
    Whether this user is a bot.
  </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#L255">
  `praisonaiagents/bots/protocols.py` at line 255
</Card>
