> ## 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 • TypeScript AI Agent SDK

> validate_config: API reference for validate_config

# validate\_config

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**config**](../modules/config) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def validate_config(config: Record<string, any>,
  schema: Record<string, { type: string; required?: boolean }>) -> 
```

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-ts/src/config/index.ts#L1061">
  `src/config/index.ts` at line 1061
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="TypeScript Guide" icon="book-open" href="/docs/js/typescript" />

  <Card title="JS Development" icon="code" href="/docs/js/development" />
</CardGroup>
