# `MingaAgent.SubagentContext`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_agent/subagent_context.ex#L1)

Configuration context inherited by child subagent sessions.

The subagent tool uses this struct to carry the parent session's provider, model, thinking level, active skills, and project root across module boundaries without relying on a raw map shape.

# `t`

```elixir
@type t() :: %MingaAgent.SubagentContext{
  active_skill_names: [String.t()],
  model: String.t() | nil,
  project_root: String.t() | nil,
  provider_id: String.t(),
  provider_module: module(),
  provider_name: String.t(),
  provider_source: Minga.Extension.ContributionCleanup.contribution_source(),
  thinking_level: String.t() | nil
}
```

Inherited context for a child subagent session.

# `default`

```elixir
@spec default() :: t()
```

Returns the default context used when no parent session is available.

# `new`

```elixir
@spec new(keyword()) :: t()
```

Builds a context from the given attributes.

---

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