Lilith.cscsharp

Documentation

Lilith (Version 2)

Version 2 Lilith agent library. Entry point: Lilith.cs with partials under Boot/, Chat/, Ollama/, and SystemPrompt/.

Build the solution or run python ../Build-v2.py from this tree.

using Agent.Core.Logging;namespace Lilith.Agent;public record LilithCredentials(    string Model = "gemma4",    string SystemPrompt = Lilith.DefaultSystemPrompt,    string AgentName = "Lilith");public partial class Lilith(Action<LogEntry> onLog, LilithCredentials? credentials = null){    private readonly LilithCredentials _credentials = credentials ?? new();    public LilithCredentials Credentials => _credentials;    public Logger Logger { get; } = new(onLog);}