Table of Contents

Property Empty

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

Empty

Gets an empty identity with no persona or instruction defined.

public static AgentIdentity Empty { get; }

Property Value

AgentIdentity

Examples

Using the empty identity:

using LMKit.Model;
using LMKit.Agents;

using var model = new LM("path/to/model.gguf");

// Agent with empty identity uses model's default behavior
var agent = new Agent(AgentIdentity.Empty, model);

// Or check if identity is empty
if (agent.Identity.IsEmpty)
{
    Console.WriteLine("Agent has no configured identity.");
}

Remarks

Use Empty when you need a placeholder identity or want to indicate that no specific identity has been configured.