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

# Register Profile • AI Agent SDK

> register_profile: Register (or prepend) a family matcher → profile mapping.

# register\_profile

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

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

Register (or prepend) a family matcher → profile mapping.

New registrations take precedence over the built-in defaults so callers
can override behaviour. Thread-safe.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def register_profile(matchers: List[str], profile: HarnessProfile) -> None
```

## Parameters

<ParamField query="matchers" type="List[str]" required={true}>
  Case-insensitive substrings matched against the model id.
</ParamField>

<ParamField query="profile" type="HarnessProfile" required={true}>
  The :class:`HarnessProfile` to resolve when a matcher hits.
</ParamField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/model_harness/profiles.py#L89">
  `praisonaiagents/model_harness/profiles.py` at line 89
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Agent Profiles" icon="id-card" href="/docs/docs/features/agent-profiles" />

  <Card title="Profiling" icon="chart-line" href="/docs/docs/features/profiling" />
</CardGroup>
