v0.1.0 · Go CLI · AI Powered

DevMem

developers memory

Auto codebase documentation. Change capture on every commit.
Changelog management tied to git. Because your memory has limits - DevMem doesn't.

Developers have a context window too.
And it's getting smaller.

Modern software grows fast. AI-assisted development grows faster. Every pull request, every AI-generated function, every refactor adds layers that no single engineer can hold in their head. The codebase your team wrote six months ago is already a foreign country.

The rise of AI coding tools makes this worse, not better. AI slop - code generated quickly, merged faster, understood by no one - accumulates silently. Without a system that captures what changed, why it changed, and how it fits into the whole, your codebase becomes archaeology.

Documentation written once is documentation that lies. The only documentation that stays true is documentation written at the moment of every change - automatically, tied to the commit that caused it.

One command. Living documentation.
Version-controlled, always accurate.

"It's like version controlling your documentation throughout your code - one arrow, two solutions."

DevMem watches your git commits and automatically updates your architectural documentation, your module docs, and your changelog - every time. It uses AI to understand what changed and why, then writes it down so your future self (and your team) actually has a chance.

Three commands. Complete memory.

01

devmem init

Crawl & Document

DevMem crawls your entire codebase, detects module boundaries, and generates architectural documentation for every module in parallel - using AI to understand structure, not just list files.

02

devmem capture

Capture Every Change

On every git commit, DevMem reads the diff, identifies which modules changed, and surgically updates their documentation. A changelog entry is written with the commit hash as its ID - permanently linking code history to documentation history.

03

devmem query "..."

Ask Your Codebase

Ask natural language questions grounded in your living documentation. Which modules depend on the database? How does authentication work? What changed in the last sprint? DevMem answers from context, not hallucination.

From init to query, captured in your repo.

DevMem Root Directory Snapshot

After running init and capture, documentation artifacts live under .devmem with modules, changelog, state, config, and architecture files.

DevMem root directory showing .devmem docs, modules, changelog, state, and config files

Query Mode Example

Query responses are grounded in live module docs and architecture context, so answers stay aligned with your current codebase.

Built for how developers actually work.

Language agnostic

Works on any codebase - Go, TypeScript, Python, Rust, Ruby. DevMem reads structure and git history, not syntax trees.

Parallel analysis

Module documentation is generated concurrently. A 20-module codebase takes the same time as a 3-module one.

Git-native changelog

Every changelog entry ID is a commit hash. Documentation history and code history are permanently linked - no drift, no orphans.

Surgical updates

On capture, only the sections that changed are rewritten. Unchanged documentation is never touched - no noise, no false diffs.

Offline first

Your documentation lives in .devmem/ inside your repo. It is git-tracked, diffable, and readable without any external service.

Ask your codebase

The query command gives every developer on your team an AI answer grounded in real, current documentation - not hallucinated from training data.

Start in 30 seconds.

Step 1
go install github.com/Surya-sourav/devmem@latest
Step 2
devmem help
Step 3
cd your-project && devmem init

Requires Go 1.21+ · macOS, Linux, Windows · Anthropic API key