coco-search logo
coco-search
★ 37
vs
subcog logo
subcog
★ 29

coco-search vs subcog

coco-search: CocoSearch is a local-first hybrid semantic code search tool that combines vector similarity and keyword matching via RRF fusion. It uses CocoIndex for indexing, Tree-sitter for syntax-aware chunking, and PostgreSQL with pgvector for storage. It supports 32 languages, 9 grammars, dependency graphs, cross-repo search, and multiple interfaces.; subcog: Subcog is a persistent memory system for AI coding assistants that captures decisions, learnings, and context from coding sessions. It features a single-binary distribution, three-layer storage architecture (SQLite, FTS5, usearch HNSW), MCP server integration, and Claude Code hooks. It achieves high accuracy on factual recall benchmarks.

01

TL;DR

coco-search logo
coco-searchRAG / Knowledge Base · ★ 37

Exploratory/semantic queries about code functionality

subcog logo
subcogRAG / Knowledge Base · ★ 29

Capturing and recalling technical decisions during development

02

Side-by-Side Comparison

Field
coco-search logococo-search
subcog logosubcog
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 37
★ 29
License
MIT
MIT
Install Command
pip install cocosearch
cargo install subcog
Updated
1d ago
2mo ago
Open Source
Yes
Yes
Tags
cli, cocoindex, code-explorer
ai, ai-assistant, claude
03

Features

coco-search logococo-search
01Hybrid search with RRF fusion
02Symbol filtering by type and name
03Syntax-aware context expansion to function/class boundaries
04Dependency graph extraction and impact analysis
05Cross-index search across multiple codebases
subcog logosubcog
01Memory capture with automatic embedding generation (384-dimensional vectors)
02Hybrid search combining BM25 text search and vector similarity (RRF fusion)
03SQLite persistence as single source of truth (ACID-compliant)
04MCP server integration for AI agent interoperability
05Claude Code hooks for seamless IDE integration
04

Use Cases

coco-search logococo-search
↳Exploratory/semantic queries about code functionality
↳Finding code by meaning rather than exact text
↳AI assistant integration for context-aware code retrieval
subcog logosubcog
↳Capturing and recalling technical decisions during development
↳Surfacing relevant past context when working on similar tasks
↳Maintaining persistent memory across coding sessions for AI assistants
FAQ

FAQ

What is the difference between coco-search and subcog?
Both coco-search and subcog are in the RAG / Knowledge Base category. coco-search has 37 stars, while subcog has 29 stars.
Which is better, coco-search or subcog?
The best choice depends on your use case. Choose coco-search if Exploratory/semantic queries about code functionality, and subcog if Capturing and recalling technical decisions during development.
Is coco-search free or open source?
Yes, coco-search is open source on GitHub (MIT).
Is subcog free or open source?
Yes, subcog is open source on GitHub (MIT).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related