claude-engram logo
claude-engram
★ 16
vs
codesearch logo
codesearch
★ 93

claude-engram vs codesearch

claude-engram: Claude Engram provides persistent memory and self-awareness for Claude Code, automatically tracking mistakes, decisions, and context across sessions via hooks. It includes loop detection, scope guards, tiered memory with archiving, semantic intent scoring, and optional local LLM for code analysis.; codesearch: codesearch is a token-efficient MCP server for AI agents that enables local semantic code search. It integrates with OpenCode, Claude Code and other AI assistants to perform intelligent code searches with minimal token usage, all running locally with no external API calls.

01

TL;DR

claude-engram logo
claude-engramRAG / Knowledge Base · ★ 16

Automatically remembering past mistakes and decisions across Claude Code sessions

codesearch logo
codesearchRAG / Knowledge Base · ★ 93

AI-assisted code understanding through natural language queries

02

Side-by-Side Comparison

Field
claude-engram logoclaude-engram
codesearch logocodesearch
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 16
★ 93
License
MIT
Apache-2.0
Install Command
git clone https://github.com/20alexl/claude-engram.git && cd claude-engram && python -m venv venv && source venv/bin/activate && pip install -e . && python install.py
git clone https://github.com/flupkede/codesearch.git && cd codesearch && cargo build --release && sudo cp target/release/codesearch /usr/local/bin/
Updated
3w ago
1d ago
Open Source
Yes
Yes
Tags
ai-memory-system, claude, claude-code
claude-code, code-search, embeddings
03

Features

claude-engram logoclaude-engram
01Auto-tracks mistakes
02Auto-captures decisions
03Detects edit loops
04Survives compaction
05Saves session handoffs
codesearch logocodesearch
01Token-efficient AI integration with compact responses
02Semantic, hybrid, and neural reranking search modes
03Incremental indexing with three-layer embedding cache
04Git-aware automatic index placement and branch detection
05Privacy-first local processing with no external calls
04

Use Cases

claude-engram logoclaude-engram
↳Automatically remembering past mistakes and decisions across Claude Code sessions
↳Context-aware code editing with relevant memory injection
↳Multi-project memory scoping and workspace-level conventions
codesearch logocodesearch
↳AI-assisted code understanding through natural language queries
↳Codebase navigation and reference discovery
↳Integration with AI coding assistants like OpenCode and Claude Code
FAQ

FAQ

What is the difference between claude-engram and codesearch?
Both claude-engram and codesearch are in the RAG / Knowledge Base category. claude-engram has 16 stars, while codesearch has 93 stars.
Which is better, claude-engram or codesearch?
The best choice depends on your use case. Choose claude-engram if Automatically remembering past mistakes and decisions across Claude Code sessions, and codesearch if AI-assisted code understanding through natural language queries.
Is claude-engram free or open source?
Yes, claude-engram is open source on GitHub (MIT).
Is codesearch free or open source?
Yes, codesearch is open source on GitHub (Apache-2.0).
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