Lurker News
Hi Hackers,

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.

Comments (237) 49 threads

Show all comments

Showing thread 3 of 49

girishso8 replies#
I will totally pay for something like this if it answers from my local documents, bookmarks, browser history etc.
xyc4 replies#
Yes it would be the next big focus on this. Personal data connectivity is what I see where local AI would excel - despite model power differences.
chaostheory#
Yeah, we’re getting closer to “Her”
_boffin_#
Good to know there's a market for that. Currently building out something. Integrating from numerous sources, processing and then utilizing those.

nice.

ssnri1 reply#
I would even let it have longer processing times for queries to apply against each document in my system, allow it to specialize/train itself on a daily basis…

Use all the resources you want if you save me brainpower

xyc2 replies#
Agree, there's a non real-time angle to this.

Continue this thread — 2 replies

Satam4 replies#
I have doubts about that. Most personal data actually lives in the cloud these days. If you need your Gmail emails, you'll need to use their API which is guarded behind $50k certification fee or so. I think there is a simpler version for personal use, but you still need to get the API key. Who's going to teach their mom about API keys? So I think for a lot of these data sources you'll end up with enterprise AIs integrating them first for a seamless experience.
xyc1 reply#
I think this is a good take. While there's big enough niche for personal data locally, I'd love if there's a way to solve for email/cloud data requiring API keys.

Continue this thread — 1 reply

coev#
Why wouldn't you be able to use IMAP over the gmail api? IMAP returns the text and headers of all your emails, which is what you'd want the LLM to ingest anyway.
noduerme4 replies#
Seconding a sibling question: What $50k API fee? To access your gmail? I've been using gmail since 2008 or so without ever touching their web/app interface or getting an API key. You just use it as an IMAP server.

Continue this thread — 4 replies

samstave#
What?

I manage both gmail and protonmail via thunderbird - where I have better search and sort using IMAP.

chb1 reply#
This. There was a post in HN last week, iirc, referring to just such a solution called ZenFetch (?). I would have adopted it in a heartbeat but they don’t currently have a means of exporting the source data you feed to it (should you elect it as your sole means of bookmarking, etc)
gabev1 reply#
Hey there,

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.

samstave3 replies#
Seems like this would be a good tool to build lessons on - if you could share a "class" and export a link for others to then copy the class, and expand on the lesson/class/topic into their own AI. but as a separate "class" and not fully integrated to my regular history blob?

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."

Continue this thread — 3 replies

scottrblock1 reply#
plus one, I would love to configure a folder of markdown/txt(+ eventually images and pdfs) files that this can have access to. Ideally it could RAG over them in a sensible way. Would love to help support this!
xyc#
Thank you! I'd love to learn more about your use cases. Would you mind sending an email to feedback@recurse.chat or DM me on https://x.com/chxy to get the conversation started?
wkat42421 reply#
Stupid question but what does RAG stand for?
onehp2 replies#
Retrieval augmented generation. In short you use an LLM to classify your documents (or chunks from them) up front. Then when you want to ask the LLM a question you pull the most relevant ones back to feed it as additional context.
danielovichdk3 replies#
I dont get it. To my understanding it takes huge amounts of data to build any any form of RAG. Simply because it enlarges the statistical model you later prompt. If the model is not big enough how would you expect it to answer you in a non qualifying matter ? It simply can't.

So I don't really buy it and I have yet to see it work better than any rdbms search index.
Tell me I am wrong, I would like to see a local model based on my own docs being able to answer me quality answers based on quality prompts.

tveita3 replies#
RAG doesn't require much data or involve any training, it is a fancy name for "automatically paste some relevant context into the prompt"

Basically if you have a database of three emails and ask when Biff wanted to meet for lunch, a RAG system would select the most relevant email based on any kind of search - embeddings are most fashionable, and create a prompt like
"""Given this document: , answer the question "When does Biff want to meet for lunch?"""

Continue this thread — 3 replies

discordance3 replies#
RAG:

1. First you create embeddings from your documents
2. Store that in a vector db
3. Ask what the user wants and do a search in the vector db (cosine similarity etc)
4. Feed the relevant search results to your LLM and do the usual LLM stuff with the returned embeddings and chunks of the documents

Continue this thread — 3 replies

Grimblewald#
You're misunderstanding. Imagine your query is matched against chunks of text from the database, where the relevance of information is evaluated for the window each time it slides. Then collecting the n most relevant chunks, these are included in the prompt so then the llm can provide answers from source documents verbatim. This is useful for cases where precise and exact answers are needed. For example, searching the docs for some package for the right api to call. You don't mant a name that's close to right it has to be correct to the character.
wkat42421 reply#
Ahh ok I see. It's basically what MS CoPilot 365 does too, with its "Grounding" step.

Continue this thread — 1 reply

spiderfarmer1 reply#
Next version of MacOS will probably have that.
tethys#
As long as you use Safari for browsing, Notes for note taking, iCloud for mail …
Fnoord#
I use paperless-ngx for that.