Skip to content

snow-ghost/mem-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mem-agent — LLM-Powered Memory Companion for AI Coding Agents

mem-agent captures significant events from your coding sessions, extracts principles, builds skill recipes, and injects context — all powered by an LLM backend.

Works with Claude Code, OpenCode, and Codex out of the box.

Note: This is the LLM-dependent version. For standalone memory management without LLM dependency, see mem.

Install

go install github.com/snow-ghost/mem-agent/cmd/mem@latest

Or download from Releases.

Quick Start

cd your-project
mem status          # auto-initializes .memory/
mem extract         # capture events (requires LLM backend)
mem consolidate     # synthesize principles
mem inject          # output context for next session

Backends

Auto-detects: claude > opencode > codex. Or set explicitly:

export MEM_BACKEND=opencode

See full docs in the codebase.

License

MIT

About

LLM-powered memory companion for AI coding agents (Claude Code, OpenCode, Codex)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors