Share via


Microsoft.Agents.AI.Hosting Namespace

Classes

Name Description
AgentHostingServiceCollectionExtensions

Provides extension methods for configuring AI agents in a service collection.

AgentSessionStore

Defines the contract for storing and retrieving agent conversation threads.

AIHostAgent

Provides a hosting wrapper around an AIAgent that adds session persistence capabilities for server-hosted scenarios where conversations need to be restored across requests.

HostApplicationBuilderAgentExtensions

Provides extension methods for configuring AI agents in a host application builder.

HostApplicationBuilderWorkflowExtensions

Provides extension methods for configuring AI workflows in a host application builder.

HostedAgentBuilderExtensions

Provides extension methods for configuring AIAgent.

HostedWorkflowBuilderExtensions

Provides extension methods for IHostedWorkflowBuilder to enable additional workflow configuration scenarios.

InMemoryAgentSessionStore

Provides an in-memory implementation of AgentSessionStore for development and testing scenarios.

NoopAgentSessionStore

This store implementation does not have any store under the hood and therefore does not store sessions. GetSessionAsync(AIAgent, String, CancellationToken) always returns a new session.

WorkflowCatalog

Provides a catalog of registered workflows within the hosting environment.

Interfaces

Name Description
IHostedAgentBuilder

Represents a builder for configuring AI agents within a hosting environment.

IHostedWorkflowBuilder

Represents a builder for configuring workflows within a hosting environment.