Table of Contents

Class TutorAgentTemplate

Namespace
LMKit.Agents.Templates
Assembly
LM-Kit.NET.dll

A template for creating educational tutoring agents.

Tutor agents excel at explaining concepts, guiding learning, adapting to student level, and using pedagogical techniques.

public sealed class TutorAgentTemplate : AgentTemplate
Inheritance
TutorAgentTemplate
Inherited Members

Examples

var agent = new TutorAgentTemplate()
    .WithModel(model)
    .WithSubject("mathematics")
    .WithLevel(TutorLevel.Intermediate)
    .WithStyle(TutorStyle.Socratic)
    .Build();

var result = await agent.RunAsync("Explain how derivatives work in calculus");

Properties

TemplateName

Gets the template name.

Methods

ConfigureBuilder(AgentBuilder)

Configures the agent builder with template-specific settings.

WithExercises(bool)

Sets whether to include practice exercises.

WithLearnerBackground(string)

Sets the learner's background information.

WithLevel(TutorLevel)

Sets the difficulty level.

WithModel(LM)

Sets the model for the agent.

WithStyle(TutorStyle)

Sets the tutoring style.

WithSubject(string)

Sets the subject area for tutoring.

WithUnderstandingChecks(bool)

Sets whether to check understanding with questions.