# `Nous.Profile.Applied`
[🔗](https://github.com/nyo16/nous/blob/v0.21.1/lib/nous/profile/applied.ex#L1)

The profile an agent runs with, as stored on `%Nous.Agent{profile: ...}`.

`Nous.Profile.apply/2` sets it. Besides the profile it keeps the agent's
base text (the instructions and tools the profile replaced), so a run-level
`profile:` option re-applies another profile to the base, and `profile:
nil` restores it, without rebuilding the agent.

Treat it as opaque: read the applied profile's id with
`Nous.Profile.applied_id/1`.

# `t`

```elixir
@type t() :: %Nous.Profile.Applied{
  base_instructions: String.t() | function() | nil,
  base_tools: [Nous.Tool.t()],
  profile: Nous.Profile.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
