AIM, short for AI Instant Messenger, is a chat interface built by Matt Rickard that runs a large language model entirely inside the browser. It presents the conversation as an instant-messenger-style window, with a default chatbot persona named SmartestChild that replies in lowercase with frequent emojis and 2000s internet abbreviations. It is aimed at anyone who wants to try a local, in-browser chatbot without a server-based account.
The model downloads once and is cached by the browser, a first run that can take a few minutes. After that, the model runs locally using WebGPU, so no conversation data is sent to a server; conversations themselves are cached in local storage on the user's own machine. A system prompt sets the chatbot's persona and style before a conversation starts.
AIM runs on the Vicuna-13B model, trained by LMSys, using the Apache TVM compiler stack and the MLC Relax Runtime to execute inference in the browser. The underlying WebGPU support needed to run the model is limited to desktop Google Chrome 113, so other browsers and mobile devices are not supported. The project links to its source code on GitHub and its author's Twitter account, and is released under the MIT license.