Workspace/Workspace.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.

namespace Agent.Core;/// <summary>/// Defines the local workspace for the Agent, allowing file management tools/// to execute within restricted configurations and output directories./// </summary>public class Workspace{    /// <summary>    /// The folder path where setup files and settings files are stored.    /// </summary>    public string ConfigFolder { get; set; } = string.Empty;    /// <summary>    /// The folder path where the agent can make/create files and perform work.    /// </summary>    public string OutputFolder { get; set; } = string.Empty;    public Workspace() { }    public Workspace(string configFolder, string outputFolder)    {        ConfigFolder = configFolder;        OutputFolder = outputFolder;    }}