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

# profiles • AI Agent SDK

> Harness profiles and the model-family resolver.

# profiles

AI Agent

Harness profiles and the model-family resolver.

A :class:`HarnessProfile` bundles two family-tuned knobs:

* `base_prompt` — an optional system-prompt fragment prepended to the
  assembled prompt with family-specific tool-use guidance.
* `preferred_edit_format` — the file-edit primitive the family handles
  best (`"apply_patch"` or `"edit_file"`); `None` keeps the current
  both-exposed behaviour.

The registry maps case-insensitive substring matchers (evaluated against the
model id) to profiles. Unknown models fall back to :data:`DEFAULT_PROFILE`,
which is behaviour-preserving (no prompt fragment, no edit-format preference).

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents.model_harness import profiles
```

## Classes

> [card] [HarnessProfile](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/HarnessProfile.md)
>
> A model-family harness profile.

> [card] [HarnessResolverProtocol](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/HarnessResolverProtocol.md)
>
> Protocol for objects that resolve a model id to a harness profile.

## Functions

> [card] [register\_profile()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/register_profile.md)
>
> Register (or prepend) a family matcher → profile mapping.

> [card] [resolve\_harness()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/resolve_harness.md)
>
> Resolve a model id to a :class:`HarnessProfile`.

### Constants

| Name | Value |
| - | - |
| `DEFAULT_PROFILE` | `HarnessProfile(name='default')` |

***

## Related Documentation

> [card] [Agent Profiles](https://praison.ai/docs/docs/features/agent-profiles)

> [card] [Profiling](https://praison.ai/docs/docs/features/profiling)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.