Table of Contents

Class ResearchAgentTemplate

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

A template for creating research and information synthesis agents.

Research agents excel at gathering information from multiple sources, synthesizing findings, citing sources, and presenting comprehensive results.

public sealed class ResearchAgentTemplate : AgentTemplate
Inheritance
ResearchAgentTemplate
Inherited Members

Examples

var agent = new ResearchAgentTemplate()
    .WithModel(model)
    .WithTopic("renewable energy")
    .WithDepth(ResearchDepth.Comprehensive)
    .WithCitations(true)
    .Build();

var result = await agent.RunAsync("What are the latest advances in solar panel efficiency?");

Properties

TemplateName

Gets the template name.

Methods

ConfigureBuilder(AgentBuilder)

Configures the agent builder with template-specific settings.

WithCitations(bool)

Sets whether to include citations.

WithCounterarguments(bool)

Sets whether to include counterarguments and alternative viewpoints.

WithDepth(ResearchDepth)

Sets the research depth.

WithModel(LM)

Sets the model for the agent.

WithOutputStyle(ResearchOutputStyle)

Sets the output style for research results.

WithTopic(string)

Sets the research topic or domain.