LMChat
LMChat is a chat program for AmigaOS 3.2 that talks to AI language models running in LM Studio on another computer of your network. The model does its work on that PC or Mac; the Amiga sends your message and shows the answer while it is being written, word by word.
comm/tcp/LMChat.lha
What is it?
LM Studio is a free program for Windows, macOS and Linux that runs
language models locally, without a cloud service and without an account. It has a server that speaks the
OpenAI chat protocol. LMChat is a client for that server, written for the Amiga: a ReAction program on the
Workbench screen, with several chats that are kept on disk, and with a text engine that shows the answers
as formatted Markdown, as on GitHub. That engine is the same one markdown.datatype
uses for .md files in MultiView.
This is version 0.1, the first public release: expect rough edges.
- Version
- 0.1, 14 November 2026 (on Aminet since 15 November 2026)
- System
- AmigaOS 3.2 or newer with ReAction, 68020 or better
- Network
- TCP/IP stack with
bsdsocket.library4; plain HTTP to LM Studio (port 1234) - Text
- UTF-8 with colour emoji through
utf8rastport.library(FreeType) - Tested on
- AmigaOS 3.2.3 in WinUAE (68060, UAEGFX) and an A1200 with PiStorm/Emu68 (RTG 1920×1080, lwIP), with LM Studio on Windows
- Languages
- English and Turkish
- License
- Freeware, closed source
Highlights
- Answers appear while the model writes them (streaming); Stop ends one
- Several chats, like in LM Studio: a list at the left, New chat, saved to disk and there again at the next start
- Markdown in answers: headings, lists, task lists, tables, quotes and alerts, links you can click, code in a box with syntax colours and a Copy button
- Full UTF-8 text with colour emoji through
utf8rastport.library(TrueType, FreeType); without it the text is converted to Latin-1 or Latin-5 and drawn with the system fonts - The model's thinking part (
<think>orreasoning_content) is hidden or shown as you like - Settings window: server address and port, model (the list comes from the server), system prompt, temperature, token limit, fonts and size, character set, language
- Cut, copy and paste in the input field (Right Amiga X/C/V), mouse wheel, export of a chat as a Markdown file
- English and Turkish user interface; the language can be chosen in the settings
- Gives up with a message when the server is silent for too long (
TIMEOUTsetting, 300 seconds by default) - Installer script in English and Turkish that installs and removes
Screenshots
utf8rastport.library and the DejaVu
and Noto Color Emoji fonts.
How it works
- LM Studio runs on a PC or Mac in the same network, with its local server started and “Serve on Local Network” switched on.
- LMChat connects to it over TCP/IP (plain HTTP, port 1234 by default), reads the list of models and sends the chat with every message.
- The answer comes back as a stream; LMChat lays it out as Markdown while it arrives and draws it with TrueType fonts and colour emoji.
Amiga (LMChat) ──── HTTP, port 1234 ────► PC or Mac (LM Studio server)
▲ │
└──────── answer streamed back as it is written ┘
Requirements
Needed
- AmigaOS 3.2 or newer with its ReAction classes (developed and tested on 3.2.3; not tested on 3.5 and 3.9; it does not run on 3.1 without ReAction)
- 68020 or better (it is 68020 code and crashes on a 68000/68010)
- A running TCP/IP stack with
bsdsocket.library4 (Roadshow, AmiTCP, Miami, lwIP; the bsdsocket emulation of WinUAE works too) and a network connection to the computer that runs LM Studio - LM Studio on a computer in your network, with its local server started (Developer tab), “Serve on Local Network” switched on, a model downloaded and loaded, and its firewall letting the port through (1234 by default)
- LMChat speaks plain HTTP only: servers that need HTTPS or an API key (the cloud services) cannot be used
Needed for the full display
utf8rastport.library(tested with 5.1 and 6.1), part of EmojiGear by krabobmkd (source). Without it: system fonts, no larger headings, no emoji, and “?” for characters outside the 8-bit character set. Models like to use emoji and many languages, so it is strongly recommended.- TrueType fonts. Looked for by default:
FONTS:_ttf/DejaVuSans.ttf(text),FONTS:_ttf/DejaVuSansMono.ttf(code),FONTS:_ttf/NotoColorEmoji32.ttf(emoji); others can be chosen in the settings. No fonts are in the package; the DejaVu fonts are free. - A graphics card (RTG) screen in 15 bit or more is recommended; LMChat has not been tested on AGA/ECS screens
Optional
openurl.library: a click on a link in an answer opens the browser (without it the address is copied to the clipboard)
Setting up LM Studio
- Install LM Studio on the PC or Mac and download a model. How fast the answers come depends on that computer, not on the Amiga.
- Open the “Developer” tab and start the server; the port is 1234.
- Switch on “Serve on Local Network” in the server settings. Without it the server only answers on the PC itself.
- Load a model, and allow LM Studio through the PC's firewall.
- Note the PC's IP address in your network: LMChat needs it as “Address”.
Installation
Download LMChat.lha from Aminet, unpack it and
double-click Install-LMChat. It asks for a drawer, creates “LMChat” in it and copies the
program, its icon, the Turkish catalog and the documents. On a first installation it asks for the address
and port of the LM Studio computer and writes them to ENVARC:LMChat.prefs; nothing else is
written outside the LMChat drawer. The same script removes LMChat again. Details and the manual way are in
ReadMe.txt (English) and BeniOku.txt (Turkish).
Related
markdown.datatype: the same Markdown engine as a datatype, for
.md files in MultiView.
License and contact
Freeware, closed source. Copyright © 2026 Serkan Dursun. The complete, unchanged package may be copied freely; it must not be sold; no warranty. What a language model writes can be wrong; check it before relying on it.
LMChat is an independent program and not a product of, or endorsed by, the makers of LM Studio.
utf8rastport.library and EmojiGear are by krabobmkd and are not part of the package.
Bug reports: blasterreal@gmail.com
History
- 0.1 (14.11.2026): first public release.