Table of Contents

Method AddAgentConversationAgent

Namespace
MailFathom.AI
Assembly
MailFathom.AI.dll

AddAgentConversationAgent(IServiceCollection)

Registers the Agent: the composition that answers a person in a conversation, reading their mail, calendar, and tasks and proposing what to do.

public static IServiceCollection AddAgentConversationAgent(this IServiceCollection services)

Parameters

services IServiceCollection

The service collection to add to.

Returns

IServiceCollection

The same service collection.

Remarks

Behind the chat declaration like every other agent, so an instance that declared no endpoint registers no composer and no summariser, and its runs end as failed before anything is spent. Scoped, because a run executes on a scope of its own under the principal of the person who asked, and every use case its tools reach reads that principal.