whatisgithub

What is braincell?

kt2saint-sec/braincell — explained in plain English

Analysis updated 2026-07-26

2PythonAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A local memory tool for AI coding assistants that stores notes and documents for each project in a private SQLite database, searchable by keyword and meaning.

Mindmap

mindmap
  root((repo))
    What it does
      Stores project memories locally
      Searchable by keyword and meaning
      Four core verbs remember recall forget
    How you use it
      Command line tool
      Memory Map desktop app
      Works with Claude Code and VS Code
    Tech stack
      Python and SQLite
      Qt for desktop app
      Ollama for local AI model
      NumPy for vector search
    Key concepts
      Each project gets its own brain
      Private data stays on your machine
      Old notes fade but are not deleted
    Audience
      Coders using AI assistants
      Privacy-focused developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Save and search project notes so your AI assistant remembers context across sessions.

USE CASE 2

Replace outdated notes with new ones while keeping old wording available for matching.

USE CASE 3

Browse and manage project memories visually using the Memory Map desktop app.

USE CASE 4

Let Claude Code or VS Code consult your project brain for better coding suggestions.

What is it built with?

PythonSQLiteQtOllamaNumPy

How does it compare?

kt2saint-sec/braincell0-bingwu-0/live-interpreter010zx00x1/faresnipe
Stars222
LanguagePythonPythonPython
Setup difficultymoderatemoderateeasy
Complexity3/52/52/5
Audiencedevelopergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires installing Ollama to run a local AI model for semantic search, plus Python dependencies.

So what is it?

Braincell is a memory tool for AI coding assistants. It runs entirely on your own machine and stores everything in a local SQLite database file, so no data leaves your computer. The idea is to give each project its own "brain": a searchable store of documents, conversation transcripts, and notes that an AI assistant can consult when working on your code. You interact with it through a command line tool, a desktop application called the Memory Map, or directly through compatible AI clients like Claude Code or VS Code. The core operations are simple verbs: remember, recall, supersede, and forget. You can save a note to a project's brain, search for relevant notes later, replace an outdated note with a new one, or remove a note entirely. Search combines two methods: keyword matching (finding literal words) and vector similarity (finding conceptually related content, powered by a local model called Ollama). The system blends both approaches so results match both exact terms and broader meaning. Curated notes also factor in confidence and recency, so older notes gradually carry less weight but are never deleted on their own. Version 0.3.0 upgrades the Memory Map into a native desktop application built with Qt. A single command launches it, and closing the window cleanly shuts everything down. The update also fixes several stability issues: switching the underlying embedding model no longer leaves the database in a broken state, and sparse new projects can return useful results by pulling ranked excerpts from transcripts until enough curated notes exist. Under the hood, each project brain is one SQLite file containing document chunks, memory notes, a graph of links between related notes, and guard tables for schema versioning. Vector search is deliberately simple: it compares all stored vectors directly using NumPy, which is fast enough for the scale of data a single project produces. The project authors chose this approach over a more complex indexed search, and they include monitoring so you can see if your project ever grows large enough to need a faster method. Notes that have been replaced are never returned as current answers, but they still participate in matching because older wording often aligns with how someone might phrase a query. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Install Braincell and use it to save project notes that my AI coding assistant can recall later. Show me the remember and recall commands.
Prompt 2
Set up Braincell with Ollama so I can search my project memories by meaning, not just keywords. Walk me through configuring the local model.
Prompt 3
Build a workflow where I supersede old notes in Braincell and my AI assistant automatically uses the updated context when I ask coding questions.
Prompt 4
Launch the Braincell Memory Map desktop app and show me how to visually browse, curate, and forget notes for my current project.

Frequently asked questions

What is braincell?

A local memory tool for AI coding assistants that stores notes and documents for each project in a private SQLite database, searchable by keyword and meaning.

What language is braincell written in?

Mainly Python. The stack also includes Python, SQLite, Qt.

How hard is braincell to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is braincell for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.