Table of Contents

Constructor AgentBuilder

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

AgentBuilder()

Initializes a new instance of the AgentBuilder class.

public AgentBuilder()

Examples

Creating a builder and configuring it step by step:

using LMKit.Model;
using LMKit.Agents;

var builder = new AgentBuilder();

using var model = new LM("path/to/model.gguf");
builder.WithModel(model);
builder.WithPersona("Code Helper");
builder.WithInstruction("Help users write and debug code.");

var agent = builder.Build();