# IMentorTeamSource interface

> The IMentorTeamSource interface of Novior.MentorAgent.Core: Gives the coordinator teams that are not written in C#: from definition files…

- URL: https://docs.mentoragent.net/api/novior-mentoragent-core/imentorteamsource
- Verified with: MentorAgent 1.4.0
- Last updated: 2026-11-18
- Packages: Novior.MentorAgent

Gives the coordinator teams that are not written in C\#: from definition files (`Novior.MentorAgent.Declarative`), from a console, from any store. Asked every time a coordinator is built, so a new session sees what the source holds then. A team it gives is a team like one with `[MentorTeam]`: the same group chat, a tool named after it, the same verdict and hand-off. Register it with `AddMentorTeamSource<T>()`; every source registered is asked.

A definition chooses from what the application has: a member's tools are names of the session's actions, each called through the gate as it is everywhere else. What does not hold is left out with its reason, in the log and for every [`IMentorAgentSourceObserver`](https://docs.mentoragent.net/api/novior-mentoragent-core/imentoragentsourceobserver) ([`IMentorAgentSourceObserver.OnTeamsLoaded`](https://docs.mentoragent.net/api/novior-mentoragent-core/imentoragentsourceobserver#onteamsloaded)), never silently.

## Definition

Namespace: `Novior.MentorAgent.Core`. Package: `Novior.MentorAgent`.

`public interface IMentorTeamSource`

```shell
dotnet add package Novior.MentorAgent
```

## Methods

### `LoadAsync`

`Task<MentorTeamSourceResult> LoadAsync(MentorTeamSourceContext context, CancellationToken ct = default)`

The source's teams for one coordinator, and what it left out itself.

---

- Previous: [IMentorAgentSourceObserver interface](https://docs.mentoragent.net/api/novior-mentoragent-core/imentoragentsourceobserver.md)
- Next: [MentorAgentRejection record](https://docs.mentoragent.net/api/novior-mentoragent-core/mentoragentrejection.md)
