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…
Codebased, an AI Search Engine for Code launched on September 17, 2024 with 17 votes, #840 of 5,281 launches that month and more than 75% of that year's launches.
In plain words
Codebased is an AI search engine for code that uses Tree Sitter for structural code awareness, SQLite for full-text search, and OpenAI embeddings with FAISS for semantic search. Designed for developers searching large codebases, it can find functions, data structures, and constants rather than just matching text. The tool runs searches against the Linux kernel in approximately one second, and upcoming features include an agent for interpreting results and executing shell commands.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
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…
Does a similar job
all alternatives →
I built an AI that turns GitHub codebases into easy tutorials2025 · github.com · ▲923https://the-pocket.github.io/Tutorial-Codebase-Knowledge/
Semble – Code search for agents that uses 98% fewer tokens than grepMay 2026 · github.com · ▲445Hey HN! We (Stephan and Thomas) recently open-sourced Semble. We kept running into the same problem while using Claude Code on large codebases: when the agent can't find something directly, it falls back to grep, reading full files or launching subagents. This uses a lot of tokens, and often still misses the relevant code. There are existing tools for this, but they were either too slow to index on demand, needed API keys, or had poor retrieval quality. Semble is our solution for this. It combines static Model2Vec embeddings (using our latest static model: potion-code-16M) with BM25, fused…
Archivist: AI Search for Code2024 · marketplace.visualstudio.com · ▲119Blazingly fast semantic search for your codebase

Sourcebot – Self-hosted Perplexity for your codebase2025 · github.com · ▲103Hi HN, We’re Brendan and Michael, the creators of Sourcebot (https://www.sourcebot.dev/), a self-hosted code understanding tool for large codebases. We originally launched on HN 9 months ago with code search (https://news.ycombinator.com/item?id=41711032), and we’re excited to share our newest feature: Ask Sourcebot. Ask Sourcebot is an agentic search tool that lets you ask complex questions about your entire codebase in natural language, and returns a structured response with inline citations back to your code. Some types of questions you might ask: - “How does…
Codesearch.ai – Semantic Code Search2022 · codesearch.ai · ▲15codesearch.ai - Fuels code search engines and repository exploration ai.. codesearch.ai is a premium .ai domain available for immediate purchase. Buy...
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 20d ago · stillwet.art
PixVerse R2▲381A real-time world model you can explore and change
AI · 29d ago · world.pixverse.video

Source: Show HN post ↗ · launch text quoted in part
Launched alongside, September 2024
the whole month →

BeforeSunset AI 2.0▲1,267Personalized AI daily planning that suits your life
AI · 2024 · beforesunset.ai


