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

# Resource Sample • AI Agent SDK

> ResourceSample: A point-in-time snapshot of the gateway process's resource usage.

# ResourceSample

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

AI Agent

A point-in-time snapshot of the gateway process's resource usage.

Attributes:
rss\_mb: Resident set size in mebibytes, or `None` when the platform
cannot report it (the policy then admits and self-disables so the
monitor never crashes the gateway it protects).

## Properties

**rss\_mb** `Optional[float]`

No description available.

## Source

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


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