Memory/MemoryLeaf.cscsharp

Documentation

Agent-Core (Version 1)

Shared library for Genesis agents: logging, Ollama client, and chat history.

Each .cs file lives in its own folder with a README.md (same layout as the Lilith agent tree). Entry point: Core/Core.cs.

Build via the Version 1 solution or python ../Build-v1.py.

using System.Text.Json.Serialization;namespace Agent.Core.Memory;public class MemoryLeaf{    [JsonPropertyName("path")]    public string Path { get; set; } = "";    [JsonPropertyName("value")]    public string Value { get; set; } = "";    [JsonPropertyName("embedding")]    public float[] Embedding { get; set; } = [];}