explaingit

shivji2138/devmentor-ai

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 2/5LicenseSetup · easy

TLDR

DevMentor AI is a terminal pair-programmer that remembers your project's stack, bugs, and quirks over time using local memory and fast Groq-powered replies.

Mindmap

mindmap
  root((DevMentor AI))
    What it does
      Remembers project context
      Chats from terminal
      Manual remember command
    Tech stack
      Python
      Groq
      Typer
      Rich
    Use cases
      Terminal Q and A
      Context recall
      Local memory storage
    Audience
      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

Ask a coding question from the terminal and get an answer informed by your project's remembered context.

USE CASE 2

Manually teach the assistant specific facts about your stack or setup for it to recall later.

USE CASE 3

Get fast AI responses for quick terminal-based troubleshooting using Groq's low-latency inference.

USE CASE 4

Keep all project memory stored locally in SQLite instead of a cloud account.

What is it built with?

PythonGroqTyperRichSQLite

How does it compare?

shivji2138/devmentor-ai0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultyeasymoderatemoderate
Complexity2/52/54/5
Audiencedevelopergeneraldeveloper

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

How do you get it running?

Difficulty · easy Time to first run · 30min

Requires your own Groq API key placed in a local .env file.

MIT: use, copy, modify, and distribute freely, including commercially, as long as you keep the copyright notice.

In plain English

DevMentor AI is a command line tool that acts like a pair programmer you can talk to directly from your terminal, with one key difference from a typical AI chat assistant: it remembers things about your project over time. Instead of explaining your stack, your bugs, or your project quirks over again in every session, you can teach it once and have it recall that context in later conversations. This long term memory is built using an approach the author calls Hindsight inspired memory, stored locally in a SQLite database on your own machine, so nothing about your projects needs to leave your computer beyond the actual questions you send to the AI model. For generating answers quickly, DevMentor connects to Groq, a service known for very fast AI response times, so replies come back with low latency compared to some other providers. The command line interface itself is built with two Python libraries, Typer for structuring commands and Rich for colorful, readable terminal output. Getting started involves cloning the repository, optionally setting up a Python virtual environment, installing the listed dependencies, and creating a small configuration file that holds your own Groq API key, which you will need to obtain separately since DevMentor does not provide one for you. Once configured, you interact with it through two main commands: one to chat and ask a question, where it automatically pulls in whatever relevant memory it has stored, and another to manually tell it something specific you want it to remember for future sessions. Under the hood, the project is organized into a handful of small, focused files: an entry point that sets everything up, a file defining the actual chat and remember commands, a file that talks to the Groq API, a file that manages how memories are stored and retrieved, and a file that sets up the local database the first time you run it. The project is open source under the MIT license and welcomes outside contributions through pull requests or issues.

Copy-paste prompts

Prompt 1
Help me clone devmentor-ai and set up my Groq API key in the .env file.
Prompt 2
Explain how DevMentor's Hindsight-inspired memory stores and recalls context.
Prompt 3
Walk me through using the chat and remember commands together.
Prompt 4
Show me what each file in the devmentor package is responsible for.

Frequently asked questions

What is devmentor-ai?

DevMentor AI is a terminal pair-programmer that remembers your project's stack, bugs, and quirks over time using local memory and fast Groq-powered replies.

What language is devmentor-ai written in?

Mainly Python. The stack also includes Python, Groq, Typer.

What license does devmentor-ai use?

MIT: use, copy, modify, and distribute freely, including commercially, as long as you keep the copyright notice.

How hard is devmentor-ai to set up?

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

Who is devmentor-ai for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.