SeaGOAT
A local code search engine that combines semantic and regex queries, works offline, and offers optional LLM-assisted search through Ollama.

SeaGOAT helps developers find code by describing what it does, even when they don't know the exact function name or keyword. It searches repositories from the terminal using meaning alongside text matches.
- Semantic and regex search: Find code with natural-language queries, keywords or regular expressions, including queries that combine a description with a naming pattern.
- Optional LLM assistance: Enhance search results with a local Ollama model, or opt into OpenAI or MiniMax, which send code snippets to those external providers.
- Search during indexing: Query a repository while SeaGOAT processes it; text matches are available immediately, and it warns when incomplete indexing affects semantic results.
- Code and text coverage: Search Python, JavaScript, TypeScript, C, C++, Go, Java, PHP and Ruby files, plus HTML, Markdown and plain text; SeaGOAT respects .gitignore and supports additional exclusions.
SeaGOAT is open source under the MIT license. Its core search runs offline on your machine with local embeddings and ChromaDB, with telemetry disabled by default. It's intended for ordinary laptops. Linux is tested, macOS is partly tested, and Windows support remains unverified.
You can also self-host its server on another computer. The server has no built-in access security, so remote access to private repositories needs protection outside SeaGOAT.