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

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

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

<ResponseField name="url" type="Optional[str]">
  No description available.
</ResponseField>

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

<ResponseField name="port" type="int">
  No description available.
</ResponseField>

<ResponseField name="db" type="int">
  No description available.
</ResponseField>

<ResponseField name="password" type="Optional[str]">
  No description available.
</ResponseField>

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

<ResponseField name="max_connections" type="int">
  No description available.
</ResponseField>

<Accordion title="Internal & Generic Methods">
  * **to\_dict**: Convert to dictionary (hides sensitive data).
</Accordion>

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Configuration Overview" icon="gear" href="/docs/docs/configuration/index" />

  <Card title="Agent Config" icon="robot" href="/docs/docs/configuration/agent-config" />
</CardGroup>
