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. 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, including llama.cpp https://github.com/ggerganov/llama.cpp and LM Studio https://lmstudio.ai/ . - Retrieval Augmented Generation RAG - Retrieve information from documents via a local knowledge folder see RAG rag . - 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, see Tools tools . - 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, a curl.exe and curl-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 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 default LLM - 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 or 0 - showchatstatus : Shows a status message when context is retrieved from previous chats 1 or 0 , default on - showdocstatus : Shows a status message when context is retrieved from RAG documents 1 or 0 , default on - showjevconfidence : Show/Hide automatic tool approval confidence level 1 or 0 , default 1 - thinkingdisplay : Model reasoning appearance shown , collapsed , or hidden ; default collapsed . Hidden shows a short thought for N seconds stub instead of the full reasoning. - toolcalldisplay : Model tool call appearance shown , collapsed , or hidden ; default collapsed . Hidden shows an expanded tool-call header with the tool name only no arguments . - tooloutputdisplay : Tool result appearance shown , collapsed , or hidden ; default shown . Hidden shows tool output with the exit code only. RAG - ragchathistory : Enables retrieving context from previous chat sessions within the current directory 1 or 0 , default off . - ragenabled : Enables RAG 1 or 0 , 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 default 10 - indexchunklines : Chunk size in lines default 60 - 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 default 2000 - ragmaxresults : Number of chunks to retrieve per search. Applies per category ragmaxresults document chunks and ragmaxresults previous chat chunks, if enabled default 5 - ragretrievemode : When to retrieve information from knowledge everyturn or newchat 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 in chats next to application. - contextWindowSize : If known, can be set here to enable automatic context summarization when context fills default 0 ; off - chattitlesbymodel : If enabled, titles are generated by your LLM. Otherwise, titles are generated by your first message. 1 or 0 , default on - llmserver : Base URL of the OpenAI-compatible endpoint e.g http://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 default 10 ; 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.