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

# Drain Decision • AI Agent SDK

> DrainDecision: Result of a drain-wait evaluation.

# DrainDecision

> Defined in the [**protocols**](../modules/protocols) module.

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

Result of a drain-wait evaluation.

Attributes:
keep\_draining: Whether to keep waiting for in-flight turns.
reason: Optional human-readable explanation (logged at drain end).

## Properties

<ResponseField name="keep_draining" type="bool">
  No description available.
</ResponseField>

<ResponseField name="reason" type="str">
  No description available.
</ResponseField>

## Source

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