AI-powered context engine that weaves developer memory and codebase history
Project description
loomgit
The AI-Powered Developer Memory & Context Engine
๐ก AI coding assistants suffer from repository amnesia. They see your code as it is right now, but they don't know why architectural decisions were made weeks ago or why a specific workaround was implemented.
loomgitautomatically captures, structures, and semantically indexes your coding decisions, bug fixes, architecture choices, and lessons learned into an AI-queryable long-term memory graph.
โจ Key Features
- โก Automatic Git Commit Hook: Intercepts
git commitevents seamlessly across CLI, VS Code, Cursor, or JetBrains IDEs. - ๐ง AI Intent & Reasoning Analysis: Uses Groq (Llama 3.3 70B) to parse per-file code diffs and extract developer intent.
- ๐ Semantic Vector Search Engine: Built with Google Gemini 768d dense embeddings and local Qdrant Vector DB.
- ๐ 1-Click MCP Integration: Connects context recall directly into Claude Code, Claude Desktop, and DeepMind Antigravity IDE via Model Context Protocol.
- ๐ Standalone Local Web Dashboard: Explore memory timelines, search past decisions, and filter by project scope (
loomgit ui). - ๐ป 100% Local & Private: Dual SQLite + local Qdrant engine keeps your code and memory zero-cloud dependent.
๐ Prerequisites
Before installing loomgit, make sure you have:
- Python 3.11+ installed
- Git installed and initialized in your project
- Groq API Key (Free at console.groq.com)
- Google Gemini API Key (Free at aistudio.google.com)
๐ Step-by-Step Getting Started Guide
Follow these sequential steps to set up loomgit, configure keys, capture memories, launch the web UI, and connect AI coding assistants.
1๏ธโฃ Installation
pip install loomgit
Or install from source for development:
git clone https://github.com/Mohamedarsath26/loomgit.git
cd loomgit
pip install -e .
2๏ธโฃ Configure API Keys
Set up your Groq (Llama 3.3 70B) and Google Gemini (Embeddings) keys:
loomgit setup
3๏ธโฃ Enable Auto-Git Capture (Git Hook)
Install the automatic post-commit hook in your repository:
# Run inside your project repository:
loomgit install-hook
How it works: Once installed,
loomgitautomatically triggers on every commit, whether made via:
- ๐ป Terminal / CLI: Manual
git commit -m "..."- ๐จ VS Code / IDE GUI: Commit button in Source Control UI, Cursor, or JetBrains IDEs
4๏ธโฃ Connect AI Coding Assistants (MCP Setup)
Connect loomgit to your AI pair programmer:
๐ Option A: Connect to Google DeepMind Antigravity IDE
loomgit setup-antigravity
๐ค Option B: Connect to Claude Code / Claude Desktop
loomgit setup-claude
5๏ธโฃ Launch Local Web Dashboard
Explore your memory timeline, search past decisions, and filter by project scope:
loomgit ui
๐ง Starting loomgit Local Web Dashboard...
โ Server running at http://127.0.0.1:8001
View Live Dashboard: Open http://127.0.0.1:8001 in your web browser.
โ๏ธ Benchmark & Feature Comparison
loomgit is designed specifically for developer memory and codebase intent tracking. Below is a side-by-side comparison against direct open-source alternatives:
| Feature / Capability | loomgit |
aicommits / OpenCommit | Supermemory / Mem0 | Timescale Memory Engine | Graphify |
|---|---|---|---|---|---|
| Primary Focus | Developer Memory & Intent | Commit message generator | Generic LLM memory | PostgreSQL agent memory | Codebase AST graph |
| Automatic Git Hook Capture | โก Yes (loomgit install-hook) |
โ ๏ธ Manual git commit run |
โ No | โ No | โ No |
| AI Intent & Reasoning Analysis | ๐ง Llama 3.3 70B | โ Short message only | โ ๏ธ Generic facts | โ ๏ธ Unstructured | โ Code structure only |
| Semantic Vector Search Engine | ๐ Gemini + Qdrant Vector DB | โ No search | โ ๏ธ Vector only | โ ๏ธ pgvector only |
โ ๏ธ Graph traversal |
| Smart Per-File Diff Budgeting | ๐ฏ Yes (800-char/file) | โ Truncate blob | โ No diff parsing | โ No diff parsing | โ No diff parsing |
| 1-Click MCP Setup (Antigravity/Claude) | ๐ Yes (setup-antigravity) |
โ No | โ ๏ธ Partial API | ๐ Yes | โ ๏ธ Partial |
| Standalone Local Web Dashboard | ๐ Yes (loomgit ui) |
โ No | โ SaaS / Cloud | โ No | โ ๏ธ Static HTML report |
| Local-First Zero External DB | ๐ป SQLite + Local Qdrant | N/A | โ Cloud / External | โ Requires Postgres | ๐ป Local AST |
๐๏ธ Architecture & How It Works: Local-First Dual-Database Semantic Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Developer Activity โ
โ (Git Commit / CLI `loomgit log`) โ
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Extraction Pipeline โ
โ โข Per-file Smart Diff Budgeter โ
โ โข Groq Llama 3.3 70B Engine โ
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโ
โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SQLite Store โ โ Qdrant Vector DB โ
โ โข Chronological Event โ โ โข Google Gemini 768d โ
โ โข Metadata & History โ โ Dense Embeddings โ
โโโโโโโโโโโโโโโฌโโโโโโโโโโโโโ โโโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ โ
โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Query & Access Interfaces โ
โ โข Local Web UI (`loomgit ui`) โ
โ โข MCP Server (Antigravity / Claude) โ
โ โข Terminal CLI (`loomgit search`) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ป CLI Command Reference
| Command | Description | Example |
|---|---|---|
loomgit log |
Log a manual memory entry | loomgit log "Switched to gRPC for speed" |
loomgit search |
Semantic + Keyword search | loomgit search "gRPC migration" |
loomgit list |
View chronological timeline | loomgit list --limit 10 |
loomgit ui |
Launch local web dashboard | loomgit ui |
loomgit install-hook |
Enable Git post-commit hook | loomgit install-hook |
loomgit setup-antigravity |
Auto-connect MCP to Antigravity IDE | loomgit setup-antigravity |
loomgit setup-claude |
Auto-connect MCP to Claude Code | loomgit setup-claude |
๐บ๏ธ Future Roadmap & Planned Features
loomgit is actively evolving! Planned upcoming capabilities include:
- ๐ค Multi-LLM Provider Engine: Support for interchangeable extraction models beyond Groq:
- OpenAI (
gpt-4o,gpt-4o-mini) - Anthropic Claude (
claude-3-5-sonnet) - DeepSeek (
deepseek-chat,deepseek-r1) - Local LLMs via Ollama / vLLM (100% offline extraction)
- OpenAI (
- ๐ Expanded Agentic CLI & MCP Integrations:
- OpenCode / Cursor / Windsurf / Aider / Roo Code MCP auto-discovery
- Automated memory recall during pull request reviews
- ๐ธ๏ธ Graph-Based Relationship Memory: Temporal knowledge graphs mapping file-to-decision dependencies over time.
๐ License
Distributed under the MIT License. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file loomgit-0.1.8.tar.gz.
File metadata
- Download URL: loomgit-0.1.8.tar.gz
- Upload date:
- Size: 927.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b25e48d1f5e7e206e03f9221572a15807b43591f870ac3e53e9438105d24dd17
|
|
| MD5 |
54ed1148f3adc30722fe500eaccc918d
|
|
| BLAKE2b-256 |
80a7ab4b9aa828a26db14204a532114799eae7b0b4f852d5ce636699f63640d7
|
Provenance
The following attestation bundles were made for loomgit-0.1.8.tar.gz:
Publisher:
publish.yml on Mohamedarsath26/loomgit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
loomgit-0.1.8.tar.gz -
Subject digest:
b25e48d1f5e7e206e03f9221572a15807b43591f870ac3e53e9438105d24dd17 - Sigstore transparency entry: 2287438531
- Sigstore integration time:
-
Permalink:
Mohamedarsath26/loomgit@a8c54cbe09cbe7d4c4ca3e0567d78612dcd8f725 -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/Mohamedarsath26
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a8c54cbe09cbe7d4c4ca3e0567d78612dcd8f725 -
Trigger Event:
push
-
Statement type:
File details
Details for the file loomgit-0.1.8-py3-none-any.whl.
File metadata
- Download URL: loomgit-0.1.8-py3-none-any.whl
- Upload date:
- Size: 926.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2802c9609c261050f26153c490b0e5039d685e114ae63c339d28eb901828de26
|
|
| MD5 |
2f3bf2595894727f25c47d01387a17a6
|
|
| BLAKE2b-256 |
669a28b2aa2baa008b0aa4419d75af3a0568c489362d5445ffb1a51af97b5a07
|
Provenance
The following attestation bundles were made for loomgit-0.1.8-py3-none-any.whl:
Publisher:
publish.yml on Mohamedarsath26/loomgit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
loomgit-0.1.8-py3-none-any.whl -
Subject digest:
2802c9609c261050f26153c490b0e5039d685e114ae63c339d28eb901828de26 - Sigstore transparency entry: 2287438565
- Sigstore integration time:
-
Permalink:
Mohamedarsath26/loomgit@a8c54cbe09cbe7d4c4ca3e0567d78612dcd8f725 -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/Mohamedarsath26
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a8c54cbe09cbe7d4c4ca3e0567d78612dcd8f725 -
Trigger Event:
push
-
Statement type: