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

# Hooks Config • TypeScript AI Agent SDK

> HooksConfig: TypeScript HooksConfig class

# HooksConfig

> Defined in the [**config**](../modules/config) module.

<Badge color="green">TypeScript AI Agent</Badge>

TypeScript HooksConfig class

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%

graph TD
    event["Event Trigger"] --> hook["Hook: HooksConfig"]
    hook --> decision{"Decision"}
    decision -- "Allow" --> proc["Process"]
    decision -- "Deny" --> block["Block"]
    style hook fill:#189AB4,color:#fff
    style event fill:#8B0000,color:#fff
    style proc fill:#8B0000,color:#fff
    style block fill:#8B0000,color:#fff
```

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="JS Hooks Manager" icon="anchor" href="/docs/js/hooks-manager" />

  <Card title="JS Memory Hooks" icon="database" href="/docs/js/memory-hooks" />

  <Card title="JS Workflow Hooks" icon="diagram-project" href="/docs/js/workflow-hooks" />

  <Card title="TypeScript Guide" icon="book-open" href="/docs/js/typescript" />

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