Lilith.cscsharp

Documentation

Lilith (Version 1)

Main entry type and credentials for the Lilith agent. Partial classes live in subfolders (Boot, Chat, Ollama, SystemPrompt).

  • Lilith.cs — constructor, LilithCredentials, and shared Logger.
  • Lilith.csproj — references Agent-Core and compiles all .cs files under 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);}