Co

Codebased, an AI Search Engine for Code

Hacker News

Codebased, an AI Search Engine for Code

Codebased combines Tree Sitter for code awareness (find functions, data structures, constants, etc. not just lines of code), full-text search using SQLite, and semantic search using OpenAI embeddings + FAISS. Despite being implemented in Python, supporting semantic search, making multiple API calls for embedding and re-ranking, it is faster than ripgrep for runng searches against the Linux kernel (takes ~1 second vs. ~2 seconds, obviously depends on system, temperature, time of day, tidal forces, etc.) Up next: - A Perplexity-like agent for interpreting results, making multiple follow-up searches, etc. - Custom embedding and re-ranking stack - Agent for running shell commands, editing code, etc. similar to SWe-Agent: https://arxiv.org/pdf/2405.15793 .

Share card

Actual performance

17points
8comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: agent, perplexity, openai · Missing: mac, agents, macos
83%83% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
73%73% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
62%62% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
42%42% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: calls · Missing: plus, platform, intuitive
36%36% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
21%21% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
4%4% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

STREEKX
STREEKX45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ai Search Engine

Product Hunt+1
De
Deepfind – A Privacy-First AI Search Engine49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Deepfind – A Privacy-First AI Search Engine

Hacker News7
PubMed.ai
PubMed.ai41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Biomedical AI Search Engine, PubMed, Science

Indie Hackers1ai
La
Launching an AI search engine for Czechia43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Launching an AI search engine for Czechia

Hacker News2
Hi
Hika – A AI search engine that explores knowledge from multiple angles53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hika – A AI search engine that explores knowledge from multiple angles

Hacker News4
AI
AI Search Engine for Academic Research51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI Search Engine for Academic Research

Hacker News4
DAAAM
DAAAM52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A local AI search engine for all your content

Product Hunt+4
Ir
Iris.ai – Search Engine for Email, Better Than Gmail63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Iris.ai – Search Engine for Email, Better Than Gmail

Hacker News4
Basira Search
Basira Search49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Arabic-first AI Search Engine for E-commerce

Indie Hackers1ai
Me
MemFree – Open-Source Hybrid AI Search Engine76%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MemFree – Open-Source Hybrid AI Search Engine

Hacker News2