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

# Validate Config • AI Agent SDK

> validate_config: Validate agent configuration against runtime capabilities.

# validate\_config

<div className="flex items-center gap-2">
  <Badge color="blue">Async</Badge>
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**AgentRuntimeProtocol**](../classes/AgentRuntimeProtocol) class in the [**protocols**](../modules/protocols) module.

Validate agent configuration against runtime capabilities.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def validate_config(agent_config: Dict[str, Any]) -> List[str]
```

## Parameters

<ParamField query="agent_config" type="Dict[str, Any]" required={true}>
  Agent configuration to validate
</ParamField>

### Returns

<ResponseField name="Returns" type="List[str]">
  List of validation error messages (empty if valid)
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/protocols.py#L291">
  `praisonaiagents/runtime/protocols.py` at line 291
</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>
