{"slug": "simplellmchat-an-ai-agent-chat-harness-for-windows-xp", "title": "SimpleLLMChat – An AI Agent/Chat Harness for Windows XP", "summary": "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.", "body_md": "*AI Chatbot/Agent for Windows XP+*\n\nSimpleLLMChat 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.\n\n- **Customizable GUI** - The GUI's colors and fonts can be customized.\n- **GUI/CLI Modes** - The software can be used either via its REPL CLI or a GUI wrapper.\n- **Image Support** - Images can be passed to supported models via both the CLI and GUI.\n- **Markdown Rendering** - The GUI can render Markdown formatting for easier reading.\n- **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/) .\n- **Retrieval Augmented Generation (RAG)** - Retrieve information from documents via a local knowledge folder (see[RAG](#rag) ).\n- **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.\n- **Streaming Responses** - Responses are streamed from the LLM server in real-time.\n- **Tools** - A modular, extensible tool system is available. For information about the included tools, see[Tools](#tools) .\n\n- Access to the OpenAI API or a compatible LLM server\n  - **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).\n- Windows XP (SP3 recommended) or later\n\nTo 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).\n\nOn 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.\n\nOnce configured, the software can be used via the `SimpleLLMChatCLI.exe` or `SimpleLLMChatGUI.exe` executables.\n\nThe project can be built via the included `build.bat` script (Visual Studio/Visual Studio Build Tools/MSBuild required).\n\nAlternatively, the project can be built using the `SimpleLLMChat.sln` file directly in Visual Studio.\n\nBoth methods require the .NET 4.0 Targeting Pack to be installed.\n\n**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.\n\nTest projects live under `Tests\\` and are not included in release builds. To build and run tests, from the repo root, run:\n\n```\nbuild-tests.bat\nrun-tests.bat\n```\n\n`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\\`.\n\n**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`.\n\nOn 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:\n\n**Appearance**\n\n- `assistantname` : Display name for assistant responses (default`LLM` )\n- `codeblockfontfamily` : Font used for rendering code blocks in the GUI\n- `customfontfamily` : Font used for all non-code block text in the GUI\n- `fontsize` : Font size for chat and input text\n- `markdownparsing` : Enables/disables Markdown rendering in the GUI (`1` or`0` )\n- `showchatstatus` : Shows a status message when context is retrieved from previous chats (`1` or`0` , default on)\n- `showdocstatus` : Shows a status message when context is retrieved from RAG documents (`1` or`0` , default on)\n- `showjevconfidence` : Show/Hide automatic tool approval confidence level (`1` or`0` , default`1` )\n- `thinkingdisplay` : Model reasoning appearance (`shown` ,`collapsed` , or`hidden` ; default`collapsed` ). Hidden shows a short`[thought for N seconds]` stub instead of the full reasoning.\n- `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).\n- `tooloutputdisplay` : Tool result appearance (`shown` ,`collapsed` , or`hidden` ; default`shown` ). Hidden shows`[tool output]` with the exit code only.\n\n**RAG**\n\n- `ragchathistory` : Enables retrieving context from previous chat sessions within the current directory (`1` or`0` , default off).\n- `ragenabled` : Enables RAG (`1` or`0` , default off)\n- `ragallowedextensions` : Comma-separated file extensions to index (blank = built-in defaults, provided below)\n  - 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`\n- Allowed formats: \n- `indexchunkoverlap` : Chunk overlap in lines (default`10` )\n- `indexchunklines` : Chunk size in lines (default`60` )\n- `embeddingsapikey` : Embeddings API key (`apikey` if blank)\n- `embeddingsendpoint` : Embeddings API base URL (`llmserver` if blank)\n- `embeddingsmodel` : Embeddings model name (required)\n- `ragknowledgepath` : Knowledge folder path (`knowledge` folder next to EXE by default)\n- `ragmaxsnippetlength` : Max characters per chunk for embedding/injection (default`2000` )\n- `ragmaxresults` : Number of chunks to retrieve per search. Applies per category (`ragmaxresults` document chunks and`ragmaxresults` previous chat chunks, if enabled) (default`5` )\n- `ragretrievemode` : When to retrieve information from knowledge (`everyturn` or`newchat` ) (default:`newchat` )\n\n**System**\n\n- `apikey` : API key (if required by model provider)\n- `chathistorylimit` : Number of previous chat sessions to keep (per working directory); oldest chats deleted first; stored in`chats` next to application.\n- `contextWindowSize` : If known, can be set here to enable automatic context summarization when context fills (default`0` ; off)\n- `chattitlesbymodel` : If enabled, titles are generated by your LLM. Otherwise, titles are generated by your first message. (`1` or`0` , default on)\n- `llmserver` : Base URL of the OpenAI-compatible endpoint (e.g`http://127.0.0.1:8080/v1` )\n- `model` : Model name to use for text generation (if supported by the endpoint)\n- `sysprompt` : System prompt for the LLM\n\n**Tools**\n\n- `autoapprovaltools` : Comma-separated list of tools that request approval from a Jev-compatible endpoint before running\n- `jevapikey` : API key if required for your Jev-compatible server\n- `jevbaseurl` : Full URL for a Jev-compatible server (e.g.`http://127.0.0.1:8080/v1/systemone` if you're using llama.cpp)\n- `jevmodel` : Model to use (if supported by your endpoint)\n- `maxconsecutivefailedtoolcalls` : Maximum number of tool calls that can fail in a row before a session is halted (default`10` ;`0` = off)\n- `tools` : Comma-separated list of tools the AI is allowed to use\n- `toolsrequiringapproval` : Comma-separated list of tools that require manual approval for the AI to use.\n- `tooltimeout.<toolname>` : Timeout for that tool call, in seconds;`0` means no timeout.\n\nTool-specific configuration options for the included tools are available in the [Tools](#tools) section.\n\n**GUI**: To launch the GUI interface, open `SimpleLLMChatGUI.exe`.\n\n- To adjust application settings, select `Options` .\n- To attach an image, press the image attachment button (camera icon) and choose a file using the file picker.\n- To start a new chat, press `New Chat` .\n- To open a previous chat, press the history button icon in the upper left and select a chat in the sidebar.\n- 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.\n- To set a working directory, create a shortcut to `SimpleLLMChatGUI.exe` and set its \"Start in\" directory to that folder.\n- To send a message, type it into the input box and press `Enter` or`Send` . To create multi-line messages, press`Shift+Enter` .\n- To cancel the currently generating response, press `Stop` (shown while generating).\n\n**CLI**: To run the CLI in interactive/REPL mode, open `SimpleLLMChatCLI.exe` directly or from a terminal.\n\nInteractive mode provides the following commands:\n\n- `/buildindex` : Reconciles the knowledge index (adds/updates/removes changed files)\n- `/clear` : Clears chat context\n- `/clearindex` : Clears the on-disk knowledge index\n- `/compact` : Compacts the conversation to reduce context usage.\n- `/exit` : Exits the application\n- `/image` : Sends an image to the model alongside the next message, used as`/image \"path\" prompt`\n- `/import <path>` : Loads a chat, copying it into your current working directory.\n- `/load <path>` : Loads a chat, changing your working directory to its working directory.\n- `/reasoning` : Sets reasoning effort for supported models (`none` ,`minimal` ,`low` ,`medium` ,`high` ,`xhigh` );`/reasoning` alone uses the API default\n- `/reload` : Reloads configuration in place (doesn't clear chat)\n- `/save <path>` : Saves the chat as JSON\n- `Ctrl+C` - Stop the currently generating response\n\nThe application can also be used in a non-interactive mode.\n\nFor a single prompt, use `SimpleLLMChatCLI.exe <prompt>`.\n\nTo pass in an image alongside a prompt, use `SimpleLLMChatCLI.exe --image <path> <prompt>`.\n\nCLI mode provides the following additional flags:\n\n- `--no-banners` : Suppresses instructional prompts\n- `-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 with`Error: Model called <tool> which requires approval` .\n- `--reasoning-effort` : Sets initial reasoning effort for supported models (`none` ,`minimal` ,`low` ,`medium` ,`high` ,`xhigh` )\n\nSimpleLLMChat includes the following 7 tool packages:\n\nContext 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.\n\n- File Tools\n  - Tools\n    - `copy_file` : Copies a file from one location to another\n    - `delete_file` : Deletes a file from the file system\n    - `edit_file` : Replaces exact text in an existing file via one or more old_string/new_string edits\n    - `extract_file` : Extracts an archive to a destination directory\n    - `grep_search` : Recursively searches files for a regex pattern\n    - `list_directory` : Lists all files and subdirectories in a given directory\n    - `move_file` : Moves a file from one location to another\n    - `read_file` : Reads the contents of a local file\n    - `write_file` : Writes contents to a local file\n  - Configuration Options\n    - `maxReadLines` : Max number of lines that the AI can read from a file at a time (default:`500` )\n    - `maxFileContentLength` : Maximum number of characters to read from a file or return from`grep_search` (default:`10000` )\n  - Dependencies\n    - `7za.exe` : used to extract archives\n    - `grep.exe` (+`libiconv2.dll` ,`libintl3.dll` ,`pcre3.dll` ,`regex2.dll` ): used by`grep_search` (GnuWin32 GNU grep)\n- Tools\n- Memory Tools\n  - Tools\n    - `delete_memory` : Deletes a saved memory entry\n    - `list_memories` : Lists the names of all saved memory entries\n    - `recall_memory` : Reads a saved memory entry\n    - `save_memory` : Saves or updates a memory entry\n    - `search_memories` : Searches all memory entries by keyword\n  - Configuration Options\n    - `memoriesDirectory` : Directory for memory`.md` files (default:`memories` folder next to`MemoryTools.exe` )\n    - `maxContentLength` : Maximum length of a memory entry (in characters) (default:`2000` )\n    - `maxMemories` : Maximum number of memories to store (default:`50` )\n  - Context Injector\n    - `get_memory_context` : Creates a summary of saved memories to be injected into the system prompt\n- Tools\n- Python Tools\n  - Tools\n    - `run_python_script` : Creates and executes a Python script\n  - Dependencies\n    - Python must be installed and available on PATH.\n- Tools\n- Shell Tools\n  - Tools\n    - `run_shell_command` : Executes a shell command\n- Tools\n- Desktop Tools\n  - Tools\n    - `list_windows` : Lists visible top-level windows; optional`window_title` filter. Use for browsing or disambiguation — other tools accept`window_title` directly.\n    - `list_controls` : Lists controls with element indices (`#N` ), roles and capture-relative rects (`@x,y` same space as a window screenshot)\n    - `navigate` : Pointer/focus —`click` ,`double_click` ,`scroll` ,`focus` (target via`element` ,`hwnd` , or`x` /`y` );`drag` with start (`element` or`x` /`y` ) and end (`to_element` or`to_x` /`to_y` ); optional`modifiers` (`ctrl` /`shift` /`alt` /`win` ) on click/drag.`x` /`y` use the same pixel space as`screenshot` for that scope (window image if`hwnd` /`window_title` is set; desktop image if not).\n    - `set_control_text` : Sets text in a control (target via`element` or`hwnd` )\n    - `send_keys` : Sends text or keystrokes to the foreground window\n    - `screenshot` : Capture a window or the virtual desktop as JPEG; click with`navigate` using image`x` /`y` and the same scope\n  - Configuration Options\n    - `maxTreeDepth` : Maximum depth when listing control trees (default:`8` )\n    - `maxControls` : Maximum number of controls returned per query (default:`80` )\n  - Context Injector\n    - `get_desktop_context` : Injects a one-line summary of open windows (up to 5 titles, then \"and N more\")\n- Tools\n- Skill Tools\n  - Tools\n    - `create_skill` : Creates a new agent skill\n    - `edit_skill` : Updates an existing agent skill (description and/or instructions; omitted fields unchanged)\n    - `edit_skill_file` : Creates or overwrites a supporting file under an existing skill (e.g. scripts, references)\n    - `remove_skill` : Deletes an agent skill\n    - `view_skill` : Loads a skill's full`SKILL.md` , absolute path to the skill folder, and relative paths for linked files (optional`relative_path` loads one relative file)\n  - Configuration Options\n    - `skillsDirectory` : Directory to scan recursively for skill folders (folders containing 'SKILL.md') (default:`skills` folder next to`SkillTools.exe` )\n    - `selfImprovement` : Enables/disables automatic skill creation/updates for non-trivial procedures (default:`1` )\n  - Context Injector\n    - `get_skills_context` : Injects the skills directory path, skill names and descriptions, and instructions to load matching skills via`view_skill` , run scripts as shell commands under the skill root, and author skills with`create_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.\n- Tools\n- Web Tools\n  - Tools\n    - `download_file` : Downloads a file using cURL\n    - `download_video` : Downloads an online video using YT-DLP and saves it to an optional`directory` (defaults to the user's desktop)\n    - `read_website` : Reads a webpage as Title/Description, body text (image alt+src kept), and a Links section with a configurable cap\n    - `run_web_search` : Searches the web using SearXNG, with Firecrawl, DDG, and Wiby as fallbacks\n  - Configuration Options\n    - `maxSearchResults` : Maximum number of search results to retrieve (default:`20` )\n    - `maxWebContentLength` : Maximum number of characters to return when reading a webpage (default:`10000` ;`0` = no limit)\n    - `maxLinks` : Maximum number of unique links to include at the end of a webpage read (default:`40` )\n    - `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)\n    - `FirecrawlApiKey` : Firecrawl API key (optional) (default: none)\n    - `SearXNGInstance` : SearXNG instance to use for running web searches (must support JSON API) (default: none)\n    - `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` )\n  - Dependencies\n    - `curl-ca-bundle.crt` : used for cURL\n    - `curl.exe` :  used to download web content\n    - `yt-dlp.exe` : used to download online videos\n- Tools\n\n**Note**: Dependencies should be placed alongside tool executables. The release builds already include these dependencies, with the exclusion of Python.\n\nThird-party tools can be installed by extracting them into the `tools` folder. For more information on developing/distributing custom tools, see [SimpleLLMChat-Tool-SDK](https://github.com/randomNinja64/SimpleLLMChat-Tool-SDK)\n\nThank you to the following for all of their contributions:\n\n- [LoRd_MuldeR](https://github.com/lordmulder/cURL-build-win32) for the cURL builds for XP\n- [myamano4](https://mininet.neocities.org) for the icon\n- [nicolaasjan](https://github.com/nicolaasjan) for the YT-DLP builds for XP", "url": "https://wpnews.pro/news/simplellmchat-an-ai-agent-chat-harness-for-windows-xp", "canonical_source": "https://github.com/randomNinja64/SimpleLLMChat", "published_at": "2026-11-25 21:18:47+00:00", "updated_at": "2026-11-25 21:42:31.976595+00:00", "lang": "en", "topics": ["ai-tools", "large-language-models", "ai-agents", "developer-tools"], "entities": ["SimpleLLMChat", "Windows XP", "OpenAI", "llama.cpp", "LM Studio", "C#", ".NET 4.0", "Visual Studio"], "also_reported_by": [], "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.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/simplellmchat-an-ai-agent-chat-harness-for-windows-xp", "markdown": "https://wpnews.pro/news/simplellmchat-an-ai-agent-chat-harness-for-windows-xp.md", "text": "https://wpnews.pro/news/simplellmchat-an-ai-agent-chat-harness-for-windows-xp.txt", "jsonld": "https://wpnews.pro/news/simplellmchat-an-ai-agent-chat-harness-for-windows-xp.jsonld"}}