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

# conditions • AI Agent SDK

> Conditions Module - Unified condition evaluation for workflows.

# conditions

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

Conditions Module - Unified condition evaluation for workflows.

This module provides a protocol-driven approach to condition evaluation,
enabling DRY condition handling across AgentFlow and AgentTeam.

Exports:

* ConditionProtocol: Protocol interface for condition implementations
* ExpressionCondition: String-based conditions like "\{\{score}} > 80"
* DictCondition: Dict-based routing conditions
* evaluate\_condition: Standalone function for condition evaluation

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import conditions
```
