cd /news/ai-tools/simplellmchat-an-ai-agent-chat-harne… · home › topics › ai-tools › article
[ARTICLE · art-176393] src=github.com ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

SimpleLLMChat – An AI Agent/Chat Harness for Windows XP

A developer released SimpleLLMChat, a lightweight C# CLI and GUI application that brings OpenAI-compatible LLM chat and agent tooling to Windows XP (SP3 recommended) and later. SimpleLLMChat supports any OpenAI v1 chat endpoint, including llama.cpp and LM Studio, and adds image input, Markdown rendering, streaming responses, a local-folder retrieval augmented generation (RAG) mode, and an extensible tool system, with a `-o`/`--output-only` flag for piping script-friendly output. The project builds with the included `build.bat` script or `SimpleLLMChat.sln` in Visual Studio, both requiring the .NET 4.0 Targeting Pack, and ships an XP-specific release build bundled with `curl.exe` and `curl-ca-bundle.crt` as a TLS fallback.

key takeaway

SimpleLLMChat lets developers point a C# CLI or GUI client at any OpenAI v1 chat endpoint, including llama.cpp and LM Studio, and pipe clean output with the `-o`/`--output-only` flag, which auto-denies tool calls requiring manual approval.

read13 min views1 publishedNov 25, 2026
SimpleLLMChat – An AI Agent/Chat Harness for Windows XP
Image: Michielbdejong (auto-discovered)

AI Chatbot/Agent for Windows XP+

SimpleLLMChat is a lightweight C# CLI and GUI application that makes LLMs accessible on both legacy and modern Windows systems. The software is designed to work with OpenAI-compatible endpoints and can be extended via a tool system.

  • Customizable GUI - The GUI's colors and fonts can be customized.

  • GUI/CLI Modes - The software can be used either via its REPL CLI or a GUI wrapper.

  • Image Support - Images can be passed to supported models via both the CLI and GUI.

  • Markdown Rendering - The GUI can render Markdown formatting for easier reading.

  • OpenAI-Compatible Endpoint Support - In addition to OpenAI, any service/server offering the OpenAI v1 chat endpoint can be used, includingllama.cpp andLM Studio .

  • Retrieval Augmented Generation (RAG) - Retrieve information from documents via a local knowledge folder (seeRAG ).

  • Script-Friendly - Output without tool calls, tool outputs, and reasoning can be piped out of the CLI using the-o or--output-only flag.Note : Tool calls requiring manual approval will automatically be denied.

  • Streaming Responses - Responses are streamed from the LLM server in real-time.

  • Tools - A modular, extensible tool system is available. For information about the included tools, seeTools .

  • Access to the OpenAI API or a compatible LLM server

    • Note : If your server or endpoint requires modern TLS that the OS does not support, acurl.exe andcurl-ca-bundle.crt can be placed in the same folder as the application executable as a fallback (already included in the XP release build).
  • Windows XP (SP3 recommended) or later

To use the application, download and extract the appropriate build for your system from the Releases page (builds ending in -XP are recommended for Windows XP systems).

On first launch of SimpleLLMChatGUI.exe, if LLMSettings.ini does not exist next to the executable, a setup wizard walks through all available settings. Settings can also be changed later via Options.

Once configured, the software can be used via the SimpleLLMChatCLI.exe or SimpleLLMChatGUI.exe executables.

The project can be built via the included build.bat script (Visual Studio/Visual Studio Build Tools/MSBuild required).

Alternatively, the project can be built using the SimpleLLMChat.sln file directly in Visual Studio.

Both methods require the .NET 4.0 Targeting Pack to be installed.

Note: Builds generated using these methods include only the core executables by default. Optional binaries (7za.exe, grep.exe and its DLLs, curl.exe, curl-ca-bundle.crt, yt-dlp.exe) are packaged when present under deps\ or can be manually placed beside the matching tool's executable. Optional binaries are specified in Tools. Third-party license texts placed under THIRD_PARTY_LICENSES\ (gitignored; keep the folder via .gitkeep) are copied into the release folder as THIRD_PARTY_LICENSES\ when present.

Test projects live under Tests\ and are not included in release builds. To build and run tests, from the repo root, run:

build-tests.bat
run-tests.bat

build-tests.bat builds the product and test suites. run-tests.bat runs every suite (or one suite when a name is passed, e.g. run-tests.bat FileTools) and writes logs under Tests\logs\.

Note: For cases that need external executables (7za, grep, cURL, YT-DLP), either put them in deps\ before build-tests.bat, or place them beside the matching tool executable before run-tests.bat.

On first use, if LLMSettings.ini does not exist, the GUI setup wizard creates it. Settings can be changed later via Options or by editing the INI manually. The options available within the INI file are as follows:

Appearance

  • assistantname : Display name for assistant responses (defaultLLM )
  • codeblockfontfamily : Font used for rendering code blocks in the GUI
  • customfontfamily : Font used for all non-code block text in the GUI
  • fontsize : Font size for chat and input text
  • markdownparsing : Enables/disables Markdown rendering in the GUI (1 or0 )
  • showchatstatus : Shows a status message when context is retrieved from previous chats (1 or0 , default on)
  • showdocstatus : Shows a status message when context is retrieved from RAG documents (1 or0 , default on)
  • showjevconfidence : Show/Hide automatic tool approval confidence level (1 or0 , default1 )
  • thinkingdisplay : Model reasoning appearance (shown ,collapsed , orhidden ; defaultcollapsed ). Hidden shows a short[thought for N seconds] stub instead of the full reasoning.
  • toolcalldisplay : Model tool call appearance (shown ,collapsed , orhidden ; defaultcollapsed ). Hidden shows an expanded tool-call header with the tool name only (no arguments).
  • tooloutputdisplay : Tool result appearance (shown ,collapsed , orhidden ; defaultshown ). Hidden shows[tool output] with the exit code only.

RAG

  • ragchathistory : Enables retrieving context from previous chat sessions within the current directory (1 or0 , default off).
  • ragenabled : Enables RAG (1 or0 , default off)
  • ragallowedextensions : Comma-separated file extensions to index (blank = built-in defaults, provided below)
    • Allowed formats: .md ,.markdown ,.txt ,.rst ,.csv ,.json ,.xml ,.yaml ,.yml ,.toml ,.ini ,.html ,.htm ,.css ,.cs ,.py ,.js ,.ts ,.tsx ,.jsx ,.java ,.go ,.rs ,.c ,.h ,.cpp ,.hpp ,.rb ,.php ,.sql ,.sh ,.ps1 ,.bat
  • Allowed formats:
  • indexchunkoverlap : Chunk overlap in lines (default10 )
  • indexchunklines : Chunk size in lines (default60 )
  • embeddingsapikey : Embeddings API key (apikey if blank)
  • embeddingsendpoint : Embeddings API base URL (llmserver if blank)
  • embeddingsmodel : Embeddings model name (required)
  • ragknowledgepath : Knowledge folder path (knowledge folder next to EXE by default)
  • ragmaxsnippetlength : Max characters per chunk for embedding/injection (default2000 )
  • ragmaxresults : Number of chunks to retrieve per search. Applies per category (ragmaxresults document chunks andragmaxresults previous chat chunks, if enabled) (default5 )
  • ragretrievemode : When to retrieve information from knowledge (everyturn ornewchat ) (default:newchat )

System

  • apikey : API key (if required by model provider)
  • chathistorylimit : Number of previous chat sessions to keep (per working directory); oldest chats deleted first; stored inchats next to application.
  • contextWindowSize : If known, can be set here to enable automatic context summarization when context fills (default0 ; off)
  • chattitlesbymodel : If enabled, titles are generated by your LLM. Otherwise, titles are generated by your first message. (1 or0 , default on)
  • llmserver : Base URL of the OpenAI-compatible endpoint (e.ghttp://127.0.0.1:8080/v1 )
  • model : Model name to use for text generation (if supported by the endpoint)
  • sysprompt : System prompt for the LLM

Tools

  • autoapprovaltools : Comma-separated list of tools that request approval from a Jev-compatible endpoint before running
  • jevapikey : API key if required for your Jev-compatible server
  • jevbaseurl : Full URL for a Jev-compatible server (e.g.http://127.0.0.1:8080/v1/systemone if you're using llama.cpp)
  • jevmodel : Model to use (if supported by your endpoint)
  • maxconsecutivefailedtoolcalls : Maximum number of tool calls that can fail in a row before a session is halted (default10 ;0 = off)
  • tools : Comma-separated list of tools the AI is allowed to use
  • toolsrequiringapproval : Comma-separated list of tools that require manual approval for the AI to use.
  • tooltimeout.<toolname> : Timeout for that tool call, in seconds;0 means no timeout.

Tool-specific configuration options for the included tools are available in the Tools section.

GUI: To launch the GUI interface, open SimpleLLMChatGUI.exe.

  • To adjust application settings, select Options .
  • To attach an image, press the image attachment button (camera icon) and choose a file using the file picker.
  • To start a new chat, press New Chat .
  • To open a previous chat, press the history button icon in the upper left and select a chat in the sidebar.
  • To manage history, open the sidebar with the history button. Chats can be exported or deleted via the context menu. In the same context menu, chats can be imported.
  • To set a working directory, create a shortcut to SimpleLLMChatGUI.exe and set its "Start in" directory to that folder.
  • To send a message, type it into the input box and press Enter orSend . To create multi-line messages, pressShift+Enter .
  • To cancel the currently generating response, press Stop (shown while generating).

CLI: To run the CLI in interactive/REPL mode, open SimpleLLMChatCLI.exe directly or from a terminal.

Interactive mode provides the following commands:

  • /buildindex : Reconciles the knowledge index (adds/updates/removes changed files)
  • /clear : Clears chat context
  • /clearindex : Clears the on-disk knowledge index
  • /compact : Compacts the conversation to reduce context usage.
  • /exit : Exits the application
  • /image : Sends an image to the model alongside the next message, used as/image "path" prompt
  • /import <path> : Loads a chat, copying it into your current working directory.
  • /load <path> : Loads a chat, changing your working directory to its working directory.
  • /reasoning : Sets reasoning effort for supported models (none ,minimal ,low ,medium ,high ,xhigh );/reasoning alone uses the API default
  • /reload : Reloads configuration in place (doesn't clear chat)
  • /save <path> : Saves the chat as JSON
  • Ctrl+C - Stop the currently generating response

The application can also be used in a non-interactive mode.

For a single prompt, use SimpleLLMChatCLI.exe <prompt>.

To pass in an image alongside a prompt, use SimpleLLMChatCLI.exe --image <path> <prompt>.

CLI mode provides the following additional flags:

  • --no-banners : Suppresses instructional prompts
  • -o ,--output-only : Outputs only the model's response text (no thinking, tool-call, or tool-output UI). Tools that do not require approval still run silently. If the model calls a tool that requires approval, the session ends withError: Model called <tool> which requires approval .
  • --reasoning-effort : Sets initial reasoning effort for supported models (none ,minimal ,low ,medium ,high ,xhigh )

SimpleLLMChat includes the following 7 tool packages:

Context injectors run once when a chat starts (and again after it is cleared, loaded, compacted, or its enabled tools change), so the system prompt stays the same between turns and the server's prompt cache is reused.

  • File Tools
    • Tools
      • copy_file : Copies a file from one location to another
      • delete_file : Deletes a file from the file system
      • edit_file : Replaces exact text in an existing file via one or more old_string/new_string edits
      • extract_file : Extracts an archive to a destination directory
      • grep_search : Recursively searches files for a regex pattern
      • list_directory : Lists all files and subdirectories in a given directory
      • move_file : Moves a file from one location to another
      • read_file : Reads the contents of a local file
      • write_file : Writes contents to a local file
    • Configuration Options
      • maxReadLines : Max number of lines that the AI can read from a file at a time (default:500 )
      • maxFileContentLength : Maximum number of characters to read from a file or return fromgrep_search (default:10000 )
    • Dependencies
      • 7za.exe : used to extract archives
      • grep.exe (+libiconv2.dll ,libintl3.dll ,pcre3.dll ,regex2.dll ): used bygrep_search (GnuWin32 GNU grep)
  • Tools
  • Memory Tools
    • Tools
      • delete_memory : Deletes a saved memory entry
      • list_memories : Lists the names of all saved memory entries
      • recall_memory : Reads a saved memory entry
      • save_memory : Saves or updates a memory entry
      • search_memories : Searches all memory entries by keyword
    • Configuration Options
      • memoriesDirectory : Directory for memory.md files (default:memories folder next toMemoryTools.exe )
      • maxContentLength : Maximum length of a memory entry (in characters) (default:2000 )
      • maxMemories : Maximum number of memories to store (default:50 )
    • Context Injector
      • get_memory_context : Creates a summary of saved memories to be injected into the system prompt
  • Tools
  • Python Tools
    • Tools
      • run_python_script : Creates and executes a Python script
    • Dependencies
      • Python must be installed and available on PATH.
  • Tools
  • Shell Tools
    • Tools
      • run_shell_command : Executes a shell command
  • Tools
  • Desktop Tools
    • Tools
      • list_windows : Lists visible top-level windows; optionalwindow_title filter. Use for browsing or disambiguation — other tools acceptwindow_title directly.
      • list_controls : Lists controls with element indices (#N ), roles and capture-relative rects (@x,y same space as a window screenshot)
      • navigate : Pointer/focus —click ,double_click ,scroll ,focus (target viaelement ,hwnd , orx /y );drag with start (element orx /y ) and end (to_element orto_x /to_y ); optionalmodifiers (ctrl /shift /alt /win ) on click/drag.x /y use the same pixel space asscreenshot for that scope (window image ifhwnd /window_title is set; desktop image if not).
      • set_control_text : Sets text in a control (target viaelement orhwnd )
      • send_keys : Sends text or keystrokes to the foreground window
      • screenshot : Capture a window or the virtual desktop as JPEG; click withnavigate using imagex /y and the same scope
    • Configuration Options
      • maxTreeDepth : Maximum depth when listing control trees (default:8 )
      • maxControls : Maximum number of controls returned per query (default:80 )
    • Context Injector
      • get_desktop_context : Injects a one-line summary of open windows (up to 5 titles, then "and N more")
  • Tools
  • Skill Tools
    • Tools
      • create_skill : Creates a new agent skill
      • edit_skill : Updates an existing agent skill (description and/or instructions; omitted fields unchanged)
      • edit_skill_file : Creates or overwrites a supporting file under an existing skill (e.g. scripts, references)
      • remove_skill : Deletes an agent skill
      • view_skill : Loads a skill's fullSKILL.md , absolute path to the skill folder, and relative paths for linked files (optionalrelative_path loads one relative file)
    • Configuration Options
      • skillsDirectory : Directory to scan recursively for skill folders (folders containing 'SKILL.md') (default:skills folder next toSkillTools.exe )
      • selfImprovement : Enables/disables automatic skill creation/updates for non-trivial procedures (default:1 )
    • Context Injector
      • get_skills_context : Injects the skills directory path, skill names and descriptions, and instructions to load matching skills viaview_skill , run scripts as shell commands under the skill root, and author skills withcreate_skill /edit_skill /edit_skill_file /remove_skill . When self-improvement is enabled, instructions are injected to tell the agent to create/update skills when non-trivial procedures are completed successfully.
  • Tools
  • Web Tools
    • Tools
      • download_file : Downloads a file using cURL
      • download_video : Downloads an online video using YT-DLP and saves it to an optionaldirectory (defaults to the user's desktop)
      • read_website : Reads a webpage as Title/Description, body text (image alt+src kept), and a Links section with a configurable cap
      • run_web_search : Searches the web using SearXNG, with Firecrawl, DDG, and Wiby as fallbacks
    • Configuration Options
      • maxSearchResults : Maximum number of search results to retrieve (default:20 )
      • maxWebContentLength : Maximum number of characters to return when reading a webpage (default:10000 ;0 = no limit)
      • maxLinks : Maximum number of unique links to include at the end of a webpage read (default:40 )
      • FirecrawlEndpoint : Firecrawl API base URL (e.g.http://localhost:3002 ). If set,read_website will attempt to use it to view page content. (default: none)
      • FirecrawlApiKey : Firecrawl API key (optional) (default: none)
      • SearXNGInstance : SearXNG instance to use for running web searches (must support JSON API) (default: none)
      • userAgent : User agent to use when making web requests (default:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 )
    • Dependencies
      • curl-ca-bundle.crt : used for cURL
      • curl.exe : used to download web content
      • yt-dlp.exe : used to download online videos
  • Tools

Note: Dependencies should be placed alongside tool executables. The release builds already include these dependencies, with the exclusion of Python.

Third-party tools can be installed by extracting them into the tools folder. For more information on developing/distributing custom tools, see SimpleLLMChat-Tool-SDK

Thank you to the following for all of their contributions:

── more in #ai-tools 4 stories · sorted by recency
── more on @simplellmchat 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/simplellmchat-an-ai-…] indexed:0 read:13min 2026-11-25 · —