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

# Redis Config • AI Agent SDK

> RedisConfig: Redis connection configuration for push service scaling.

# RedisConfig

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

AI Agent

Redis connection configuration for push service scaling.

Attributes:
url: Full Redis URL (takes precedence over host/port)
host: Redis host
port: Redis port
db: Redis database number
password: Redis password
prefix: Key prefix namespace
max\_connections: Connection pool size

## Properties

**url** `Optional[str]`

No description available.

**host** `str`

No description available.

**port** `int`

No description available.

**db** `int`

No description available.

**password** `Optional[str]`

No description available.

**prefix** `str`

No description available.

**max\_connections** `int`

No description available.

> [accordion] Internal & Generic Methods
>
> * **to\_dict**: Convert to dictionary (hides sensitive data).

## Source

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

***

## Related Documentation

> [card] [Configuration Overview](https://praison.ai/docs/docs/configuration/index)

> [card] [Agent Config](https://praison.ai/docs/docs/configuration/agent-config)


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