Open-source Perplexity clone one file back end, streaming answers
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I built an open-source research agent. You ask a question, it searches the web via Tavily, synthesizes an answer with an LLM, and shows the sources it used. Answers stream in real-time.The interesting part is the backend. It's a single JS file (~100 lines) that handles web search, LLM streaming, and per-user conversation history. No vector database, no Redis, no separate storage service.It runs inside a cell — an isolated environment with a built-in database, search index, and filesystem. The cell handles persistence and streaming natively, so the agent code only has to deal with the actual logic.Tech: Next.js frontend, Tavily for search, OpenRouter for LLM (Gemini 2.5 Flash default).Demo: https://youtu.be/jvTVA7J925Y
HN · launched Apr 16, 2026 · 6 upvotes (top 72%) · 0 views
Niche: ai research assistants · 81 launches, 6 in the last 7 days ▼ -14% · Explore this niche →
Category and tags
- Horizontal
- Search & retrieval
- Developer
- AI-native
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 81 launches in ai research assistants →
Could you build this?
Yes The author literally states it is a ~100-line single JavaScript file chaining Tavily search results into an LLM streaming response.
Discussion
2 comments analyzed.
Concerns raised: Conversation history persistence at scale when cells restart, In-memory storage scalability for large conversation histories
Feature requests: Clarify cross-restart conversation history preservation mechanism
Competitors
Other products that read as similar to this one : 130 launches clear the similarity bar, closest 8 shown.
Attention rank: #107 of 131 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 166 days after the earliest competitor.
- Mole · hn · 2026-08-14 · 100 upvotes · similarity 0.40
- Oodle.ai · hn · 2026-07-14 · 31 upvotes · similarity 0.40
- llmaker · ph · 2026-09-10 · 3 upvotes · similarity 0.39
- Open-Source NotebookLM Alternative · hn · 2025-11-13 · 6 upvotes · similarity 0.38
- Running AI agents across environments needs a proper solution · hn · 2026-03-24 · 8 upvotes · similarity 0.38
- 20+ Claude Code agents coordinating on real work (open source) · hn · 2026-02-12 · 53 upvotes · similarity 0.38
- Tabstack Web Research · ph · 2026-06-01 · 168 upvotes · similarity 0.38
- Stream live open data in two commands · hn · 2026-10-13 · 15 upvotes · similarity 0.37
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.