637 points · by xyc · 2y ago · 237 comments
Excited to share a macOS app I've been working on: https://recurse.chat/ for chatting with local AI. While it's amazing that you can run AI models locally quite easily these days (through llama.cpp / llamafile / ollama / llm CLI etc.), I missed feature complete chat interfaces. Tools like LMStudio are super powerful, but there's a learning curve to it. I'd like to hit a middleground of simplicity and customizability for advanced users.
Here's what separates RecurseChat out from similar apps:
- UX designed for you to use local AI as a daily driver. Zero config setup, supports multi-modal chat, chat with multiple models in the same session, link your own gguf file.
- Import ChatGPT history. This is probably my favorite feature. Import your hundreds of messages, search them and even continuing previous chats using local AI offline.
- Full text search. Search for hundreds of messages and see results instantly.
- Private and capable of working completely offline.
Thanks to the amazing work of @ggerganov on llama.cpp which made this possible. If there is anything that you wish to exist in an ideal local AI app, I'd love to hear about it.
The app looks great! Likewise, if you have any requests or ideas for improving llama.cpp, please don't hesitate to open an issue / discussion in the repo
Поздрави!
Natural language processing has come full circle and just reinvented Ctrl+F.
I had to double check that a regular '90s search function was actually the thing being advertised here, and sure enough, there is a gif demonstrating exactly that.
Just the other day, I was able to find a song by typing the phonetic pronunciation (well, as best I could) into ChatGPT, and it knew which song I was talking about right away. No way a regular search engine would've helped me there.
It's useless locally.
I often find myself opening the app on my phone if I want to find a previous conversation, even if I'm at my desk.
Danswer
https://github.com/danswer-ai/danswer
Khoj
This is Gabe, the founder of Zenfetch. Thanks for sharing. We're putting together an export option where you can download all your saved data as a CSV and should get that out by end of week.
I want the ability to search all my downloaded files and organize them based on context within. Have it create a category table, and allow me to "put all pics of my cat in this folder, and upload them to a gallery on imgur."
I manage both gmail and protonmail via thunderbird - where I have better search and sort using IMAP.
nice.
Please take this in a nice way: I can't see why I would use this over ChatbotUI+Ollama https://github.com/mckaywrigley/chatbot-ui
Seem the only advantage is having it as MacOS native app and only real distinction is maybe fast import and search - I've yet to try that though.
ChatbotUI (and other similar stuff) are cross-platform, customizable, private, debuggable. I'm easily able to see what it's trying to do.
A few things:
* The main thing that makes ChatGPTs ui useful to me is the ability to change any of my prompts in the conversation & it will then go back to that part of the converation and regenerate, while removing the rest of the conversation after that point.
Such a chat ui is not usable for me without this feature.
* The feedback button does nothing for me, just changes focus to chrome.
* The LLaVA model tells me that it can not generate images since it is a text based AI model. My prompts were "Generate an image of ..."
Agreed, but what I would also really like (from this and ChatGPT) would be branching: take a conversation in two different ways from some point and retain the seperate and shared history.
I'm not sure what the UI should be. Threads? (like mail or Usenet)
If I were OpenAI, I would 95% of resources on ChatGPT5, and 5% into UX.
Once the dust settles, if humanity still exists, and human customers are still economically relevant, AI companies will shift more resources to UX.
* For changing prompt in the middle - I'll take a crack at it this week. It's on top of my post launch list.
* Feedback button: Thanks for reporting this. The button was supposed to open default email client to email feedback@recurse.chat
* LLaVA model: I'll add more documentation. You are right Llava could not generate images. It can only describe images (similar to GPT-4v). For image generation, it's not supported in the app. While I don't have immediate plans for image generation, check out these projects for local image generation.
Because it can't generate images, it can only describe images provided by the user.
* What are you using for image generation? Is that local as well (stable diffusion?) Does it have integrated prompt generation?
* You mention the ability to import ChatGPT history, are you able to import other documents?
* How many "agent" style capacities does it have? Can it search the web? use other APIs? Prompt itself?
* Does it have a plugin framework? you mention that it is "customizable" but that can mean almost anything.
* What is the license? what assurances do users have that their usage is private? I mean, we all know how many "local" apps exfiltrate a ton of data.It doesn't look like it supports image generation unfortunately. If it did then I would definitely adopt this as my daily driver.
- Make the system font (San Francisco) an option for the UI. Maybe even SF Mono as an option as well?
- A little more help about which model to use for beginners would be nice. Maybe just an intro screen telling you how to get going.
- Would be great if Command-comma opened settings, like most Mac apps.
- Would be great if clicking web links opened Safari (or my preferred browser), rather than a small window that loads nothing!
- Make the system font (San Francisco) an option for the UI. Maybe even SF Mono as an option as well?
Reasonable request! Won't be too hard to add
- A little more help about which model to use for beginners would be nice. Maybe just an intro screen telling you how to get going.
Yes better onboarding wizard would definitely make this easier for beginners. Don't have much capacity right now, but I'll keep this in mind.
- Would be great if Command-comma opened settings, like most Mac apps.
Nice suggestion. Will probably get to this when I add some keyboard shortcuts like new chat / search etc.
- Would be great if clicking web links opened Safari (or my preferred browser), rather than a small window that loads nothing!
Ah that's odd, it's supposed to open the link. which link do you have if you don't mind sharing? (feel free to email support@recurse.chat)
It also allows you to interact with LLMs via multiple different interfaces: Chat UI, a context-aware called AI Command and an Inline mode.
[0]: https://boltai.com
Pretty cool. Doesn't work on Firefox.
It's clean, easy to use, and works really well! Easy local server hosting was cool, too. I've used the other LLM apps, and this feels like those, but simplified. It just feels good to use. I like it a lot!
I'm gonna test drive it for a while, and if I keep using it regularly, I'll definitely be sending in some feedback. Other users have made a lot of really great recommendations already, I'm excited to see how this evolves!
Feel free to send feedback, issues, feature suggestion as you use it more, I'm all ears. My twitter DM is also open: https://x.com/chxy.
[1] https://msty.app
* For apps like this, using live regions to speak updates may be helpful. either that or change the buttons, like from "download local AI" to "configuring." Maybe a live region would be best for that one since sighted people would probably be looking near the bottom for the status bar, but anyway... * Using live regions for chats is pretty important, because otherwise we don't know when a message is ready to read, and it makes reading those messages much simpler. The user types the message, presses Enter, and the screen reader reads the message to them. So, making a live region, and then sending the finished message, or a finished part of a message, to that live region would be really helpful. * Now on to the UI. At the top, we have "index /text-chat-sessions". I guess that should just say "chats"? Below that, we have a list, with a button saying the same thing. After that list with one item, is a button that says "index /local-ai". That should probably just be "local AI". Afterwards, there is "index /settings", which should just be "settings." Then, there is an unlabeled button. I'm guessing this is styled to look like a menu bar, across the top of the window, so it'd be the item on the right side. Now, there's a button below that that says "New Chat^N". I, being a technical user, am pretty sure the "^N" means "Control + N", but almost no one else knows that. So, maybe change that text label. Between that and the Recent Chats menu button are two unlabeled buttons. I'm not sure why a region landmark was used for the recent chats list, but after the chat name "hello" in this case, where I can rename the chat, there is an unlabeled button. The button after the model chooser is unlabeled as well. After the user input in the conversation, there are three unlabeled buttons. After the response, there is a menu button with (oh, that's cool) items to transform the response into bullets, a table, ETC. but that menu button was unlabeled so I had to open it to see what's inside. After that, all other buttons, like for adding instructions to refine this message, are also unlabeled.
So, live regions for speaking chat messages and state changes like "loading" or "ready" or whatever (keep them short), and label controls, and you should be good to go.
Live regions: https://developer.mozilla.org/en-US/docs/Web/Accessibility/A...
If you have Android:
https://blindandroidusers.com/
I believe Hadley is still a good resource: https://hadleyhelps.org/welcome-hadley
I hope this helps get you started.
Another tip, I try out a new chat interface to LLMs almost every week and they're free to use initially. There isn't a compelling reason for me to spend $10 from the get to for a use case that I'm not sure about yet.
Decentralized AI will eventually become p2p and swarmed and then the true power of agents and collaboration will soar via AI.
Anyway, excuse the soap box, but there are zero valid reasons for supporting and paying centralized keepers of AI that rarely share, collaborate or give back to the community that made what they have possible.
Is this true? I've tried llama last year and it was not very helpful. GPT4 is already full of problems and I have to keep circumventing them, so using something less capable doesn't get me too excited.
https://github.com/mckaywrigley/chatbot-ui
https://github.com/oobabooga/text-generation-webui
https://github.com/mudler/LocalAI
And then connecting them to off-line models servers:
- Ollama
- llama.cpp
And you should avoid closed source frontends:
- Recurse
- LM Studio
And closed source models
- ChatGPT
- Gemini
I'm assuming I cannot block internet access to the app because it needs to verify App Store entitlement.
Are you on Twitter, Threads, Farcast? Would like to tag you when I add you to my decentralized AI threads.
- Ability to use local and OpenAI models (ideally it has defaults for common local models)
- Chat UX
- Where I can point it to my JS/TS codebase
- It indexes the whole thing including dependencies for RAG. Ideally indexing has some form of awareness of model context length.
- I can use it for codegen / debugging.
The closest I have found has been aider, but it's python and I get into general python hell every time I try and run it.
Would appreciate a suggestion.
It would be nice to be able to buy the app directly from you, instead of putting a surveillance company in the loop. I don’t use an Apple ID on a macintosh.
(I would like to avoid using one on an iPhone/iPad/Vision Pro/AppleTV, but it is impossible to install apps on those without one. Please do not bring this terrible circumstance to be the default on macs, too.)
I think it gives you 4, 7, and 9 syllables in the lines.
I bet you can coax it to give you a better example, if you tinker a bit.
What does this have that is better than https://github.com/open-webui/open-webui ?
There is a demo clip with a vertical scroll bar which does not fade out as it would do in a native mac app:)
Anyway the UI looks not mac native. I’m interested what it is:-)
(Can't try MacOS Apps)
Was testing apps like this if anyone is interested:
Best / Easy to use:
More complex / Unpolished UI:
- https://www.nvidia.com/en-us/ai-on-rtx/chat-with-rtx-generat...
- https://github.com/LostRuins/koboldcpp
Misc:
- https://faraday.dev (AI Characters):
No UI / Command line (not for me):
- https://github.com/Mozilla-Ocho/llamafile
Pending to check:
Feel free to recommend more!
Incidentally, it currently runs Mixtral 8x7B Instruct[2] and Mistral[3] models faster than any other macOS app. The comparison videos are with Ollama, but it generalizes well to almost every other macOS app that I've seen uses llama.cpp for inference. :)
nb: Mixtral 8x7B Instruct requires an Apple Silicon Mac with at least 32GB of RAM.
2) If you're privacy first, many would feel a lot more comfortable if this was released as an app in the app store so it will be sandboxed. This is important because it's not open source so we have no idea what is happening in the background. Alternatively open source it, which many here have requested.
- https://github.com/nomic-ai/gpt4all
- https://github.com/imartinez/privateGPT
- https://github.com/oobabooga/text-generation-webui
- https://github.com/FlowiseAI/Flowise
- https://github.com/lobehub/lobe-chat
- https://github.com/PromtEngineer/localGPT
- https://github.com/h2oai/h2ogpt
- https://github.com/huggingface/chat-ui
- https://github.com/SillyTavern/SillyTavern
- https://github.com/ollama-webui/ollama-webui
- https://github.com/Chainlit/chainlit
https://github.com/open-webui/open-webui
a well featured UI with very active team
It loads the LLM in the browser, using webgpu, so it works offline after the first load, it's also PWA you can install. It should work on chrome > 113 on desktop and chrome > 121 on mobile.
Offline isn’t important for me, only that $20 is a lot of money, when I’d wager most months my usage is a lot less. However, I’d still want access to completion, DALL-E, etc.
Would Msty be a good option for me?
Seems to have more features than all of them